From 7ff5060e115b0bb200febc4a3676122322509daf Mon Sep 17 00:00:00 2001 From: Alex Moraru Date: Wed, 28 Jan 2026 12:23:19 +0000 Subject: [PATCH 1/3] Records new tests for exists --- .../test_exists/class_setup.yaml | 114 ++- ...ts_item_doesnt_exist_success[CopyJob].yaml | 510 +++++++++++ ...em_doesnt_exist_success[DataPipeline].yaml | 506 +++++++++++ ...s_item_doesnt_exist_success[Dataflow].yaml | 514 +++++++++++ ...tem_doesnt_exist_success[Environment].yaml | 506 +++++++++++ ...item_doesnt_exist_success[Eventhouse].yaml | 512 +++++++++++ ...tem_doesnt_exist_success[Eventstream].yaml | 606 +++++++++++++ ...item_doesnt_exist_success[GraphQLApi].yaml | 511 +++++++++++ ...em_doesnt_exist_success[KQLDashboard].yaml | 506 +++++++++++ ...tem_doesnt_exist_success[KQLQueryset].yaml | 506 +++++++++++ ..._item_doesnt_exist_success[Lakehouse].yaml | 506 +++++++++++ ...em_doesnt_exist_success[MLExperiment].yaml | 606 +++++++++++++ ...ts_item_doesnt_exist_success[MLModel].yaml | 605 +++++++++++++ ...oesnt_exist_success[MirroredDatabase].yaml | 508 +++++++++++ ...s_item_doesnt_exist_success[Notebook].yaml | 608 +++++++++++++ ...sts_item_doesnt_exist_success[Reflex].yaml | 505 +++++++++++ ...sts_item_doesnt_exist_success[Report].yaml | 782 +++++++++++++++++ ...tem_doesnt_exist_success[SQLDatabase].yaml | 617 +++++++++++++ ...m_doesnt_exist_success[SemanticModel].yaml | 616 +++++++++++++ ...snt_exist_success[SparkJobDefinition].yaml | 546 ++++++++++++ ..._item_doesnt_exist_success[Warehouse].yaml | 611 +++++++++++++ ...t_exists_item_exists_success[CopyJob].yaml | 499 +++++++++++ ...sts_item_exists_success[DataPipeline].yaml | 472 ++++++++++ ..._exists_item_exists_success[Dataflow].yaml | 500 +++++++++++ ...ists_item_exists_success[Environment].yaml | 480 ++++++++++ ...xists_item_exists_success[Eventhouse].yaml | 487 +++++++++++ ...ists_item_exists_success[Eventstream].yaml | 592 +++++++++++++ ...xists_item_exists_success[GraphQLApi].yaml | 500 +++++++++++ ...sts_item_exists_success[KQLDashboard].yaml | 492 +++++++++++ ...ists_item_exists_success[KQLQueryset].yaml | 492 +++++++++++ ...exists_item_exists_success[Lakehouse].yaml | 492 +++++++++++ ...sts_item_exists_success[MLExperiment].yaml | 592 +++++++++++++ ...t_exists_item_exists_success[MLModel].yaml | 591 +++++++++++++ ...item_exists_success[MirroredDatabase].yaml | 494 +++++++++++ ..._exists_item_exists_success[Notebook].yaml | 594 +++++++++++++ ...st_exists_item_exists_success[Reflex].yaml | 491 +++++++++++ ...st_exists_item_exists_success[Report].yaml | 766 ++++++++++++++++ ...ists_item_exists_success[SQLDatabase].yaml | 604 +++++++++++++ ...ts_item_exists_success[SemanticModel].yaml | 605 +++++++++++++ ...em_exists_success[SparkJobDefinition].yaml | 500 +++++++++++ ...exists_item_exists_success[Warehouse].yaml | 600 +++++++++++++ ...snt_exist_success[KQLDatabase-Tables].yaml | 821 ++++++++++++++++++ ...doesnt_exist_success[Lakehouse-Files].yaml | 645 ++++++++++++++ ...oesnt_exist_success[Lakehouse-Tables].yaml | 659 ++++++++++++++ ...exist_success[MirroredDatabase-Files].yaml | 679 +++++++++++++++ ...xist_success[MirroredDatabase-Tables].yaml | 679 +++++++++++++++ ...esnt_exist_success[SQLDatabase-Files].yaml | 777 +++++++++++++++++ ...snt_exist_success[SQLDatabase-Tables].yaml | 777 +++++++++++++++++ ...t_exist_success[SemanticModel-Tables].yaml | 762 ++++++++++++++++ ...xist_success[SparkJobDefinition-Libs].yaml | 659 ++++++++++++++ ...xist_success[SparkJobDefinition-Main].yaml | 659 ++++++++++++++ ...doesnt_exist_success[Warehouse-Files].yaml | 757 ++++++++++++++++ ...oesnt_exist_success[Warehouse-Tables].yaml | 757 ++++++++++++++++ ...ke_exists_success[KQLDatabase-Tables].yaml | 750 ++++++++++++++++ ...elake_exists_success[Lakehouse-Files].yaml | 588 +++++++++++++ ...lake_exists_success[Lakehouse-Tables].yaml | 586 +++++++++++++ ...xists_success[MirroredDatabase-Files].yaml | 606 +++++++++++++ ...ists_success[MirroredDatabase-Tables].yaml | 606 +++++++++++++ ...ake_exists_success[SQLDatabase-Files].yaml | 714 +++++++++++++++ ...ke_exists_success[SQLDatabase-Tables].yaml | 706 +++++++++++++++ ...ists_success[SparkJobDefinition-Libs].yaml | 588 +++++++++++++ ...ists_success[SparkJobDefinition-Main].yaml | 588 +++++++++++++ ...lake_exists_success[Warehouse-Tables].yaml | 686 +++++++++++++++ 63 files changed, 37149 insertions(+), 44 deletions(-) create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[CopyJob].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[DataPipeline].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Dataflow].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Environment].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Eventhouse].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Eventstream].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[GraphQLApi].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[KQLDashboard].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[KQLQueryset].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Lakehouse].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[MLExperiment].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[MLModel].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[MirroredDatabase].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Notebook].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Reflex].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Report].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[SQLDatabase].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[SemanticModel].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[SparkJobDefinition].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Warehouse].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[CopyJob].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[DataPipeline].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Dataflow].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Environment].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Eventhouse].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Eventstream].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[GraphQLApi].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[KQLDashboard].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[KQLQueryset].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Lakehouse].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[MLExperiment].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[MLModel].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[MirroredDatabase].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Notebook].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Reflex].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Report].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[SQLDatabase].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[SemanticModel].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[SparkJobDefinition].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Warehouse].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[KQLDatabase-Tables].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[Lakehouse-Files].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[Lakehouse-Tables].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[MirroredDatabase-Files].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[MirroredDatabase-Tables].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[SQLDatabase-Files].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[SQLDatabase-Tables].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[SemanticModel-Tables].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[SparkJobDefinition-Libs].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[SparkJobDefinition-Main].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[Warehouse-Files].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[Warehouse-Tables].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_exists_success[KQLDatabase-Tables].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_exists_success[Lakehouse-Files].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_exists_success[Lakehouse-Tables].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_exists_success[MirroredDatabase-Files].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_exists_success[MirroredDatabase-Tables].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_exists_success[SQLDatabase-Files].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_exists_success[SQLDatabase-Tables].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_exists_success[SparkJobDefinition-Libs].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_exists_success[SparkJobDefinition-Main].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_exists_success[Warehouse-Tables].yaml diff --git a/tests/test_commands/recordings/test_commands/test_exists/class_setup.yaml b/tests/test_commands/recordings/test_commands/test_exists/class_setup.yaml index 0f4b6692..eadc185a 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/class_setup.yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/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' + - '2271' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 02 Sep 2025 19:29:50 GMT + - Wed, 28 Jan 2026 11:59:36 GMT Pragma: - no-cache RequestId: - - 22cecd0a-38d0-4219-906b-90698f26a3e4 + - b608045a-b4c5-4895-9306-a85caffca683 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' + - '2271' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 02 Sep 2025 19:29:50 GMT + - Wed, 28 Jan 2026 11:59:37 GMT Pragma: - no-cache RequestId: - - 842a3c53-1b0a-4ee2-bb50-d1e46106975a + - f3af7c61-3cc1-40cc-aa32-5b65539743c7 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": "F32", "region": "Central US", "state": "Active"}]}' headers: Access-Control-Expose-Headers: @@ -125,15 +125,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '456' + - '426' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 02 Sep 2025 19:29:54 GMT + - Wed, 28 Jan 2026 11:59:42 GMT Pragma: - no-cache RequestId: - - 8d406935-6752-4d68-a951-5d68a964d873 + - ff602aec-7361-4e63-a409-47b084e7ee86 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": "bd75f405-5a3e-4bd1-9a29-debc398aac7b", "displayName": "fabriccli_WorkspacePerTestclass_000001", + string: '{"id": "b285198e-e555-4618-9fb9-949cabcaafd4", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}' headers: Access-Control-Expose-Headers: @@ -177,17 +177,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '186' + - '189' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 02 Sep 2025 19:30:03 GMT + - Wed, 28 Jan 2026 11:59:51 GMT Location: - - https://api.fabric.microsoft.com/v1/workspaces/bd75f405-5a3e-4bd1-9a29-debc398aac7b + - https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4 Pragma: - no-cache RequestId: - - d0d878fb-5da7-4f20-8a4a-dfb7cac99eae + - 8f15e78e-9263-4ede-a654-4238aac9a336 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 (exists; Linux; x86_64; 5.15.167.4-microsoft-standard-WSL2) + - ms-fabric-cli/1.3.1 (exists; 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": "bd75f405-5a3e-4bd1-9a29-debc398aac7b", + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", "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: - - '359' + - '2304' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 02 Sep 2025 19:31:31 GMT + - Wed, 28 Jan 2026 12:21:43 GMT Pragma: - no-cache RequestId: - - 9cf53ad3-b47c-44bc-a335-b5c8762f00c1 + - c3cedd48-af74-49e4-a4c9-c09dfa0d99d1 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,12 +264,38 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli/1.0.0 (exists; Linux; x86_64; 5.15.167.4-microsoft-standard-WSL2) + - ms-fabric-cli/1.3.1 (exists; Linux; x86_64; 6.6.87.2-microsoft-standard-WSL2) method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/bd75f405-5a3e-4bd1-9a29-debc398aac7b/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items response: body: - string: '{"value": []}' + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "ae0903bd-0cfc-4050-970c-2b7500d28260", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "74fa88e3-5d5f-4ea1-a350-14223948a706", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -278,15 +304,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '32' + - '617' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 02 Sep 2025 19:31:31 GMT + - Wed, 28 Jan 2026 12:21:44 GMT Pragma: - no-cache RequestId: - - c8f0fed1-89b4-4017-9f6f-b7fc0c5df959 + - 51d2dc4e-48e5-40e0-8553-6b25aebe24b0 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -294,7 +320,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: @@ -314,9 +340,9 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli/1.0.0 (exists; Linux; x86_64; 5.15.167.4-microsoft-standard-WSL2) + - ms-fabric-cli/1.3.1 (exists; Linux; x86_64; 6.6.87.2-microsoft-standard-WSL2) method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/bd75f405-5a3e-4bd1-9a29-debc398aac7b + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4 response: body: string: '' @@ -332,11 +358,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Tue, 02 Sep 2025 19:31:32 GMT + - Wed, 28 Jan 2026 12:21:44 GMT Pragma: - no-cache RequestId: - - dc6b91db-9143-43a1-b3c5-e9a390ecea5e + - e2c4e004-6e58-483e-b357-ecbeab6eef14 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -344,7 +370,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_exists/test_exists_item_doesnt_exist_success[CopyJob].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[CopyJob].yaml new file mode 100644 index 00000000..1420ea3f --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[CopyJob].yaml @@ -0,0 +1,510 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:11 GMT + Pragma: + - no-cache + RequestId: + - ff57d917-61f5-4948-bda7-277c5c4c9e42 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '176' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:13 GMT + Pragma: + - no-cache + RequestId: + - 9eef5f71-9a71-4f2a-afe5-1ce34e96b1c0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '176' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:13 GMT + Pragma: + - no-cache + RequestId: + - 02c8c70f-2228-461b-8ca0-2995b0fec957 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/copyJobs + response: + body: + string: '{"id": "0f84c1bd-432c-4681-90ec-7c72e522dcdd", "type": "CopyJob", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:06:19 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - ec34ad5a-bc6a-47d6-b033-e53c86d7b8b0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:20 GMT + Pragma: + - no-cache + RequestId: + - 64cebd7b-5ff9-412b-b125-c229bf77d3f1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "0f84c1bd-432c-4681-90ec-7c72e522dcdd", "type": "CopyJob", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '242' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:19 GMT + Pragma: + - no-cache + RequestId: + - cb8095c5-ce4f-426d-abcd-50f0757494d5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "0f84c1bd-432c-4681-90ec-7c72e522dcdd", "type": "CopyJob", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '242' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:21 GMT + Pragma: + - no-cache + RequestId: + - 5bc4cb35-f4dd-4f3d-a55b-88ac9f1e7cd1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:21 GMT + Pragma: + - no-cache + RequestId: + - 01ca9c57-6fa2-44b9-968d-2c112561b9ae + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "0f84c1bd-432c-4681-90ec-7c72e522dcdd", "type": "CopyJob", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '242' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:22 GMT + Pragma: + - no-cache + RequestId: + - ab154723-bced-4a3f-8913-b62f69aa016b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/0f84c1bd-432c-4681-90ec-7c72e522dcdd + 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: + - Wed, 28 Jan 2026 12:06:22 GMT + Pragma: + - no-cache + RequestId: + - eb9c3bec-c5be-42a1-aa4a-f6cfbffceb3f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_doesnt_exist_success[DataPipeline].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[DataPipeline].yaml new file mode 100644 index 00000000..32137b15 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[DataPipeline].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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 11:59:52 GMT + Pragma: + - no-cache + RequestId: + - 5acc1f67-8f90-42b3-94c2-be17e24c528f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 11:59:53 GMT + Pragma: + - no-cache + RequestId: + - d247a11e-94fc-4439-935a-e8d881c90578 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 11:59:54 GMT + Pragma: + - no-cache + RequestId: + - 14fe459e-3dfb-4891-8515-8f5da1aa79bc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/dataPipelines + response: + body: + string: '{"id": "7daf7bef-9dea-4db3-8ffd-d459782695a5", "type": "DataPipeline", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 11:59:59 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - bc11fd82-5b3d-4f41-83f4-0c8bc617bc4d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:00:01 GMT + Pragma: + - no-cache + RequestId: + - baf29644-e1b3-49f4-bf63-ecefaf6fa6c5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "7daf7bef-9dea-4db3-8ffd-d459782695a5", "type": "DataPipeline", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:00:02 GMT + Pragma: + - no-cache + RequestId: + - 6a3cda28-3818-4a50-aeca-51b4ac2dfdcb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "7daf7bef-9dea-4db3-8ffd-d459782695a5", "type": "DataPipeline", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:00:03 GMT + Pragma: + - no-cache + RequestId: + - 3e5c2eec-60f0-41db-8269-50d0fe565105 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:00:04 GMT + Pragma: + - no-cache + RequestId: + - 159bb17d-f384-42b5-ad32-6e8a91abadb5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "7daf7bef-9dea-4db3-8ffd-d459782695a5", "type": "DataPipeline", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:00:04 GMT + Pragma: + - no-cache + RequestId: + - 793d766d-47d8-4549-af70-fa07993804dd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/7daf7bef-9dea-4db3-8ffd-d459782695a5 + 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: + - Wed, 28 Jan 2026 12:00:05 GMT + Pragma: + - no-cache + RequestId: + - 24a9b39d-0310-4f07-9ce2-2e656e609488 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_doesnt_exist_success[Dataflow].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Dataflow].yaml new file mode 100644 index 00000000..27bf6547 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Dataflow].yaml @@ -0,0 +1,514 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:32 GMT + Pragma: + - no-cache + RequestId: + - eebd4db5-f95f-4bab-bda4-585e223a839c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '176' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:33 GMT + Pragma: + - no-cache + RequestId: + - 8f1f41ce-cdb1-4a7b-892d-38ad6649ba81 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '176' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:34 GMT + Pragma: + - no-cache + RequestId: + - ed0415e6-f336-4cb0-9dcf-dc7a5ea553b7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/dataflows + response: + body: + string: '{"id": "14027f66-9ee6-4ebd-94b9-4f78b7ba168a", "type": "Dataflow", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:06:36 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - afde5ece-032d-485c-baab-be6855d37722 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:38 GMT + Pragma: + - no-cache + RequestId: + - 5a0105fb-65b7-4b32-877c-478b5f5cc323 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "14027f66-9ee6-4ebd-94b9-4f78b7ba168a", "type": "Dataflow", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:06:39 GMT + Pragma: + - no-cache + RequestId: + - f1251e42-610f-4d66-850c-0a7f88290dc4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "14027f66-9ee6-4ebd-94b9-4f78b7ba168a", "type": "Dataflow", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:06:40 GMT + Pragma: + - no-cache + RequestId: + - ad8e529f-d35e-4d45-9241-c9fb35ddafdb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:40 GMT + Pragma: + - no-cache + RequestId: + - 83bcc5be-4dd1-47dd-a536-164ba314fb90 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "14027f66-9ee6-4ebd-94b9-4f78b7ba168a", "type": "Dataflow", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:41 GMT + Pragma: + - no-cache + RequestId: + - af3d078c-a501-4e8c-85c2-3e1bd6d63d21 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/14027f66-9ee6-4ebd-94b9-4f78b7ba168a + 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: + - Wed, 28 Jan 2026 12:06:42 GMT + Pragma: + - no-cache + RequestId: + - 54f1ba2d-7ceb-4ee6-849f-cbbf65e7c377 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_doesnt_exist_success[Environment].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Environment].yaml new file mode 100644 index 00000000..18f0a5da --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Environment].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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:00:06 GMT + Pragma: + - no-cache + RequestId: + - b208c71a-487b-4b89-9f9e-64f0c9fc51f6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:00:07 GMT + Pragma: + - no-cache + RequestId: + - 5580b631-5587-4b98-b820-c1d9e34a73ce + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:00:08 GMT + Pragma: + - no-cache + RequestId: + - 52bc817a-6914-46dd-88ae-917677182d1e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/environments + response: + body: + string: '{"id": "3e50b7c9-e288-46f7-a057-4316460a9585", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:00:09 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 8b9b2bd4-825c-49b4-a0e6-18485d2a883b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:00:10 GMT + Pragma: + - no-cache + RequestId: + - ee934c15-e853-4727-8df6-67677d24181c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "3e50b7c9-e288-46f7-a057-4316460a9585", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:00:11 GMT + Pragma: + - no-cache + RequestId: + - 872f595b-8336-4d02-8efd-ea61db5214d0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "3e50b7c9-e288-46f7-a057-4316460a9585", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:00:12 GMT + Pragma: + - no-cache + RequestId: + - 24b850a5-98b7-4b51-94f8-3ee557de9497 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:00:13 GMT + Pragma: + - no-cache + RequestId: + - 8679cd78-2987-4676-ad88-4f88840f870b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "3e50b7c9-e288-46f7-a057-4316460a9585", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:00:14 GMT + Pragma: + - no-cache + RequestId: + - eddad55a-130c-4d70-8f53-f443458e824c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/3e50b7c9-e288-46f7-a057-4316460a9585 + 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: + - Wed, 28 Jan 2026 12:00:14 GMT + Pragma: + - no-cache + RequestId: + - b251b757-5ced-4d8f-870b-0204f4d67a2e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_doesnt_exist_success[Eventhouse].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Eventhouse].yaml new file mode 100644 index 00000000..be533bee --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Eventhouse].yaml @@ -0,0 +1,512 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:00:14 GMT + Pragma: + - no-cache + RequestId: + - d56494c5-edec-4576-aabc-3c97aa49cc66 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:00:14 GMT + Pragma: + - no-cache + RequestId: + - dfe1792a-0dc4-4c5f-b4be-d2d6d92c8b9a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:00:15 GMT + Pragma: + - no-cache + RequestId: + - aed9983a-fe6f-4c48-b2df-6be5d11b9790 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/eventhouses + response: + body: + string: '{"id": "dbd0ac8c-44b7-4fa4-88e5-27ff944df802", "type": "Eventhouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:00:18 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - c837c852-a82b-4ac9-8f1f-183ac02515b8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:00:19 GMT + Pragma: + - no-cache + RequestId: + - ea5feaaa-d67a-4716-94b9-5e1d7f5b65b4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "dbd0ac8c-44b7-4fa4-88e5-27ff944df802", "type": "Eventhouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "88dfa619-e1f2-422d-8074-f4a58de546e8", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '228' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:00:20 GMT + Pragma: + - no-cache + RequestId: + - 898dd577-3515-4189-84d4-3e8e45e1d423 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "dbd0ac8c-44b7-4fa4-88e5-27ff944df802", "type": "Eventhouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "88dfa619-e1f2-422d-8074-f4a58de546e8", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '228' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:00:21 GMT + Pragma: + - no-cache + RequestId: + - 12b63711-6ba2-4905-8cd7-3c0d602e4a0c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:00:22 GMT + Pragma: + - no-cache + RequestId: + - 7665d16c-201e-46f2-aa1d-1ca7ca6cdc19 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "dbd0ac8c-44b7-4fa4-88e5-27ff944df802", "type": "Eventhouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "88dfa619-e1f2-422d-8074-f4a58de546e8", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '228' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:00:23 GMT + Pragma: + - no-cache + RequestId: + - dcd31e5d-30d5-4363-bca4-a17be12f0cea + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/dbd0ac8c-44b7-4fa4-88e5-27ff944df802 + 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: + - Wed, 28 Jan 2026 12:00:23 GMT + Pragma: + - no-cache + RequestId: + - e7e319ba-fdca-458e-bae1-b6a801ccd6da + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_doesnt_exist_success[Eventstream].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Eventstream].yaml new file mode 100644 index 00000000..ffbcb00e --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Eventstream].yaml @@ -0,0 +1,606 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:00:25 GMT + Pragma: + - no-cache + RequestId: + - 30fb732a-8293-48cd-847f-c284d4e72b86 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:00:25 GMT + Pragma: + - no-cache + RequestId: + - 1a569c0a-1672-4d33-b17f-6d4f72b53335 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:00:26 GMT + Pragma: + - no-cache + RequestId: + - b09b9215-d872-4383-b317-c36b0bb1bd9c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:00:27 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/dfd78787-d5e0-4274-ab4e-a4429dfda988 + Pragma: + - no-cache + RequestId: + - c4ae7b40-cbec-42d5-b02c-c52d67daadb5 + 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: + - dfd78787-d5e0-4274-ab4e-a4429dfda988 + 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/dfd78787-d5e0-4274-ab4e-a4429dfda988 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:00:27.8093846", + "lastUpdatedTimeUtc": "2026-01-28T12:00:31.935481", "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: + - Wed, 28 Jan 2026 12:00:49 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/dfd78787-d5e0-4274-ab4e-a4429dfda988/result + Pragma: + - no-cache + RequestId: + - 72bde2d3-fad0-4f0b-83dc-71df983bdb82 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - dfd78787-d5e0-4274-ab4e-a4429dfda988 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/dfd78787-d5e0-4274-ab4e-a4429dfda988/result + response: + body: + string: '{"id": "6f441a7f-3f79-44f4-a061-4127c67b9749", "type": "Eventstream", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:00:50 GMT + Pragma: + - no-cache + RequestId: + - be08d268-6237-4f5a-b7ab-f1d571c5522e + 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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:00:50 GMT + Pragma: + - no-cache + RequestId: + - 066638ed-f67a-4ac9-ac10-5ff031f9c813 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "6f441a7f-3f79-44f4-a061-4127c67b9749", "type": "Eventstream", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:00:52 GMT + Pragma: + - no-cache + RequestId: + - 9641f22b-8ffa-4b4d-af25-289cc6a6116e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "6f441a7f-3f79-44f4-a061-4127c67b9749", "type": "Eventstream", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:00:51 GMT + Pragma: + - no-cache + RequestId: + - b6d8fa0e-5aa9-45bc-9da6-811719d54b99 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:00:52 GMT + Pragma: + - no-cache + RequestId: + - 1d2210d4-812b-476a-8c9b-c855b044a385 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "6f441a7f-3f79-44f4-a061-4127c67b9749", "type": "Eventstream", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:00:53 GMT + Pragma: + - no-cache + RequestId: + - e9e07b30-bd47-4993-a551-2aea02252b11 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/6f441a7f-3f79-44f4-a061-4127c67b9749 + 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: + - Wed, 28 Jan 2026 12:00:54 GMT + Pragma: + - no-cache + RequestId: + - 3e9d49b0-ec63-4ed9-b220-4294bc742852 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_doesnt_exist_success[GraphQLApi].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[GraphQLApi].yaml new file mode 100644 index 00000000..1376b4ad --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[GraphQLApi].yaml @@ -0,0 +1,511 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:23 GMT + Pragma: + - no-cache + RequestId: + - 997d8173-158b-4adc-b8b9-eb7a466e3e22 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '176' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:24 GMT + Pragma: + - no-cache + RequestId: + - c992a6bc-38b6-4ea3-bc9a-130eccdd82e0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '176' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:24 GMT + Pragma: + - no-cache + RequestId: + - 22c008b5-bed6-46b6-8130-6d4016a767db + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/graphqlapis + response: + body: + string: '{"id": "39db2a63-1c0a-4874-a5b9-9ff1828d2ee5", "type": "GraphQLApi", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:06:27 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 7cbf4a5b-3a6d-462d-a078-cb5bbe65b809 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:28 GMT + Pragma: + - no-cache + RequestId: + - bb12a092-c953-4cb4-b424-b204ecb1555d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "39db2a63-1c0a-4874-a5b9-9ff1828d2ee5", "type": "GraphQLApi", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:06:28 GMT + Pragma: + - no-cache + RequestId: + - 9325a1fe-f7fa-4d0c-a7a2-7390f588e551 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "39db2a63-1c0a-4874-a5b9-9ff1828d2ee5", "type": "GraphQLApi", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:06:30 GMT + Pragma: + - no-cache + RequestId: + - dc52feed-f1dd-4b0d-83d4-17c73082eb1a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:30 GMT + Pragma: + - no-cache + RequestId: + - 21b8d08f-fe3b-43cc-8524-908056e05b6d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "39db2a63-1c0a-4874-a5b9-9ff1828d2ee5", "type": "GraphQLApi", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:06:30 GMT + Pragma: + - no-cache + RequestId: + - 751e535d-7495-4acd-83db-1c244eb980e8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/39db2a63-1c0a-4874-a5b9-9ff1828d2ee5 + 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: + - Wed, 28 Jan 2026 12:06:32 GMT + Pragma: + - no-cache + RequestId: + - 6b385dc8-1e3d-4bdf-bfaa-fd2630784f23 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_doesnt_exist_success[KQLDashboard].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[KQLDashboard].yaml new file mode 100644 index 00000000..42ad8c34 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[KQLDashboard].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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:00:54 GMT + Pragma: + - no-cache + RequestId: + - 19762ebb-62a3-4e40-b767-8f5b9d51ff24 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:00:54 GMT + Pragma: + - no-cache + RequestId: + - d20a1a92-3b44-44c2-9387-e19c353ad2b4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:00:55 GMT + Pragma: + - no-cache + RequestId: + - c99c5e58-8c45-45cd-ba1e-10350621108d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/kqlDashboards + response: + body: + string: '{"id": "071e30ce-4870-4880-af8b-e9d658689cb0", "type": "KQLDashboard", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:00:58 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 010667cd-90c5-4108-a24c-97982b213855 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:00:58 GMT + Pragma: + - no-cache + RequestId: + - 88058a32-55e4-498c-9f02-4f8b1a854193 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "071e30ce-4870-4880-af8b-e9d658689cb0", "type": "KQLDashboard", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:00:59 GMT + Pragma: + - no-cache + RequestId: + - b509be6d-0f50-43bb-a175-0ca21957a64d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "071e30ce-4870-4880-af8b-e9d658689cb0", "type": "KQLDashboard", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:01:00 GMT + Pragma: + - no-cache + RequestId: + - 803cdd09-2d91-4bc1-bf55-d41aec91dd40 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:01:01 GMT + Pragma: + - no-cache + RequestId: + - 8ac8cb39-c347-4434-8032-0999d6f1cf27 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "071e30ce-4870-4880-af8b-e9d658689cb0", "type": "KQLDashboard", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:01:01 GMT + Pragma: + - no-cache + RequestId: + - f08a022f-430a-4ca3-ab14-71ff02babb9b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/071e30ce-4870-4880-af8b-e9d658689cb0 + 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: + - Wed, 28 Jan 2026 12:01:03 GMT + Pragma: + - no-cache + RequestId: + - 90e3e7b0-6101-4984-b712-a68de7ddc980 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_doesnt_exist_success[KQLQueryset].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[KQLQueryset].yaml new file mode 100644 index 00000000..31406552 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[KQLQueryset].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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:01:03 GMT + Pragma: + - no-cache + RequestId: + - 8f2f88c9-0be2-4e2d-b75f-322c3822e3fa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:01:04 GMT + Pragma: + - no-cache + RequestId: + - a16c8160-2d77-404b-8c2e-78e50f606068 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:01:06 GMT + Pragma: + - no-cache + RequestId: + - f1baf117-cd1e-4320-b933-8d4f08a808a1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/kqlQuerysets + response: + body: + string: '{"id": "e660ccb7-1818-4b31-8e59-c1eaf712d87b", "type": "KQLQueryset", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:01:08 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 3d592ebc-9b25-4510-b6be-a74802466287 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:01:08 GMT + Pragma: + - no-cache + RequestId: + - d4a15a46-52e6-4efd-8cbd-433218355adf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "e660ccb7-1818-4b31-8e59-c1eaf712d87b", "type": "KQLQueryset", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:01:09 GMT + Pragma: + - no-cache + RequestId: + - 03e0fb96-3cdd-4571-956a-4f657b6bb017 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "e660ccb7-1818-4b31-8e59-c1eaf712d87b", "type": "KQLQueryset", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:01:10 GMT + Pragma: + - no-cache + RequestId: + - a8c87019-fb14-42e2-8c1e-1995f1e81db8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:01:11 GMT + Pragma: + - no-cache + RequestId: + - 9266f235-e2d4-4bf0-809a-b7d967e26455 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "e660ccb7-1818-4b31-8e59-c1eaf712d87b", "type": "KQLQueryset", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:01:12 GMT + Pragma: + - no-cache + RequestId: + - bc22f896-0bba-4a7b-b479-d050c8e7b03a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/e660ccb7-1818-4b31-8e59-c1eaf712d87b + 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: + - Wed, 28 Jan 2026 12:01:13 GMT + Pragma: + - no-cache + RequestId: + - d81c148e-7e00-40f4-84b1-60d60d03c4fd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_doesnt_exist_success[Lakehouse].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Lakehouse].yaml new file mode 100644 index 00000000..01a4ff11 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Lakehouse].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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:01:13 GMT + Pragma: + - no-cache + RequestId: + - 188e9f2b-69c9-4f2b-83f9-eca341bc72e6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:01:15 GMT + Pragma: + - no-cache + RequestId: + - cd27fd1f-f729-41a3-ab67-5a0e73e88052 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:01:15 GMT + Pragma: + - no-cache + RequestId: + - aa9940f6-b39f-42c9-9f0c-dd0fd9abf875 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/lakehouses + response: + body: + string: '{"id": "a4efbf4d-b1dc-430a-b093-c66fcd5981d8", "type": "Lakehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:01:20 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - ce49bd04-a42e-468f-ac21-5b3b02cc40d5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:01:21 GMT + Pragma: + - no-cache + RequestId: + - 8d216ce9-ab1d-4bec-9aec-95d97426aa61 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "a4efbf4d-b1dc-430a-b093-c66fcd5981d8", "type": "Lakehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:01:21 GMT + Pragma: + - no-cache + RequestId: + - 0af5cd49-c6da-44ac-a09d-a84043481716 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "a4efbf4d-b1dc-430a-b093-c66fcd5981d8", "type": "Lakehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:01:22 GMT + Pragma: + - no-cache + RequestId: + - e3dcdac6-e87a-4a31-8155-3d0da48a7b68 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:01:23 GMT + Pragma: + - no-cache + RequestId: + - b1c31ca6-77b1-48e0-968c-9c7152f8994b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "a4efbf4d-b1dc-430a-b093-c66fcd5981d8", "type": "Lakehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:01:23 GMT + Pragma: + - no-cache + RequestId: + - 61c11044-571c-42ab-ae18-ed013c642bce + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/a4efbf4d-b1dc-430a-b093-c66fcd5981d8 + 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: + - Wed, 28 Jan 2026 12:01:24 GMT + Pragma: + - no-cache + RequestId: + - 7910f6d5-f164-4101-a128-81b72d6afee9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_doesnt_exist_success[MLExperiment].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[MLExperiment].yaml new file mode 100644 index 00000000..1432a34d --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[MLExperiment].yaml @@ -0,0 +1,606 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:01:24 GMT + Pragma: + - no-cache + RequestId: + - 8f73bd8a-d7fd-4cb6-a749-51649a1d9cba + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:01:24 GMT + Pragma: + - no-cache + RequestId: + - 7c1586a0-8bfa-45d4-9d07-ff5c8529d98b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:01:25 GMT + Pragma: + - no-cache + RequestId: + - dd5417ce-6bc5-4366-9df2-9a023e09fba0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:01:26 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/37d6b6f5-a9f0-4980-adc1-dd34ea2f29d1 + Pragma: + - no-cache + RequestId: + - 832c13eb-69d9-41ad-9104-d3a5992fed88 + 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: + - 37d6b6f5-a9f0-4980-adc1-dd34ea2f29d1 + 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/37d6b6f5-a9f0-4980-adc1-dd34ea2f29d1 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:01:26.8321199", + "lastUpdatedTimeUtc": "2026-01-28T12:01:28.0977411", "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: + - Wed, 28 Jan 2026 12:01:48 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/37d6b6f5-a9f0-4980-adc1-dd34ea2f29d1/result + Pragma: + - no-cache + RequestId: + - 9725d86f-b7f5-4511-82ac-97df6d6088f2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 37d6b6f5-a9f0-4980-adc1-dd34ea2f29d1 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/37d6b6f5-a9f0-4980-adc1-dd34ea2f29d1/result + response: + body: + string: '{"id": "5ed20817-f30d-43f6-af19-148c8ade58a6", "type": "MLExperiment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:01:50 GMT + Pragma: + - no-cache + RequestId: + - 2be87325-f328-4c3a-bd0f-10e96daadc5c + 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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:01:50 GMT + Pragma: + - no-cache + RequestId: + - eb63d3f8-0d93-40c2-b69c-adb7c93337b7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "5ed20817-f30d-43f6-af19-148c8ade58a6", "type": "MLExperiment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:01:51 GMT + Pragma: + - no-cache + RequestId: + - 5d6d76b3-be77-467d-85e4-abedcc37fed5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "5ed20817-f30d-43f6-af19-148c8ade58a6", "type": "MLExperiment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:01:52 GMT + Pragma: + - no-cache + RequestId: + - 2c70c77a-4a8e-4df6-badb-c6618f0848e4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:01:52 GMT + Pragma: + - no-cache + RequestId: + - 25498c99-8d33-4b1f-91ed-24ebebb0ba39 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "5ed20817-f30d-43f6-af19-148c8ade58a6", "type": "MLExperiment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:01:53 GMT + Pragma: + - no-cache + RequestId: + - 6eb03649-ad56-4a6a-8415-4c1d322fa71e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/5ed20817-f30d-43f6-af19-148c8ade58a6 + 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: + - Wed, 28 Jan 2026 12:01:54 GMT + Pragma: + - no-cache + RequestId: + - 03faf40b-2b3e-4a48-b399-233451be32dd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_doesnt_exist_success[MLModel].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[MLModel].yaml new file mode 100644 index 00000000..ce71f1a8 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[MLModel].yaml @@ -0,0 +1,605 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:01:55 GMT + Pragma: + - no-cache + RequestId: + - 5245d5b0-b245-426c-8822-9b77a12083f5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:01:56 GMT + Pragma: + - no-cache + RequestId: + - 430532f3-dad0-401a-b077-51aacb0a228f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:01:57 GMT + Pragma: + - no-cache + RequestId: + - ac9c805d-4099-46c6-8b8e-c352d6f1173c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:01:58 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f5498515-34bf-4339-ab2b-a9893f4ff5f3 + Pragma: + - no-cache + RequestId: + - b99e46b1-7e2a-437d-9ccb-7b0061069653 + 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: + - f5498515-34bf-4339-ab2b-a9893f4ff5f3 + 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/f5498515-34bf-4339-ab2b-a9893f4ff5f3 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:01:58.2608482", + "lastUpdatedTimeUtc": "2026-01-28T12:01:58.7296289", "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: + - Wed, 28 Jan 2026 12:02:19 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f5498515-34bf-4339-ab2b-a9893f4ff5f3/result + Pragma: + - no-cache + RequestId: + - 987015c6-0c9a-40dd-8460-7ba98707c8d6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - f5498515-34bf-4339-ab2b-a9893f4ff5f3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/f5498515-34bf-4339-ab2b-a9893f4ff5f3/result + response: + body: + string: '{"id": "ecb4b9eb-640b-468e-9f02-5c874965d8d3", "type": "MLModel", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:02:21 GMT + Pragma: + - no-cache + RequestId: + - bbaf682d-4c87-4b41-beed-c88fe127d7b5 + 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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:02:22 GMT + Pragma: + - no-cache + RequestId: + - 327b7e4f-30ec-4db1-a73e-80960f9d2785 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "ecb4b9eb-640b-468e-9f02-5c874965d8d3", "type": "MLModel", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '176' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:02:22 GMT + Pragma: + - no-cache + RequestId: + - d544223a-0409-4aa1-9809-27d911b54d8f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "ecb4b9eb-640b-468e-9f02-5c874965d8d3", "type": "MLModel", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '176' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:02:23 GMT + Pragma: + - no-cache + RequestId: + - 4177164f-9f09-4ce3-92dd-74c6b74ce194 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:02:24 GMT + Pragma: + - no-cache + RequestId: + - 29d378f2-38b5-4649-890e-b5d02e4e1b4e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "ecb4b9eb-640b-468e-9f02-5c874965d8d3", "type": "MLModel", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '176' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:02:24 GMT + Pragma: + - no-cache + RequestId: + - d10637fb-1916-4abd-8dad-ba4beb247c8b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/ecb4b9eb-640b-468e-9f02-5c874965d8d3 + 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: + - Wed, 28 Jan 2026 12:02:25 GMT + Pragma: + - no-cache + RequestId: + - c16e9805-4ba1-4ad3-92c8-ed24ee4cdcd9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_doesnt_exist_success[MirroredDatabase].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[MirroredDatabase].yaml new file mode 100644 index 00000000..171ee2c5 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[MirroredDatabase].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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:02:26 GMT + Pragma: + - no-cache + RequestId: + - e2bc3b59-3ce3-4df6-80a9-84fee2fcb4ba + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:02:27 GMT + Pragma: + - no-cache + RequestId: + - 61a5efe1-7bf7-4423-a95f-cae9ccaed768 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:02:28 GMT + Pragma: + - no-cache + RequestId: + - e7b05602-83b0-41c8-aed9-7dfcc0fbd8c8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/mirroredDatabases + response: + body: + string: '{"id": "6433eb7a-8084-48fd-b30b-c03e273166dc", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:02:32 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 39780f6b-66e6-40d1-a719-76889b2b1d8b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:02:33 GMT + Pragma: + - no-cache + RequestId: + - dcb519e8-fbae-4d4d-8d85-e07d62a47c2b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "6433eb7a-8084-48fd-b30b-c03e273166dc", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:02:34 GMT + Pragma: + - no-cache + RequestId: + - 6f355d69-f621-49ba-92ae-82528883cd23 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "6433eb7a-8084-48fd-b30b-c03e273166dc", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:02:34 GMT + Pragma: + - no-cache + RequestId: + - 6d6b8924-271a-432b-880c-3eeb049f8114 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:02:35 GMT + Pragma: + - no-cache + RequestId: + - 04d906f5-915f-4b7f-8064-d812a70afa14 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "6433eb7a-8084-48fd-b30b-c03e273166dc", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:02:37 GMT + Pragma: + - no-cache + RequestId: + - 4ca75625-f02c-4be0-b164-f7f7a92fbf68 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/6433eb7a-8084-48fd-b30b-c03e273166dc + 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: + - Wed, 28 Jan 2026 12:02:37 GMT + Pragma: + - no-cache + RequestId: + - 3cbbf2a7-9226-401d-82a6-89846978b591 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_doesnt_exist_success[Notebook].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Notebook].yaml new file mode 100644 index 00000000..3e4b1647 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Notebook].yaml @@ -0,0 +1,608 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:02:38 GMT + Pragma: + - no-cache + RequestId: + - fe9a0373-29f8-4925-871d-7ce2983f7d0d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:02:39 GMT + Pragma: + - no-cache + RequestId: + - 9109caa9-162d-4e74-bcc8-47c7148993d8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:02:40 GMT + Pragma: + - no-cache + RequestId: + - 3307ff50-419b-4c28-b220-bc69d1c8802c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:02:41 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/06578de0-0f64-47ed-ae4b-62958c60d493 + Pragma: + - no-cache + RequestId: + - bbfe0e30-272c-45c2-ae54-e055f4dc78a6 + 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: + - 06578de0-0f64-47ed-ae4b-62958c60d493 + 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/06578de0-0f64-47ed-ae4b-62958c60d493 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:02:41.6908556", + "lastUpdatedTimeUtc": "2026-01-28T12:02:43.3783558", "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: + - Wed, 28 Jan 2026 12:03:03 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/06578de0-0f64-47ed-ae4b-62958c60d493/result + Pragma: + - no-cache + RequestId: + - b2dbc369-112f-4885-86ae-85a7b26fedec + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 06578de0-0f64-47ed-ae4b-62958c60d493 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/06578de0-0f64-47ed-ae4b-62958c60d493/result + response: + body: + string: '{"id": "2227081d-dd26-4f4f-ac73-831ae84975bc", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:03:04 GMT + Pragma: + - no-cache + RequestId: + - addd8099-d3a6-4c9f-ab87-8260c4b17be0 + 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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:03:05 GMT + Pragma: + - no-cache + RequestId: + - 22218026-aa12-459b-8aaa-2b6ee71401fc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "2227081d-dd26-4f4f-ac73-831ae84975bc", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:03:06 GMT + Pragma: + - no-cache + RequestId: + - 5d643f36-5ca9-414d-9a6c-78776e32d5b8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "2227081d-dd26-4f4f-ac73-831ae84975bc", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:03:08 GMT + Pragma: + - no-cache + RequestId: + - cd115435-7549-42ea-94e5-56c48a20a965 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:03:09 GMT + Pragma: + - no-cache + RequestId: + - bf78f1c1-c9a6-4199-bfed-df547cf67dd7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "2227081d-dd26-4f4f-ac73-831ae84975bc", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:03:10 GMT + Pragma: + - no-cache + RequestId: + - 718caabd-7db8-4276-8bb3-adcc22d7fd62 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/2227081d-dd26-4f4f-ac73-831ae84975bc + 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: + - Wed, 28 Jan 2026 12:03:11 GMT + Pragma: + - no-cache + RequestId: + - f68f1534-90fa-462a-bcb9-3aea3a0b8a53 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_doesnt_exist_success[Reflex].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Reflex].yaml new file mode 100644 index 00000000..cb9697c0 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Reflex].yaml @@ -0,0 +1,505 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:03:12 GMT + Pragma: + - no-cache + RequestId: + - 2494bb9b-045d-4574-9acc-cee594fb20f1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:03:13 GMT + Pragma: + - no-cache + RequestId: + - e4a5b9f0-0bbd-4a6e-8263-c447f8a212e4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:03:13 GMT + Pragma: + - no-cache + RequestId: + - 4ed31041-94a9-4f67-9beb-017847744e0b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/reflexes + response: + body: + string: '{"id": "6b92d97f-ae0f-4799-bf91-f3398c70a66d", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:03:17 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 4a0c6221-f93f-4f39-a061-cc58807c95e8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:03:17 GMT + Pragma: + - no-cache + RequestId: + - 383fb60f-e705-422e-a4b1-5f21e3428c11 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "6b92d97f-ae0f-4799-bf91-f3398c70a66d", "type": "Reflex", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:03:18 GMT + Pragma: + - no-cache + RequestId: + - f701b053-3925-46dc-881f-d7909473025f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "6b92d97f-ae0f-4799-bf91-f3398c70a66d", "type": "Reflex", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:03:19 GMT + Pragma: + - no-cache + RequestId: + - f84e15eb-49ab-45dc-8530-b7cc0cb26f77 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:03:19 GMT + Pragma: + - no-cache + RequestId: + - 4631ac1f-80d4-487e-a761-2d427fd7dc55 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "6b92d97f-ae0f-4799-bf91-f3398c70a66d", "type": "Reflex", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:03:20 GMT + Pragma: + - no-cache + RequestId: + - 527d7877-bdca-4c06-8901-1aecaffb2694 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/6b92d97f-ae0f-4799-bf91-f3398c70a66d + 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: + - Wed, 28 Jan 2026 12:03:21 GMT + Pragma: + - no-cache + RequestId: + - 43c64a0e-6bff-4788-9ea2-7ea8c4443b7d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_doesnt_exist_success[Report].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Report].yaml new file mode 100644 index 00000000..4162d384 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Report].yaml @@ -0,0 +1,782 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:03:22 GMT + Pragma: + - no-cache + RequestId: + - 47e192e2-fcaa-4465-ad73-a52a67a42449 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:03:23 GMT + Pragma: + - no-cache + RequestId: + - e0b6fb44-52c8-4d63-ab6d-49fec471b72d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:03:24 GMT + Pragma: + - no-cache + RequestId: + - 65e7a2db-56b4-4b0e-b9ed-abd5a0390fd9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:03:25 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/be42d0c0-a08f-4649-b55d-37feffbf53ed + Pragma: + - no-cache + RequestId: + - fa6fb504-1849-4157-9f1f-8e3071f362b4 + 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: + - be42d0c0-a08f-4649-b55d-37feffbf53ed + 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/be42d0c0-a08f-4649-b55d-37feffbf53ed + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:03:25.545392", + "lastUpdatedTimeUtc": "2026-01-28T12:03:36.4373369", "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: + - Wed, 28 Jan 2026 12:03:46 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/be42d0c0-a08f-4649-b55d-37feffbf53ed/result + Pragma: + - no-cache + RequestId: + - d936e082-0fa5-47e3-b23a-6786fe96d1e8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - be42d0c0-a08f-4649-b55d-37feffbf53ed + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/be42d0c0-a08f-4649-b55d-37feffbf53ed/result + response: + body: + string: '{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:03:48 GMT + Pragma: + - no-cache + RequestId: + - 0dc515aa-8359-43b9-8092-060ef232645c + 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": "eyJ2ZXJzaW9uIjogIjQuMCIsICJkYXRhc2V0UmVmZXJlbmNlIjogeyJieVBhdGgiOiBudWxsLCAiYnlDb25uZWN0aW9uIjogeyJjb25uZWN0aW9uU3RyaW5nIjogIkRhdGEgU291cmNlPXBvd2VyYmk6Ly9hcGkucG93ZXJiaS5jb20vdjEuMC9teW9yZy9ta2RpcjtJbml0aWFsIENhdGFsb2c9cjM7SW50ZWdyYXRlZCBTZWN1cml0eT1DbGFpbXNUb2tlbiIsICJwYmlTZXJ2aWNlTW9kZWxJZCI6IG51bGwsICJwYmlNb2RlbFZpcnR1YWxTZXJ2ZXJOYW1lIjogInNvYmVfd293dmlydHVhbHNlcnZlciIsICJwYmlNb2RlbERhdGFiYXNlTmFtZSI6ICIzMTFjMDIxZC02M2JhLTRkODAtYmIzZi03NGU5ZjgyMWY5ODkiLCAibmFtZSI6ICJFbnRpdHlEYXRhU291cmNlIiwgImNvbm5lY3Rpb25UeXBlIjogInBiaVNlcnZpY2VYbWxhU3R5bGVMaXZlIn19fQ==", + "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/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:03:50 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/5df954fe-7588-479a-8013-a08496a964b0 + Pragma: + - no-cache + RequestId: + - 3f102f7e-074d-41ed-bccb-634ccacd43f2 + 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: + - 5df954fe-7588-479a-8013-a08496a964b0 + 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/5df954fe-7588-479a-8013-a08496a964b0 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:03:50.4878686", + "lastUpdatedTimeUtc": "2026-01-28T12:03:50.8785003", "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: + - Wed, 28 Jan 2026 12:04:12 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/5df954fe-7588-479a-8013-a08496a964b0/result + Pragma: + - no-cache + RequestId: + - aebee04f-cbc6-4bda-83b1-1c092968c167 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 5df954fe-7588-479a-8013-a08496a964b0 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/5df954fe-7588-479a-8013-a08496a964b0/result + response: + body: + string: '{"id": "7da1e7f9-62dc-43b7-a730-9c8364030e30", "type": "Report", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:04:13 GMT + Pragma: + - no-cache + RequestId: + - 572cd448-ed33-41d3-b002-0cfec08211a8 + 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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:04:13 GMT + Pragma: + - no-cache + RequestId: + - 32b19c3f-b590-455a-a1b2-07c0dd8400c6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "7da1e7f9-62dc-43b7-a730-9c8364030e30", "type": "Report", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '235' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:04:15 GMT + Pragma: + - no-cache + RequestId: + - f62538c5-4bab-45f4-9b85-1e226f028682 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "7da1e7f9-62dc-43b7-a730-9c8364030e30", "type": "Report", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '235' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:04:15 GMT + Pragma: + - no-cache + RequestId: + - e615c3c2-6a18-4418-b63a-399b3de47fa1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:04:16 GMT + Pragma: + - no-cache + RequestId: + - 0e1b7a9c-6b7c-4dc5-a4d0-f52f42db5ca4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "7da1e7f9-62dc-43b7-a730-9c8364030e30", "type": "Report", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '235' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:04:17 GMT + Pragma: + - no-cache + RequestId: + - 262d3c52-a9ec-491c-ad10-8ad0c74dbe6a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/7da1e7f9-62dc-43b7-a730-9c8364030e30 + 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: + - Wed, 28 Jan 2026 12:04:18 GMT + Pragma: + - no-cache + RequestId: + - 8491bc53-c4d5-4722-bfd0-0824c552d2fc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_doesnt_exist_success[SQLDatabase].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[SQLDatabase].yaml new file mode 100644 index 00000000..42a76952 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[SQLDatabase].yaml @@ -0,0 +1,617 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:04:19 GMT + Pragma: + - no-cache + RequestId: + - a190754f-d512-478d-b32a-df64fa247796 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '176' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:04:20 GMT + Pragma: + - no-cache + RequestId: + - 1b81e509-c04d-48bc-8fe1-00eda692a91c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '176' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:04:20 GMT + Pragma: + - no-cache + RequestId: + - f0b50689-f72a-4dba-9416-203777871a93 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:04:23 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/9ab1bb4e-3494-4672-a0eb-11d47fb5bc22 + Pragma: + - no-cache + RequestId: + - 59285d32-cb65-4097-9ee7-f600de6830c2 + 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: + - 9ab1bb4e-3494-4672-a0eb-11d47fb5bc22 + 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/9ab1bb4e-3494-4672-a0eb-11d47fb5bc22 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:04:22.551513", + "lastUpdatedTimeUtc": "2026-01-28T12:04:40.4744139", "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: + - Wed, 28 Jan 2026 12:04:44 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/9ab1bb4e-3494-4672-a0eb-11d47fb5bc22/result + Pragma: + - no-cache + RequestId: + - 19b21ffb-b82e-4c02-bbdb-a5798ad5f625 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 9ab1bb4e-3494-4672-a0eb-11d47fb5bc22 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/9ab1bb4e-3494-4672-a0eb-11d47fb5bc22/result + response: + body: + string: '{"id": "976601cf-be10-461a-b49d-626195ba6207", "type": "SQLDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:04:45 GMT + Pragma: + - no-cache + RequestId: + - 8de9f2b4-8c12-417d-9112-bfdf1df483bf + 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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:04:46 GMT + Pragma: + - no-cache + RequestId: + - e6b8d8bd-313e-4c28-9552-b9b5571a3243 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "28ce168b-7dd5-4115-b522-4cdd85bddae4", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "976601cf-be10-461a-b49d-626195ba6207", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '278' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:04:48 GMT + Pragma: + - no-cache + RequestId: + - 1e1d9358-51f0-4187-9e9b-72c64a899aaf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "28ce168b-7dd5-4115-b522-4cdd85bddae4", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "976601cf-be10-461a-b49d-626195ba6207", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '278' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:04:49 GMT + Pragma: + - no-cache + RequestId: + - a4fd1988-c936-419c-9e77-d1edd0855599 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:04:49 GMT + Pragma: + - no-cache + RequestId: + - 27d4d89b-d86f-4523-8a82-413d1af071f3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "28ce168b-7dd5-4115-b522-4cdd85bddae4", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "976601cf-be10-461a-b49d-626195ba6207", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '278' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:04:49 GMT + Pragma: + - no-cache + RequestId: + - aa74ad0c-48f7-4209-b359-b3e8419c107e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/976601cf-be10-461a-b49d-626195ba6207 + 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: + - Wed, 28 Jan 2026 12:04:51 GMT + Pragma: + - no-cache + RequestId: + - e1888ed8-4a22-4561-87fc-511a7b381da5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_doesnt_exist_success[SemanticModel].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[SemanticModel].yaml new file mode 100644 index 00000000..bec9b7c1 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[SemanticModel].yaml @@ -0,0 +1,616 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:04:52 GMT + Pragma: + - no-cache + RequestId: + - 2fa3e6f0-903f-4b37-8cef-30a2e00eac60 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '176' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:04:53 GMT + Pragma: + - no-cache + RequestId: + - 977d6e4d-563f-41b2-8df0-579404581390 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '176' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:04:53 GMT + Pragma: + - no-cache + RequestId: + - 649b1870-dcff-4715-a393-707520eb21ed + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:04:54 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/cfd8e041-6c83-429b-b48a-5413bc117585 + Pragma: + - no-cache + RequestId: + - 68bcdfb3-1486-4aa1-85d6-9c40da58416e + 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: + - cfd8e041-6c83-429b-b48a-5413bc117585 + 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/cfd8e041-6c83-429b-b48a-5413bc117585 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:04:54.4789669", + "lastUpdatedTimeUtc": "2026-01-28T12:05:05.4023826", "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: + - Wed, 28 Jan 2026 12:05:16 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/cfd8e041-6c83-429b-b48a-5413bc117585/result + Pragma: + - no-cache + RequestId: + - 0839800e-0afc-454c-8bed-1b50e39a1818 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - cfd8e041-6c83-429b-b48a-5413bc117585 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/cfd8e041-6c83-429b-b48a-5413bc117585/result + response: + body: + string: '{"id": "f80ab630-6547-477e-8e68-2aeb673fc74c", "type": "SemanticModel", + "displayName": "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:05:16 GMT + Pragma: + - no-cache + RequestId: + - 548e28e8-1b9a-4d12-99c9-4fbfdafc8491 + 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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:05:17 GMT + Pragma: + - no-cache + RequestId: + - b5cdaf97-5fe1-4234-bf49-c33ad39c735a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "f80ab630-6547-477e-8e68-2aeb673fc74c", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:05:19 GMT + Pragma: + - no-cache + RequestId: + - 84bd3484-2184-49fb-af8b-6eb3459f6c9e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "f80ab630-6547-477e-8e68-2aeb673fc74c", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:05:19 GMT + Pragma: + - no-cache + RequestId: + - 0bed5b53-3a83-41c2-b89b-f2e081e170a7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:05:20 GMT + Pragma: + - no-cache + RequestId: + - 05de92fe-9365-460b-8834-31d1a9409f09 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "f80ab630-6547-477e-8e68-2aeb673fc74c", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:05:21 GMT + Pragma: + - no-cache + RequestId: + - fb4dae71-4db6-44d3-b777-d14034fb3e96 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/f80ab630-6547-477e-8e68-2aeb673fc74c + 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: + - Wed, 28 Jan 2026 12:05:23 GMT + Pragma: + - no-cache + RequestId: + - 27d01e54-f8a1-455a-9d9b-948131c56d47 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_doesnt_exist_success[SparkJobDefinition].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[SparkJobDefinition].yaml new file mode 100644 index 00000000..cc42f741 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[SparkJobDefinition].yaml @@ -0,0 +1,546 @@ +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: '' + headers: + Connection: + - close + Content-Length: + - '0' + Date: + - Wed, 28 Jan 2026 12:05:24 GMT + RequestId: + - 9f18e609-3409-42e6-9bd4-ad3ce3042d8e + Retry-After: + - '5' + status: + code: 503 + message: Service Unavailable +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:05:30 GMT + Pragma: + - no-cache + RequestId: + - 222e7766-f44d-48af-b43a-223c94a2707a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '176' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:05:31 GMT + Pragma: + - no-cache + RequestId: + - a8bdc9e7-c2f4-4279-9f70-b07b7d2fc501 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '176' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:05:32 GMT + Pragma: + - no-cache + RequestId: + - 6180ac1d-f956-4f71-a328-0abb4cf71aa6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/sparkJobDefinitions + response: + body: + string: '{"id": "44813647-5ad0-4480-bc66-026c75b5bbb3", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '175' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:05:34 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 7d968b5d-2cc7-4cb2-becd-274b8ddc7ede + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:05:35 GMT + Pragma: + - no-cache + RequestId: + - 9c2e04f6-45ee-48cb-840b-ef5db2032b23 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "44813647-5ad0-4480-bc66-026c75b5bbb3", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '248' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:05:36 GMT + Pragma: + - no-cache + RequestId: + - a1a7f918-b8c4-456e-9610-912ea3d43aa8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "44813647-5ad0-4480-bc66-026c75b5bbb3", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '248' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:05:36 GMT + Pragma: + - no-cache + RequestId: + - ecd2fabd-c7a9-4d78-ac55-2376d6b0f3a5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:05:37 GMT + Pragma: + - no-cache + RequestId: + - 788f05e8-1cab-42e4-a2d2-3d3bc4a8d90f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "44813647-5ad0-4480-bc66-026c75b5bbb3", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '248' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:05:38 GMT + Pragma: + - no-cache + RequestId: + - 2485026b-a67c-4571-a625-3aa6ae93c969 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/44813647-5ad0-4480-bc66-026c75b5bbb3 + 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: + - Wed, 28 Jan 2026 12:05:39 GMT + Pragma: + - no-cache + RequestId: + - 40e39d19-1674-41d5-a193-c44ffb905989 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_doesnt_exist_success[Warehouse].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Warehouse].yaml new file mode 100644 index 00000000..5f231832 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Warehouse].yaml @@ -0,0 +1,611 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:05:40 GMT + Pragma: + - no-cache + RequestId: + - 0b95e997-e212-4b73-9b10-2c347a0fa5ab + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '176' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:05:41 GMT + Pragma: + - no-cache + RequestId: + - 96a77a9e-93cc-4b20-b2dc-3fd2fd67030c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '176' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:05:41 GMT + Pragma: + - no-cache + RequestId: + - d52c7211-9651-4f29-a638-7fcd01972100 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:05:43 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f476411c-5e3f-4371-975d-92e7433ad85d + Pragma: + - no-cache + RequestId: + - 8ba09a98-4f75-4c39-84b9-e812706318f8 + 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: + - f476411c-5e3f-4371-975d-92e7433ad85d + 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/f476411c-5e3f-4371-975d-92e7433ad85d + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:05:43.5519577", + "lastUpdatedTimeUtc": "2026-01-28T12:06:00.2742348", "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: + - Wed, 28 Jan 2026 12:06:05 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f476411c-5e3f-4371-975d-92e7433ad85d/result + Pragma: + - no-cache + RequestId: + - 2ffaa103-d32d-4c8f-97c1-3d2def5024ae + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - f476411c-5e3f-4371-975d-92e7433ad85d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/f476411c-5e3f-4371-975d-92e7433ad85d/result + response: + body: + string: '{"id": "646d36a4-c68e-4668-8fac-260c0b7b4b81", "type": "Warehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:06:05 GMT + Pragma: + - no-cache + RequestId: + - 43cace4c-582a-4e71-a05e-50690aa5346d + 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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:06 GMT + Pragma: + - no-cache + RequestId: + - d575f358-1a49-4799-b30c-ab40476d2bb7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "646d36a4-c68e-4668-8fac-260c0b7b4b81", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:06:06 GMT + Pragma: + - no-cache + RequestId: + - 3cca4e12-0a46-4554-863c-d75504a58f58 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "646d36a4-c68e-4668-8fac-260c0b7b4b81", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:06:08 GMT + Pragma: + - no-cache + RequestId: + - 08093f9b-9cf3-43a0-9311-451144df196e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:08 GMT + Pragma: + - no-cache + RequestId: + - 9079b920-5473-4cbd-85e2-f27b2ac29986 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "646d36a4-c68e-4668-8fac-260c0b7b4b81", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:06:09 GMT + Pragma: + - no-cache + RequestId: + - a70e6c43-bd24-4b08-af42-962ff5332599 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/646d36a4-c68e-4668-8fac-260c0b7b4b81 + 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: + - Wed, 28 Jan 2026 12:06:10 GMT + Pragma: + - no-cache + RequestId: + - 8af127ed-997d-4dc2-ac6b-6e431c1e7fb5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_exists_success[CopyJob].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[CopyJob].yaml new file mode 100644 index 00000000..f60d7632 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[CopyJob].yaml @@ -0,0 +1,499 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:12:40 GMT + Pragma: + - no-cache + RequestId: + - 27007adf-1e86-44ba-987d-13375cb2602c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '363' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:12:41 GMT + Pragma: + - no-cache + RequestId: + - 48a5f132-80b0-4685-b49e-2e6b50eb72cd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '363' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:12:42 GMT + Pragma: + - no-cache + RequestId: + - 98be0ce2-5a9e-43e9-ac1f-7c586f96bea7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/copyJobs + response: + body: + string: '{"id": "18570de2-a3b9-46d1-a357-f1fa9aba93d5", "type": "CopyJob", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:12:46 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - ba20c949-cc83-4926-b3bb-a41ee1457d67 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:12:47 GMT + Pragma: + - no-cache + RequestId: + - 7d6ece5f-8fd8-498c-afb4-4b5d3d1f69f3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "18570de2-a3b9-46d1-a357-f1fa9aba93d5", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '423' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:12:49 GMT + Pragma: + - no-cache + RequestId: + - 24050974-d478-4d83-b4c7-baf9ccdb28f3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:12:48 GMT + Pragma: + - no-cache + RequestId: + - 6f6039d0-bafd-42db-b119-c21554825616 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "18570de2-a3b9-46d1-a357-f1fa9aba93d5", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '423' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:12:49 GMT + Pragma: + - no-cache + RequestId: + - 5f8a4ca1-a5db-4c20-add2-c44135a0ae37 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/18570de2-a3b9-46d1-a357-f1fa9aba93d5 + 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: + - Wed, 28 Jan 2026 12:12:50 GMT + Pragma: + - no-cache + RequestId: + - bb697222-ed02-44cd-9358-f424b182e19f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_exists_success[DataPipeline].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[DataPipeline].yaml new file mode 100644 index 00000000..c1559348 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[DataPipeline].yaml @@ -0,0 +1,472 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:42 GMT + Pragma: + - no-cache + RequestId: + - ff884c5f-6271-400e-89ad-f9c498386994 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '249' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:43 GMT + Pragma: + - no-cache + RequestId: + - fc70492a-bf5e-43fa-8e19-b2495e06987c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '249' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:44 GMT + Pragma: + - no-cache + RequestId: + - f5788d92-4412-4d5b-acf1-74fb64511432 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/dataPipelines + response: + body: + string: '{"id": "0bbced0f-57bc-455f-93a5-0fbf3f78d435", "type": "DataPipeline", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:06:49 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - f96e265b-826c-4848-993d-7481415886cf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:50 GMT + Pragma: + - no-cache + RequestId: + - eff3da29-0108-41b0-a93c-b0ecc1253f20 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "0bbced0f-57bc-455f-93a5-0fbf3f78d435", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '309' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:50 GMT + Pragma: + - no-cache + RequestId: + - 86c04c33-b7b9-4374-a70c-461b48ab2918 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:51 GMT + Pragma: + - no-cache + RequestId: + - f311d253-d055-42fd-8c97-f476c31583be + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "0bbced0f-57bc-455f-93a5-0fbf3f78d435", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '309' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:52 GMT + Pragma: + - no-cache + RequestId: + - a5a29da3-a4a8-49a4-a455-fa7b0d8a690e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/0bbced0f-57bc-455f-93a5-0fbf3f78d435 + 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: + - Wed, 28 Jan 2026 12:06:53 GMT + Pragma: + - no-cache + RequestId: + - 9c099e66-c371-4cd8-bd01-ac1bbe3cd1c0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_exists_success[Dataflow].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Dataflow].yaml new file mode 100644 index 00000000..46f36147 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Dataflow].yaml @@ -0,0 +1,500 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:12:59 GMT + Pragma: + - no-cache + RequestId: + - 81d53cd9-33ac-4599-9779-c5845a38465a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '363' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:13:00 GMT + Pragma: + - no-cache + RequestId: + - f3afb963-1e77-4149-9e91-51b8b782ab35 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '363' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:13:00 GMT + Pragma: + - no-cache + RequestId: + - 1e315f32-c723-403f-8ac9-0c8ce3908fcc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/dataflows + response: + body: + string: '{"id": "1acecb3c-69d9-4014-96a8-36eaaf9b886e", "type": "Dataflow", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:13:02 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - a933c3ca-3492-41fe-a5d6-9bbf96e2c1d0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:13:04 GMT + Pragma: + - no-cache + RequestId: + - 8d49d3e0-5a1b-40b8-b7dc-447cf9228957 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1acecb3c-69d9-4014-96a8-36eaaf9b886e", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '420' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:13:04 GMT + Pragma: + - no-cache + RequestId: + - 4d894917-64ac-442b-b100-caf2abcad581 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:13:05 GMT + Pragma: + - no-cache + RequestId: + - ff63f877-74e6-4ab3-864e-608b5d7862bc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1acecb3c-69d9-4014-96a8-36eaaf9b886e", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '420' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:13:05 GMT + Pragma: + - no-cache + RequestId: + - a87500cb-37f6-4b3d-a48e-792462cf328e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/1acecb3c-69d9-4014-96a8-36eaaf9b886e + 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: + - Wed, 28 Jan 2026 12:13:06 GMT + Pragma: + - no-cache + RequestId: + - 298c51c4-1699-4750-a30a-b6f53419771f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_exists_success[Environment].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Environment].yaml new file mode 100644 index 00000000..a079c654 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Environment].yaml @@ -0,0 +1,480 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:52 GMT + Pragma: + - no-cache + RequestId: + - edd52e7b-1e11-450b-a30d-0c5b4ce89fef + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "3b040332-b777-497c-8b40-272bcccf3953", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128120637", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '286' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:54 GMT + Pragma: + - no-cache + RequestId: + - 08b34c51-a868-4fd8-8b0d-d6d049a6e1c4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "3b040332-b777-497c-8b40-272bcccf3953", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128120637", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '286' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:54 GMT + Pragma: + - no-cache + RequestId: + - 5efd5dd4-e853-4294-a912-668a66f19e54 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/environments + response: + body: + string: '{"id": "bdd5fe35-fe95-4b40-b72f-32f9550623c8", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:06:56 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - ec45a9d8-bec1-4921-9719-fab03ab6b61b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:56 GMT + Pragma: + - no-cache + RequestId: + - 6b793682-fa83-41d1-a383-3ee7e31cab41 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "3b040332-b777-497c-8b40-272bcccf3953", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128120637", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "bdd5fe35-fe95-4b40-b72f-32f9550623c8", "type": "Environment", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '349' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:58 GMT + Pragma: + - no-cache + RequestId: + - 5ac425e2-1c9c-41f4-b0e6-79cf54530207 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:58 GMT + Pragma: + - no-cache + RequestId: + - cc0529ca-a4a8-4e7c-98b1-3e7ceaac4389 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "3b040332-b777-497c-8b40-272bcccf3953", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128120637", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "bdd5fe35-fe95-4b40-b72f-32f9550623c8", "type": "Environment", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '349' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:59 GMT + Pragma: + - no-cache + RequestId: + - 0427e77d-7be3-4800-8e2e-46e540c6c7e3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/bdd5fe35-fe95-4b40-b72f-32f9550623c8 + 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: + - Wed, 28 Jan 2026 12:06:59 GMT + Pragma: + - no-cache + RequestId: + - 1e52361f-c18b-4c19-9779-7feac50d0602 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_exists_success[Eventhouse].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Eventhouse].yaml new file mode 100644 index 00000000..97232660 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Eventhouse].yaml @@ -0,0 +1,487 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:06:59 GMT + Pragma: + - no-cache + RequestId: + - ef51d6d7-ce1f-4c62-a2b4-48115b86d6e3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "3b040332-b777-497c-8b40-272bcccf3953", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128120637", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '286' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:07:01 GMT + Pragma: + - no-cache + RequestId: + - b3b6adb2-3053-43f4-b4a1-26ef63b47560 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "3b040332-b777-497c-8b40-272bcccf3953", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128120637", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '286' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:07:01 GMT + Pragma: + - no-cache + RequestId: + - e0bb4cab-0d44-450c-812f-ac11548c746d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/eventhouses + response: + body: + string: '{"id": "7ec43337-86a9-4bb0-a062-3ab44e231c8e", "type": "Eventhouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:07:06 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - af9e8a30-e34e-4deb-be42-ee25e76dece5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:07:06 GMT + Pragma: + - no-cache + RequestId: + - 90a3a353-8cd5-4c0c-8ebe-0c0886c2bb15 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "3b040332-b777-497c-8b40-272bcccf3953", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128120637", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "7ec43337-86a9-4bb0-a062-3ab44e231c8e", "type": "Eventhouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d30e3d1c-de79-4c27-92f9-5592179ac2f2", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "fabcli000001", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '386' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:07:08 GMT + Pragma: + - no-cache + RequestId: + - 4189ff9b-734e-4014-93c2-fe0cdb5c6b5e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:07:08 GMT + Pragma: + - no-cache + RequestId: + - 834e463e-6be7-49b9-a955-856858c51724 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "7ec43337-86a9-4bb0-a062-3ab44e231c8e", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "d30e3d1c-de79-4c27-92f9-5592179ac2f2", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:07:09 GMT + Pragma: + - no-cache + RequestId: + - 42405d45-2a9a-4c28-bcda-ef01c3ff8cbe + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/7ec43337-86a9-4bb0-a062-3ab44e231c8e + 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: + - Wed, 28 Jan 2026 12:07:10 GMT + Pragma: + - no-cache + RequestId: + - 6a66f623-ed61-4fd7-9e54-0772ffde9f7a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_exists_success[Eventstream].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Eventstream].yaml new file mode 100644 index 00000000..da4a2e9d --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Eventstream].yaml @@ -0,0 +1,592 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:07:10 GMT + Pragma: + - no-cache + RequestId: + - 48680966-edd0-48db-b8d8-49c744474145 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '328' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:07:11 GMT + Pragma: + - no-cache + RequestId: + - 9ec04fb7-31c3-450c-bdd3-ae1b20ab4875 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '328' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:07:12 GMT + Pragma: + - no-cache + RequestId: + - 2b0052af-64a6-4681-a9b7-20abd291dfb4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:07:13 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/9ed51826-0e09-4c62-8f47-018a3a0c44df + Pragma: + - no-cache + RequestId: + - f0a35c71-a597-47f7-ba3a-dd73db31fe0c + 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: + - 9ed51826-0e09-4c62-8f47-018a3a0c44df + 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/9ed51826-0e09-4c62-8f47-018a3a0c44df + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:07:13.6429339", + "lastUpdatedTimeUtc": "2026-01-28T12:07:16.5822732", "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: + - Wed, 28 Jan 2026 12:07:35 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/9ed51826-0e09-4c62-8f47-018a3a0c44df/result + Pragma: + - no-cache + RequestId: + - 717358bd-7659-4e7c-b1e8-50bb62e87df2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 9ed51826-0e09-4c62-8f47-018a3a0c44df + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/9ed51826-0e09-4c62-8f47-018a3a0c44df/result + response: + body: + string: '{"id": "323ab190-32ec-4583-a71f-ef3184c91eb8", "type": "Eventstream", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:07:36 GMT + Pragma: + - no-cache + RequestId: + - bae34636-9b6d-4a8d-a57d-a11b29e7d2fd + 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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:07:37 GMT + Pragma: + - no-cache + RequestId: + - aec05f76-cce7-4030-9ae3-58bfd41db392 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "323ab190-32ec-4583-a71f-ef3184c91eb8", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '390' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:07:38 GMT + Pragma: + - no-cache + RequestId: + - 27fc83f2-7637-4ef2-83fc-40b07c40ec1a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:07:38 GMT + Pragma: + - no-cache + RequestId: + - df1b0265-2d2b-4c32-b1f3-c169097d586c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "323ab190-32ec-4583-a71f-ef3184c91eb8", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '390' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:07:39 GMT + Pragma: + - no-cache + RequestId: + - be6a0070-e23a-4a3c-ae15-17be936a7861 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/323ab190-32ec-4583-a71f-ef3184c91eb8 + 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: + - Wed, 28 Jan 2026 12:07:40 GMT + Pragma: + - no-cache + RequestId: + - 7c1f7201-b025-4ab6-a860-f185e6a56533 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_exists_success[GraphQLApi].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[GraphQLApi].yaml new file mode 100644 index 00000000..975d7783 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[GraphQLApi].yaml @@ -0,0 +1,500 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:12:51 GMT + Pragma: + - no-cache + RequestId: + - 646723d4-b983-4a05-905f-bbc10637e6aa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '363' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:12:51 GMT + Pragma: + - no-cache + RequestId: + - 62bdc886-8d6f-49c3-9017-4d9258680a43 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '363' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:12:52 GMT + Pragma: + - no-cache + RequestId: + - c8fd545b-c45e-4cfa-bc9b-97d8e685afaa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/graphqlapis + response: + body: + string: '{"id": "d31fa244-e8c2-455e-ab50-f4261bec83a3", "type": "GraphQLApi", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:12:53 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 9def16eb-d167-4512-a2a6-f22a1d2d7300 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:12:54 GMT + Pragma: + - no-cache + RequestId: + - 0b0868b6-7bda-409c-a3df-d4818cdb260b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "d31fa244-e8c2-455e-ab50-f4261bec83a3", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '428' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:12:55 GMT + Pragma: + - no-cache + RequestId: + - 19426341-ee5e-4c43-9c3f-b96c5eb23e5d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:12:56 GMT + Pragma: + - no-cache + RequestId: + - f8746d0e-f42b-4c77-affd-3065bb4a9c98 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "d31fa244-e8c2-455e-ab50-f4261bec83a3", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '428' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:12:57 GMT + Pragma: + - no-cache + RequestId: + - fac26774-bf9b-47f7-8a90-f4f8995e25a3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/d31fa244-e8c2-455e-ab50-f4261bec83a3 + 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: + - Wed, 28 Jan 2026 12:12:58 GMT + Pragma: + - no-cache + RequestId: + - 25d892d3-95c7-40aa-a9d7-150b20b1045d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_exists_success[KQLDashboard].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[KQLDashboard].yaml new file mode 100644 index 00000000..691c64ce --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[KQLDashboard].yaml @@ -0,0 +1,492 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:07:41 GMT + Pragma: + - no-cache + RequestId: + - 8d868b98-d6d9-4c3c-9140-a1b1fb15a81f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '328' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:07:42 GMT + Pragma: + - no-cache + RequestId: + - 97884d3d-dae8-4d11-bc12-4e7e6cf57e50 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '328' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:07:43 GMT + Pragma: + - no-cache + RequestId: + - b3dd3a7f-aeee-45c2-bf51-fa2f84700c0f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/kqlDashboards + response: + body: + string: '{"id": "d0cd4046-990d-4d93-973b-daac861c5e95", "type": "KQLDashboard", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:07:45 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 4b587591-f4a1-46ab-af9f-c6b965a6d429 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:07:46 GMT + Pragma: + - no-cache + RequestId: + - 6b57ff43-1b42-47a6-a829-f1911b331b53 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "d0cd4046-990d-4d93-973b-daac861c5e95", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '390' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:07:46 GMT + Pragma: + - no-cache + RequestId: + - c50e9311-b616-4c6f-9d78-b91cd62928b0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:07:47 GMT + Pragma: + - no-cache + RequestId: + - fea9d2f8-c5b9-4b83-82bc-d6f9355979fb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "d0cd4046-990d-4d93-973b-daac861c5e95", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '390' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:07:47 GMT + Pragma: + - no-cache + RequestId: + - 92f2746e-524e-4dc9-8665-0360dc0ea4f5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/d0cd4046-990d-4d93-973b-daac861c5e95 + 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: + - Wed, 28 Jan 2026 12:07:48 GMT + Pragma: + - no-cache + RequestId: + - d91b7307-667a-43c9-8387-c23ff1c6ca2c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_exists_success[KQLQueryset].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[KQLQueryset].yaml new file mode 100644 index 00000000..ccc795f0 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[KQLQueryset].yaml @@ -0,0 +1,492 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:07:49 GMT + Pragma: + - no-cache + RequestId: + - 32cecf0d-0c06-44a9-aa51-c975172121da + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '328' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:07:50 GMT + Pragma: + - no-cache + RequestId: + - 9420f777-9b71-46f3-b61c-68a207396387 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '328' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:07:51 GMT + Pragma: + - no-cache + RequestId: + - ba755c46-60bf-4e7c-9036-d2b31a528b98 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/kqlQuerysets + response: + body: + string: '{"id": "e4d8cbed-c11f-49c6-bc19-fa618be1b012", "type": "KQLQueryset", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:07:52 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 4182fc45-51e4-40d5-8c53-a0f631175274 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:07:53 GMT + Pragma: + - no-cache + RequestId: + - 0323510f-5f11-4be6-9458-34fcad0fae0a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "e4d8cbed-c11f-49c6-bc19-fa618be1b012", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:07:54 GMT + Pragma: + - no-cache + RequestId: + - bd990753-04d4-48ae-bce1-3781ba81b0b0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:07:55 GMT + Pragma: + - no-cache + RequestId: + - b0edd04d-3b8a-4cea-a358-e252eb263bd3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "e4d8cbed-c11f-49c6-bc19-fa618be1b012", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:07:56 GMT + Pragma: + - no-cache + RequestId: + - 339d7cfe-c268-4edb-8c47-68e3762fd5b9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/e4d8cbed-c11f-49c6-bc19-fa618be1b012 + 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: + - Wed, 28 Jan 2026 12:07:57 GMT + Pragma: + - no-cache + RequestId: + - d300ff11-f53c-4693-aa20-3982aef910a5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_exists_success[Lakehouse].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Lakehouse].yaml new file mode 100644 index 00000000..fb45d3af --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Lakehouse].yaml @@ -0,0 +1,492 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:07:57 GMT + Pragma: + - no-cache + RequestId: + - 8a5185b6-2b2a-49be-a7db-64aacc52631c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '328' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:07:58 GMT + Pragma: + - no-cache + RequestId: + - ae9a0b65-17f4-4c3f-99bf-f792d178f449 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '328' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:07:59 GMT + Pragma: + - no-cache + RequestId: + - 7ed9fe61-c6be-46bc-bef1-cb74df16f46f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/lakehouses + response: + body: + string: '{"id": "39326df9-3976-4df1-adb2-4a6bddf70f30", "type": "Lakehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:08:04 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - fba7e20c-b5c5-4f04-8d62-719d5dfe5da8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:08:05 GMT + Pragma: + - no-cache + RequestId: + - 6a20f94b-74ce-4de2-bd58-c4c4a91cfcf2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "39326df9-3976-4df1-adb2-4a6bddf70f30", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '383' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:08:05 GMT + Pragma: + - no-cache + RequestId: + - 0fb42d09-ecd7-45ff-9c9b-093d8f01d11a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:08:06 GMT + Pragma: + - no-cache + RequestId: + - badbd6ae-f352-4e0d-a915-2492b4e0ba01 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "39326df9-3976-4df1-adb2-4a6bddf70f30", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '383' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:08:07 GMT + Pragma: + - no-cache + RequestId: + - 64e64971-599a-45b7-80eb-82160b16d880 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/39326df9-3976-4df1-adb2-4a6bddf70f30 + 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: + - Wed, 28 Jan 2026 12:08:09 GMT + Pragma: + - no-cache + RequestId: + - f735fb02-c236-4c89-81ce-91a09a9dc4f4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_exists_success[MLExperiment].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[MLExperiment].yaml new file mode 100644 index 00000000..7fc19378 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[MLExperiment].yaml @@ -0,0 +1,592 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:08:09 GMT + Pragma: + - no-cache + RequestId: + - ecf6b6f0-e38c-4247-a0cb-e1c968df353e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '328' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:08:10 GMT + Pragma: + - no-cache + RequestId: + - b14cdf23-b99a-4bfa-81cd-1c116602d20d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '328' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:08:10 GMT + Pragma: + - no-cache + RequestId: + - a075817f-4577-455d-b8f5-d057788d2e5f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:08:12 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/dd495f8c-5c43-41ff-b66d-32f9afed8a42 + Pragma: + - no-cache + RequestId: + - 924b5b8b-9d2e-4ade-92a0-8562a2c7ffda + 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: + - dd495f8c-5c43-41ff-b66d-32f9afed8a42 + 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/dd495f8c-5c43-41ff-b66d-32f9afed8a42 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:08:12.51763", + "lastUpdatedTimeUtc": "2026-01-28T12:08:13.5332901", "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: + - Wed, 28 Jan 2026 12:08:34 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/dd495f8c-5c43-41ff-b66d-32f9afed8a42/result + Pragma: + - no-cache + RequestId: + - d91b3f1e-320f-4f93-b8c0-8b55a5d2658f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - dd495f8c-5c43-41ff-b66d-32f9afed8a42 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/dd495f8c-5c43-41ff-b66d-32f9afed8a42/result + response: + body: + string: '{"id": "e16e8c1f-1c86-431c-b7f1-44e5314e4a4f", "type": "MLExperiment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:08:35 GMT + Pragma: + - no-cache + RequestId: + - 95dd884d-5a81-4529-8eb5-ca88ebf19c15 + 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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:08:35 GMT + Pragma: + - no-cache + RequestId: + - 5bcc7d7e-a54f-4f09-8b69-93d5527d82d0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "e16e8c1f-1c86-431c-b7f1-44e5314e4a4f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '391' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:08:37 GMT + Pragma: + - no-cache + RequestId: + - 7dbf98d7-88d6-48a0-97a5-44676f432d3a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:08:38 GMT + Pragma: + - no-cache + RequestId: + - e3c89b21-7406-4fd1-87bb-7d62131a0c6f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "e16e8c1f-1c86-431c-b7f1-44e5314e4a4f", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '391' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:08:38 GMT + Pragma: + - no-cache + RequestId: + - e9161345-9917-4c20-8548-dda3da95d11d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/e16e8c1f-1c86-431c-b7f1-44e5314e4a4f + 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: + - Wed, 28 Jan 2026 12:08:39 GMT + Pragma: + - no-cache + RequestId: + - e84c6d1c-b991-4277-a958-15e6cff2db61 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_exists_success[MLModel].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[MLModel].yaml new file mode 100644 index 00000000..4e8a9949 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[MLModel].yaml @@ -0,0 +1,591 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:08:40 GMT + Pragma: + - no-cache + RequestId: + - b5e0f797-821e-4a60-93b8-627ba612f4a1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '328' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:08:41 GMT + Pragma: + - no-cache + RequestId: + - 3c400500-a463-4a4b-bb86-9c42763e27a0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '328' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:08:42 GMT + Pragma: + - no-cache + RequestId: + - 258d278c-6d64-4069-a537-5277db858a3c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:08:42 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/17d519db-5f9b-43f3-9a28-472b603205dd + Pragma: + - no-cache + RequestId: + - 3b011543-7ffa-4e93-9e24-da7647c48c33 + 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: + - 17d519db-5f9b-43f3-9a28-472b603205dd + 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/17d519db-5f9b-43f3-9a28-472b603205dd + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:08:43.4468279", + "lastUpdatedTimeUtc": "2026-01-28T12:08:43.963184", "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: + - Wed, 28 Jan 2026 12:09:05 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/17d519db-5f9b-43f3-9a28-472b603205dd/result + Pragma: + - no-cache + RequestId: + - 04147655-ea34-4f64-a3e6-980fccd82e34 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 17d519db-5f9b-43f3-9a28-472b603205dd + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/17d519db-5f9b-43f3-9a28-472b603205dd/result + response: + body: + string: '{"id": "4983bd1e-e351-4279-88ca-628de4871384", "type": "MLModel", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:09:05 GMT + Pragma: + - no-cache + RequestId: + - 7b6bb832-2342-4670-a117-bf108432ef55 + 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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:09:07 GMT + Pragma: + - no-cache + RequestId: + - bb6c1e59-89e8-43be-9be7-3f3384dc349a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "4983bd1e-e351-4279-88ca-628de4871384", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '383' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:09:07 GMT + Pragma: + - no-cache + RequestId: + - f48bc75d-7f91-452b-9fc9-2e688d84cb2d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:09:08 GMT + Pragma: + - no-cache + RequestId: + - 6db2b094-0822-4419-9333-a1ff82a72d07 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "4983bd1e-e351-4279-88ca-628de4871384", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '383' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:09:09 GMT + Pragma: + - no-cache + RequestId: + - 3b001a3d-0110-478e-b1b5-270b92d88a4a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/4983bd1e-e351-4279-88ca-628de4871384 + 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: + - Wed, 28 Jan 2026 12:09:10 GMT + Pragma: + - no-cache + RequestId: + - 6e831b2c-a826-4c68-b0a8-2242d55778e2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_exists_success[MirroredDatabase].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[MirroredDatabase].yaml new file mode 100644 index 00000000..86724841 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[MirroredDatabase].yaml @@ -0,0 +1,494 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:09:11 GMT + Pragma: + - no-cache + RequestId: + - 200e5461-7c9a-4d76-b532-c9b00196be59 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '328' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:09:12 GMT + Pragma: + - no-cache + RequestId: + - 7bd3337f-e616-4d10-8c20-69fd0bcc7978 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '328' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:09:13 GMT + Pragma: + - no-cache + RequestId: + - 42581add-70d2-420f-ba13-5cbc0452188e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/mirroredDatabases + response: + body: + string: '{"id": "c766e0cd-8a4d-432c-9a9f-903d72a23c9e", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:09:15 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 864d7ed4-622d-4133-9bf4-b73c1ea46842 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:09:16 GMT + Pragma: + - no-cache + RequestId: + - b6fcc487-78cf-4a58-a2e2-c22dd3b3be5b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "c766e0cd-8a4d-432c-9a9f-903d72a23c9e", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '392' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:09:16 GMT + Pragma: + - no-cache + RequestId: + - 9b9fcd68-3bb5-48b5-b0d4-bde938bb4352 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:09:17 GMT + Pragma: + - no-cache + RequestId: + - 7dcdffa9-2298-4ebd-82d6-099eef0d0f2c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "c766e0cd-8a4d-432c-9a9f-903d72a23c9e", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '392' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:09:18 GMT + Pragma: + - no-cache + RequestId: + - 9183d4a5-8db3-4269-aed2-fc6a5b922fca + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/c766e0cd-8a4d-432c-9a9f-903d72a23c9e + 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: + - Wed, 28 Jan 2026 12:09:18 GMT + Pragma: + - no-cache + RequestId: + - 47b1e937-5861-415b-bc44-1728a00e060a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_exists_success[Notebook].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Notebook].yaml new file mode 100644 index 00000000..7ff2fc60 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Notebook].yaml @@ -0,0 +1,594 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:09:19 GMT + Pragma: + - no-cache + RequestId: + - 0aacc751-0cde-462a-a349-71021e1ba69f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '328' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:09:20 GMT + Pragma: + - no-cache + RequestId: + - edd1263b-3de1-430d-a351-a36f8a3e2e48 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '328' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:09:20 GMT + Pragma: + - no-cache + RequestId: + - a2ae32e7-857e-4063-925f-9ad383d70339 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:09:23 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/aa105289-c4cb-47ef-b802-4bee1ddd33ef + Pragma: + - no-cache + RequestId: + - 519f8d33-940f-47ac-af1d-8da4c7e01780 + 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: + - aa105289-c4cb-47ef-b802-4bee1ddd33ef + 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/aa105289-c4cb-47ef-b802-4bee1ddd33ef + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:09:22.7072171", + "lastUpdatedTimeUtc": "2026-01-28T12:09:24.1140015", "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: + - Wed, 28 Jan 2026 12:09:44 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/aa105289-c4cb-47ef-b802-4bee1ddd33ef/result + Pragma: + - no-cache + RequestId: + - 6fd6fae0-02b3-4a08-84a4-233b42640550 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - aa105289-c4cb-47ef-b802-4bee1ddd33ef + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/aa105289-c4cb-47ef-b802-4bee1ddd33ef/result + response: + body: + string: '{"id": "bda4af07-0877-4d61-b4c0-6d80eba85a33", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:09:45 GMT + Pragma: + - no-cache + RequestId: + - 706cddcc-9709-4f85-bc16-34439281a89b + 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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:09:46 GMT + Pragma: + - no-cache + RequestId: + - d081e26e-b0ab-4573-9663-616a90b77aa4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "bda4af07-0877-4d61-b4c0-6d80eba85a33", + "type": "Notebook", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '386' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:09:47 GMT + Pragma: + - no-cache + RequestId: + - 85b7c323-6699-4d58-aef2-99d688504b6b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:09:47 GMT + Pragma: + - no-cache + RequestId: + - 182443a8-09bc-49d9-b41c-cc84a3865dfa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "bda4af07-0877-4d61-b4c0-6d80eba85a33", + "type": "Notebook", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '386' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:09:48 GMT + Pragma: + - no-cache + RequestId: + - 358eb71a-c617-4689-b266-30139a71835f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/bda4af07-0877-4d61-b4c0-6d80eba85a33 + 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: + - Wed, 28 Jan 2026 12:09:49 GMT + Pragma: + - no-cache + RequestId: + - b8bb40ae-1362-44e9-970a-000d5173e60f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_exists_success[Reflex].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Reflex].yaml new file mode 100644 index 00000000..6fd46081 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Reflex].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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:09:50 GMT + Pragma: + - no-cache + RequestId: + - 058c0f12-7e3e-4987-96b1-d96f5414611e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '328' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:09:51 GMT + Pragma: + - no-cache + RequestId: + - 4881316f-ba2b-4673-8180-3b4e7f4a9382 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '328' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:09:51 GMT + Pragma: + - no-cache + RequestId: + - 2c97a96f-e530-422a-9d59-64905db3345e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/reflexes + response: + body: + string: '{"id": "e6e79f5b-383c-4045-a730-309dd2c29f9b", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:09:53 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 5f58342f-eb21-4256-98c9-74714fb11856 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:09:54 GMT + Pragma: + - no-cache + RequestId: + - 1c79da8e-f812-445c-b97d-754dcd8cf27e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "e6e79f5b-383c-4045-a730-309dd2c29f9b", + "type": "Reflex", "displayName": "fabcli000001", "description": "Created by + fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '386' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:09:55 GMT + Pragma: + - no-cache + RequestId: + - 456c6bfe-12f9-42eb-b0c5-72cbf7eecee8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:09:55 GMT + Pragma: + - no-cache + RequestId: + - 7f87a65c-d8da-43c6-9a43-1f8feb807fb3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "e6e79f5b-383c-4045-a730-309dd2c29f9b", + "type": "Reflex", "displayName": "fabcli000001", "description": "Created by + fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '386' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:09:56 GMT + Pragma: + - no-cache + RequestId: + - 0a0eb2bc-0253-4f84-9fd4-f803bee91015 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/e6e79f5b-383c-4045-a730-309dd2c29f9b + 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: + - Wed, 28 Jan 2026 12:09:58 GMT + Pragma: + - no-cache + RequestId: + - 44757d24-17e9-41f4-ac1d-87b9907a2a80 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_exists_success[Report].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Report].yaml new file mode 100644 index 00000000..a789c7a9 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Report].yaml @@ -0,0 +1,766 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:09:59 GMT + Pragma: + - no-cache + RequestId: + - 90d5a4ea-7fbd-48aa-8352-df73c9f06aa7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '328' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:09:59 GMT + Pragma: + - no-cache + RequestId: + - 73de82b8-fdd0-4ce8-91ca-7a3a94b10625 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '328' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:10:00 GMT + Pragma: + - no-cache + RequestId: + - 0a7028dc-a6fb-4c5c-9b94-950802199223 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:10:01 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/1af93ce8-db3e-49e4-aae5-b3fb189b1a87 + Pragma: + - no-cache + RequestId: + - 279238b9-6dd8-41d1-b5c2-40e17c372edd + 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: + - 1af93ce8-db3e-49e4-aae5-b3fb189b1a87 + 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/1af93ce8-db3e-49e4-aae5-b3fb189b1a87 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:10:02.1661727", + "lastUpdatedTimeUtc": "2026-01-28T12:10:12.9507309", "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: + - Wed, 28 Jan 2026 12:10:23 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/1af93ce8-db3e-49e4-aae5-b3fb189b1a87/result + Pragma: + - no-cache + RequestId: + - be746a94-495c-4855-9a84-9522b7d85cca + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 1af93ce8-db3e-49e4-aae5-b3fb189b1a87 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/1af93ce8-db3e-49e4-aae5-b3fb189b1a87/result + response: + body: + string: '{"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:10:24 GMT + Pragma: + - no-cache + RequestId: + - 30ad2550-30ee-411b-b4b3-356cf4f07cfe + 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": "eyJ2ZXJzaW9uIjogIjQuMCIsICJkYXRhc2V0UmVmZXJlbmNlIjogeyJieVBhdGgiOiBudWxsLCAiYnlDb25uZWN0aW9uIjogeyJjb25uZWN0aW9uU3RyaW5nIjogIkRhdGEgU291cmNlPXBvd2VyYmk6Ly9hcGkucG93ZXJiaS5jb20vdjEuMC9teW9yZy9ta2RpcjtJbml0aWFsIENhdGFsb2c9cjM7SW50ZWdyYXRlZCBTZWN1cml0eT1DbGFpbXNUb2tlbiIsICJwYmlTZXJ2aWNlTW9kZWxJZCI6IG51bGwsICJwYmlNb2RlbFZpcnR1YWxTZXJ2ZXJOYW1lIjogInNvYmVfd293dmlydHVhbHNlcnZlciIsICJwYmlNb2RlbERhdGFiYXNlTmFtZSI6ICIyZGYzODY2Ny0zODU4LTQ5ODItYmFhMS1jYzhlYzg1MTM3MGIiLCAibmFtZSI6ICJFbnRpdHlEYXRhU291cmNlIiwgImNvbm5lY3Rpb25UeXBlIjogInBiaVNlcnZpY2VYbWxhU3R5bGVMaXZlIn19fQ==", + "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/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:10:27 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/67772710-fa9e-402a-b755-1fb660f51d86 + Pragma: + - no-cache + RequestId: + - e79737f7-02bb-49f7-add6-bf3758bb77b5 + 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: + - 67772710-fa9e-402a-b755-1fb660f51d86 + 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/67772710-fa9e-402a-b755-1fb660f51d86 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:10:27.0935805", + "lastUpdatedTimeUtc": "2026-01-28T12:10:27.7342402", "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: + - Wed, 28 Jan 2026 12:10:48 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/67772710-fa9e-402a-b755-1fb660f51d86/result + Pragma: + - no-cache + RequestId: + - 12bfcf0c-9d6d-4b0b-985c-61510fd2cdb8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 67772710-fa9e-402a-b755-1fb660f51d86 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/67772710-fa9e-402a-b755-1fb660f51d86/result + response: + body: + string: '{"id": "59f9a742-0052-451c-8692-9fcdc8b61e96", "type": "Report", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:10:50 GMT + Pragma: + - no-cache + RequestId: + - c98c3f67-b187-47ae-b106-65b67d7f2fe1 + 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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:10:51 GMT + Pragma: + - no-cache + RequestId: + - 7c6132de-afeb-4025-a7a9-672d8177c2c5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "59f9a742-0052-451c-8692-9fcdc8b61e96", "type": "Report", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "2df38667-3858-4982-baa1-cc8ec851370b", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", + "type": "SQLEndpoint", "displayName": "StagingLakehouseForDataflows_20260128120637", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", "type": "Warehouse", "displayName": + "StagingWarehouseForDataflows_20260128120702", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "3b040332-b777-497c-8b40-272bcccf3953", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128120637", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '420' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:10:51 GMT + Pragma: + - no-cache + RequestId: + - 2a2ac251-b827-4f43-8950-ce993cea332b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:10:53 GMT + Pragma: + - no-cache + RequestId: + - bf19edcc-da9b-4425-bd74-2beebd93c7ed + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "59f9a742-0052-451c-8692-9fcdc8b61e96", "type": "Report", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "2df38667-3858-4982-baa1-cc8ec851370b", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", + "type": "SQLEndpoint", "displayName": "StagingLakehouseForDataflows_20260128120637", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", "type": "Warehouse", "displayName": + "StagingWarehouseForDataflows_20260128120702", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "3b040332-b777-497c-8b40-272bcccf3953", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128120637", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '420' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:10:53 GMT + Pragma: + - no-cache + RequestId: + - 60f3f4df-2d50-4e9a-b0e4-e17c9883b4ef + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/59f9a742-0052-451c-8692-9fcdc8b61e96 + 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: + - Wed, 28 Jan 2026 12:10:54 GMT + Pragma: + - no-cache + RequestId: + - 8da0f1d9-8281-4886-a840-61c5f0c6b089 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_exists_success[SQLDatabase].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[SQLDatabase].yaml new file mode 100644 index 00000000..46b543ad --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[SQLDatabase].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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:10:56 GMT + Pragma: + - no-cache + RequestId: + - ba6fc89b-cbc8-40a4-89cc-349377636f18 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '363' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:10:57 GMT + Pragma: + - no-cache + RequestId: + - adb6591b-e7a0-49af-b73e-82dc31fb8765 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '363' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:10:57 GMT + Pragma: + - no-cache + RequestId: + - 0cd63699-0e0a-466d-8e73-48860e2f706a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:10:59 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/5247b843-783d-4eed-9598-4148c816b705 + Pragma: + - no-cache + RequestId: + - f49fd631-e1c9-4f1d-8e5b-bf5287ffbdad + 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: + - 5247b843-783d-4eed-9598-4148c816b705 + 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/5247b843-783d-4eed-9598-4148c816b705 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:10:58.8971296", + "lastUpdatedTimeUtc": "2026-01-28T12:11:12.4146815", "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: + - Wed, 28 Jan 2026 12:11:21 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/5247b843-783d-4eed-9598-4148c816b705/result + Pragma: + - no-cache + RequestId: + - 2981871a-9041-465a-9695-5439d52ae3ff + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 5247b843-783d-4eed-9598-4148c816b705 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/5247b843-783d-4eed-9598-4148c816b705/result + response: + body: + string: '{"id": "8da54052-2c09-4114-b595-06cac32c2236", "type": "SQLDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:11:22 GMT + Pragma: + - no-cache + RequestId: + - 4b5deffa-01a1-446d-8753-bef0ee346447 + 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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:11:23 GMT + Pragma: + - no-cache + RequestId: + - 34f0b489-5e26-42b2-a3b7-259bed4480cc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "328f6bac-34d1-4357-9681-1f2544145d11", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "8da54052-2c09-4114-b595-06cac32c2236", + "type": "SQLDatabase", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '451' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:11:24 GMT + Pragma: + - no-cache + RequestId: + - e4e72e30-dc53-4b52-b22a-441c825a9145 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:11:25 GMT + Pragma: + - no-cache + RequestId: + - 014a9772-3b74-4737-9d49-a7da57eb43a4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "328f6bac-34d1-4357-9681-1f2544145d11", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "8da54052-2c09-4114-b595-06cac32c2236", + "type": "SQLDatabase", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '451' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:11:26 GMT + Pragma: + - no-cache + RequestId: + - f8db4525-deb7-4eca-afe6-fd3df3128a3b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/8da54052-2c09-4114-b595-06cac32c2236 + 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: + - Wed, 28 Jan 2026 12:11:26 GMT + Pragma: + - no-cache + RequestId: + - df332678-44a0-4690-ae94-21515ede14fb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_exists_success[SemanticModel].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[SemanticModel].yaml new file mode 100644 index 00000000..dbc07451 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[SemanticModel].yaml @@ -0,0 +1,605 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:11:28 GMT + Pragma: + - no-cache + RequestId: + - 3c3325f0-098d-497b-9c7f-ec89ab6cc289 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '363' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:11:28 GMT + Pragma: + - no-cache + RequestId: + - 204e846c-7f98-4d06-b5a7-bf3b66a96924 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '363' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:11:30 GMT + Pragma: + - no-cache + RequestId: + - f1ad6bc8-7cb9-4e42-b46c-3d89760f0f28 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:11:31 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/53f378c9-a104-4302-beed-101d01591428 + Pragma: + - no-cache + RequestId: + - a23ab742-3337-4fa9-b88b-c14270d1f257 + 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: + - 53f378c9-a104-4302-beed-101d01591428 + 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/53f378c9-a104-4302-beed-101d01591428 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:11:31.2834961", + "lastUpdatedTimeUtc": "2026-01-28T12:11:42.113814", "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: + - Wed, 28 Jan 2026 12:11:52 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/53f378c9-a104-4302-beed-101d01591428/result + Pragma: + - no-cache + RequestId: + - ee13be05-2551-44f7-ba41-e0a2939f85f9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 53f378c9-a104-4302-beed-101d01591428 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/53f378c9-a104-4302-beed-101d01591428/result + response: + body: + string: '{"id": "6748a56c-2232-46ae-86ca-4013e0134c3f", "type": "SemanticModel", + "displayName": "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:11:53 GMT + Pragma: + - no-cache + RequestId: + - 3f3f27a1-c6f5-406e-911e-aac5499dc04a + 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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:11:54 GMT + Pragma: + - no-cache + RequestId: + - f876a5aa-1c82-4c5a-afeb-bbbb810aa60d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "6748a56c-2232-46ae-86ca-4013e0134c3f", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '402' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:11:55 GMT + Pragma: + - no-cache + RequestId: + - 5befa1e5-719a-4ff8-be15-3c940748594a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:11:55 GMT + Pragma: + - no-cache + RequestId: + - b9d15e40-1e8a-4612-b9c2-0af62a841f77 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "6748a56c-2232-46ae-86ca-4013e0134c3f", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '402' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:11:56 GMT + Pragma: + - no-cache + RequestId: + - dd155bfa-2c7f-4991-b35f-a77cf82f9985 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/6748a56c-2232-46ae-86ca-4013e0134c3f + 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: + - Wed, 28 Jan 2026 12:11:58 GMT + Pragma: + - no-cache + RequestId: + - e6c52683-1a02-43d2-986e-c34030e8187a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_exists_success[SparkJobDefinition].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[SparkJobDefinition].yaml new file mode 100644 index 00000000..f750ba20 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[SparkJobDefinition].yaml @@ -0,0 +1,500 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:11:59 GMT + Pragma: + - no-cache + RequestId: + - 32b02cd0-5596-46e6-b50a-931cc7c76b5f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '363' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:12:00 GMT + Pragma: + - no-cache + RequestId: + - 9b242db4-2a8e-47fa-b95e-b16b11cbccf5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '363' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:12:02 GMT + Pragma: + - no-cache + RequestId: + - 7d72e12f-8fbb-441b-9818-ec36491e98b4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/sparkJobDefinitions + response: + body: + string: '{"id": "38c609c7-acfa-42b9-a814-16dbec5b6898", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:12:04 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 46994ac5-e675-4169-a297-733599e97049 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:12:05 GMT + Pragma: + - no-cache + RequestId: + - 96e9470a-3099-4e6d-9794-a78e078ad3d8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "38c609c7-acfa-42b9-a814-16dbec5b6898", + "type": "SparkJobDefinition", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '431' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:12:07 GMT + Pragma: + - no-cache + RequestId: + - 2e14c2d4-c1bf-48a4-85df-dad532df1773 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:12:08 GMT + Pragma: + - no-cache + RequestId: + - dcc3a25c-8696-4d9f-8abe-71b648d04792 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "38c609c7-acfa-42b9-a814-16dbec5b6898", + "type": "SparkJobDefinition", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '431' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:12:09 GMT + Pragma: + - no-cache + RequestId: + - 56103698-4726-4501-924a-64e61b65496f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/38c609c7-acfa-42b9-a814-16dbec5b6898 + 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: + - Wed, 28 Jan 2026 12:12:10 GMT + Pragma: + - no-cache + RequestId: + - 51b13f45-e6c8-4640-bc30-b02da15fa5d6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_exists_success[Warehouse].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Warehouse].yaml new file mode 100644 index 00000000..9d4f1555 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Warehouse].yaml @@ -0,0 +1,600 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:12:10 GMT + Pragma: + - no-cache + RequestId: + - dd9ec94f-8984-44b5-bfb5-c2237569822d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '363' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:12:11 GMT + Pragma: + - no-cache + RequestId: + - e9632777-eb6c-4a73-bffc-dbf0347caa62 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '363' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:12:12 GMT + Pragma: + - no-cache + RequestId: + - 9f01c785-d8ea-46c4-a8d7-6eecd6f9c718 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:12:13 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/59a53e39-516b-424d-945e-ac277003ed81 + Pragma: + - no-cache + RequestId: + - 45edab44-49fe-4bf8-afd3-314785740907 + 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: + - 59a53e39-516b-424d-945e-ac277003ed81 + 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/59a53e39-516b-424d-945e-ac277003ed81 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:12:13.842156", + "lastUpdatedTimeUtc": "2026-01-28T12:12:22.2194224", "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: + - Wed, 28 Jan 2026 12:12:34 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/59a53e39-516b-424d-945e-ac277003ed81/result + Pragma: + - no-cache + RequestId: + - 2712c9e2-5f0d-487e-8021-0f95f702fd9c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 59a53e39-516b-424d-945e-ac277003ed81 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/59a53e39-516b-424d-945e-ac277003ed81/result + response: + body: + string: '{"id": "fddb18a7-8fb9-4fa4-bab0-dc498831649e", "type": "Warehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:12:35 GMT + Pragma: + - no-cache + RequestId: + - d97cc2f9-3228-4f0c-a370-2a5107ab73a3 + 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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:12:36 GMT + Pragma: + - no-cache + RequestId: + - 68b413fa-01ab-4c9b-89f0-fec8b931c291 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "fddb18a7-8fb9-4fa4-bab0-dc498831649e", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '416' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:12:37 GMT + Pragma: + - no-cache + RequestId: + - b39718fb-5a74-4f8d-a58b-46aa5b96e7c9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:12:38 GMT + Pragma: + - no-cache + RequestId: + - d8343c08-54ac-4cf9-8600-800c7ed70656 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "fddb18a7-8fb9-4fa4-bab0-dc498831649e", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '416' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:12:39 GMT + Pragma: + - no-cache + RequestId: + - 5c0a8052-4c81-47ff-8a47-00caae6c5140 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/fddb18a7-8fb9-4fa4-bab0-dc498831649e + 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: + - Wed, 28 Jan 2026 12:12:40 GMT + Pragma: + - no-cache + RequestId: + - ace54ea5-b877-49a7-b9af-e93786494935 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_onelake_doesnt_exist_success[KQLDatabase-Tables].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[KQLDatabase-Tables].yaml new file mode 100644 index 00000000..f5b7124f --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[KQLDatabase-Tables].yaml @@ -0,0 +1,821 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:15:56 GMT + Pragma: + - no-cache + RequestId: + - 5980205b-e926-4305-8a70-8d4dc7a68eb3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '453' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:15:57 GMT + Pragma: + - no-cache + RequestId: + - 0c865ed3-d71e-48f5-b8da-686b8b13ce45 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '453' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:15:58 GMT + Pragma: + - no-cache + RequestId: + - 7f2ed3da-9368-4225-800b-53aa6a606ead + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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": + "Eventhouse", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '113' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/eventhouses + response: + body: + string: '{"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", + "displayName": "fabcli000001_auto", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:16:02 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - f4771e38-5153-4b6f-95c8-49b51ed8c27d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "KQLDatabase", "folderId": null, "creationPayload": {"databaseType": "ReadWrite", + "parentEventhouseItemId": "d5691741-adcf-43af-8a8c-12a411e3366b"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '225' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/kqlDatabases + 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: + - Wed, 28 Jan 2026 12:16:03 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/ecfb2047-185c-4ded-aa9c-bb47ad551b15 + Pragma: + - no-cache + RequestId: + - d0891c31-8f0f-4877-aad0-1eef35d4ac33 + 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: + - ecfb2047-185c-4ded-aa9c-bb47ad551b15 + 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/ecfb2047-185c-4ded-aa9c-bb47ad551b15 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:16:02.9964504", + "lastUpdatedTimeUtc": "2026-01-28T12:16:07.7634705", "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: + - Wed, 28 Jan 2026 12:16:25 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/ecfb2047-185c-4ded-aa9c-bb47ad551b15/result + Pragma: + - no-cache + RequestId: + - 2a11d067-107e-4298-bf68-f5abef07c577 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - ecfb2047-185c-4ded-aa9c-bb47ad551b15 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/ecfb2047-185c-4ded-aa9c-bb47ad551b15/result + response: + body: + string: '{"id": "ffd43826-0023-4921-a4be-bb8deae8e318", "type": "KQLDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:16:26 GMT + Pragma: + - no-cache + RequestId: + - dd8b2eb9-d8ca-4258-9a80-ce7c05d8eb28 + 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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:16:27 GMT + Pragma: + - no-cache + RequestId: + - d343a110-5ed4-4d7b-9d76-0407b7664f3d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "ffd43826-0023-4921-a4be-bb8deae8e318", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '577' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:16:27 GMT + Pragma: + - no-cache + RequestId: + - 686269a8-6581-4b59-961e-675d059b7c60 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: HEAD + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/ffd43826-0023-4921-a4be-bb8deae8e318/Tables/non_existent_file.txt + response: + body: + string: '' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Date: + - Wed, 28 Jan 2026 12:16:30 GMT + Server: + - Windows-Azure-Blob/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - BlobNotFound + status: + code: 404 + message: The specified blob does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: HEAD + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/ffd43826-0023-4921-a4be-bb8deae8e318/Tables/non_existent_file.txt + response: + body: + string: '' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Date: + - Wed, 28 Jan 2026 12:16:32 GMT + Server: + - Windows-Azure-Blob/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - BlobNotFound + status: + code: 404 + message: The specified blob does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/?recursive=false&resource=filesystem&directory=ffd43826-0023-4921-a4be-bb8deae8e318%2FTables%2Fnon_existent_file.txt&getShortcutMetadata=true + response: + body: + string: '{"error": {"code": "PathNotFound", "message": "The specified path does + not exist.\nRequestId:ad8b7933-c01f-0003-554f-900626000000\nTime:2026-01-28T12:16:34.6658009Z"}}' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Content-Length: + - '163' + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:16:34 GMT + Server: + - Windows-Azure-HDFS/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - PathNotFound + status: + code: 404 + message: The specified path does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:16:35 GMT + Pragma: + - no-cache + RequestId: + - cdadd0bb-2bbd-449e-a1e7-22873ce21c9f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "ffd43826-0023-4921-a4be-bb8deae8e318", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '577' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:16:35 GMT + Pragma: + - no-cache + RequestId: + - 2834ec3c-4372-49d1-a2ac-272a817a9d7c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/ffd43826-0023-4921-a4be-bb8deae8e318 + 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: + - Wed, 28 Jan 2026 12:16:37 GMT + Pragma: + - no-cache + RequestId: + - 1e309280-c044-4e98-b5eb-6c3c0d5e0b59 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_onelake_doesnt_exist_success[Lakehouse-Files].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[Lakehouse-Files].yaml new file mode 100644 index 00000000..615c4051 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[Lakehouse-Files].yaml @@ -0,0 +1,645 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:13:07 GMT + Pragma: + - no-cache + RequestId: + - dc8a1cff-0173-4130-b9d7-2bb316cddb34 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '398' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:13:08 GMT + Pragma: + - no-cache + RequestId: + - 05affe24-ea4e-4756-b89e-2ed59b1f9fb8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '398' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:13:09 GMT + Pragma: + - no-cache + RequestId: + - be338b07-bdd9-4b10-9105-5c373201f1d5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/lakehouses + response: + body: + string: '{"id": "a8b0649e-4809-4f8d-b3e8-956de1a78513", "type": "Lakehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:13:12 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 5ee8a018-70c0-40bd-8cef-1de99022d474 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:13:12 GMT + Pragma: + - no-cache + RequestId: + - 70e456f6-59cd-4534-900f-d9a895171635 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "3b040332-b777-497c-8b40-272bcccf3953", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128120637", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "a8b0649e-4809-4f8d-b3e8-956de1a78513", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:13:13 GMT + Pragma: + - no-cache + RequestId: + - 3675aabc-d327-45a2-802a-71dc63a4b1fe + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: HEAD + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/a8b0649e-4809-4f8d-b3e8-956de1a78513/Files/non_existent_file.txt + response: + body: + string: '' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Date: + - Wed, 28 Jan 2026 12:13:16 GMT + Server: + - Windows-Azure-Blob/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - BlobNotFound + status: + code: 404 + message: The specified blob does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: HEAD + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/a8b0649e-4809-4f8d-b3e8-956de1a78513/Files/non_existent_file.txt + response: + body: + string: '' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Date: + - Wed, 28 Jan 2026 12:13:18 GMT + Server: + - Windows-Azure-Blob/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - BlobNotFound + status: + code: 404 + message: The specified blob does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/?recursive=false&resource=filesystem&directory=a8b0649e-4809-4f8d-b3e8-956de1a78513%2FFiles%2Fnon_existent_file.txt&getShortcutMetadata=true + response: + body: + string: '{"error": {"code": "PathNotFound", "message": "The specified path does + not exist.\nRequestId:5cf2a91b-b01f-0004-2a4f-9054f2000000\nTime:2026-01-28T12:13:21.8667355Z"}}' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Content-Length: + - '163' + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:13:21 GMT + Server: + - Windows-Azure-HDFS/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - PathNotFound + status: + code: 404 + message: The specified path does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:13:22 GMT + Pragma: + - no-cache + RequestId: + - e0197ae1-eaab-47d3-9139-0751007bf6f9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "8b735e13-5489-43ff-b7fa-b0c4e8f2783b", + "type": "SQLEndpoint", "displayName": "fabcli000001", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "3b040332-b777-497c-8b40-272bcccf3953", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128120637", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "a8b0649e-4809-4f8d-b3e8-956de1a78513", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '504' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:13:22 GMT + Pragma: + - no-cache + RequestId: + - aaeb11a9-df5c-49d6-8009-1344fc605885 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/a8b0649e-4809-4f8d-b3e8-956de1a78513 + 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: + - Wed, 28 Jan 2026 12:13:23 GMT + Pragma: + - no-cache + RequestId: + - af65f741-08e5-4707-af5f-e0c2fc4f5282 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_onelake_doesnt_exist_success[Lakehouse-Tables].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[Lakehouse-Tables].yaml new file mode 100644 index 00000000..5e61a22f --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[Lakehouse-Tables].yaml @@ -0,0 +1,659 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:13:24 GMT + Pragma: + - no-cache + RequestId: + - 4c1138a4-f135-4075-bba7-1d04e3585dff + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '453' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:13:24 GMT + Pragma: + - no-cache + RequestId: + - 064735a6-3cdc-4178-8459-ec648dcb4ff8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '453' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:13:26 GMT + Pragma: + - no-cache + RequestId: + - 81ad2c2f-dbb4-447b-aad6-bad587e9564c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/lakehouses + response: + body: + string: '{"id": "ea7c9d84-c951-416e-8a12-739697556f9f", "type": "Lakehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:13:29 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 76cf4ba7-d6c2-47ae-b922-bc4267bf0579 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:13:30 GMT + Pragma: + - no-cache + RequestId: + - d7f32492-79a3-4e3c-be13-8b4551d56020 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "ea7c9d84-c951-416e-8a12-739697556f9f", "type": "Lakehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '505' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:13:30 GMT + Pragma: + - no-cache + RequestId: + - 98ca20b0-31f7-4cf0-bf0b-de3949eb65ab + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: HEAD + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/ea7c9d84-c951-416e-8a12-739697556f9f/Tables/non_existent_file.txt + response: + body: + string: '' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Date: + - Wed, 28 Jan 2026 12:13:32 GMT + Server: + - Windows-Azure-Blob/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - BlobNotFound + status: + code: 404 + message: The specified blob does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: HEAD + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/ea7c9d84-c951-416e-8a12-739697556f9f/Tables/non_existent_file.txt + response: + body: + string: '' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Date: + - Wed, 28 Jan 2026 12:13:34 GMT + Server: + - Windows-Azure-Blob/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - BlobNotFound + status: + code: 404 + message: The specified blob does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/?recursive=false&resource=filesystem&directory=ea7c9d84-c951-416e-8a12-739697556f9f%2FTables%2Fnon_existent_file.txt&getShortcutMetadata=true + response: + body: + string: '{"error": {"code": "PathNotFound", "message": "The specified path does + not exist.\nRequestId:ecde78d1-001f-007e-2a4f-907705000000\nTime:2026-01-28T12:13:37.3752049Z"}}' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Content-Length: + - '163' + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:13:37 GMT + Server: + - Windows-Azure-HDFS/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - PathNotFound + status: + code: 404 + message: The specified path does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:13:37 GMT + Pragma: + - no-cache + RequestId: + - 68891786-007f-4b51-bb2b-1c7ec76590d4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "cb1c6c3f-95ba-43ab-a44c-51fcfc9f5f14", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "ea7c9d84-c951-416e-8a12-739697556f9f", "type": "Lakehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '533' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:13:38 GMT + Pragma: + - no-cache + RequestId: + - 7f7cabcc-0bc7-482c-aa0a-632fed6c43d7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/ea7c9d84-c951-416e-8a12-739697556f9f + 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: + - Wed, 28 Jan 2026 12:13:39 GMT + Pragma: + - no-cache + RequestId: + - e1e581fe-f418-41ab-9ccb-dedab3d893a0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_onelake_doesnt_exist_success[MirroredDatabase-Files].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[MirroredDatabase-Files].yaml new file mode 100644 index 00000000..3422f5a3 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[MirroredDatabase-Files].yaml @@ -0,0 +1,679 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:18:08 GMT + Pragma: + - no-cache + RequestId: + - e3785640-8c6f-4464-9a43-0032ae94befe + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '550' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:18:09 GMT + Pragma: + - no-cache + RequestId: + - 48e07260-3577-45cf-b802-d35bafef0aef + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '550' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:18:10 GMT + Pragma: + - no-cache + RequestId: + - 09f4889e-216a-4a3c-a119-6dab4b1afb70 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/mirroredDatabases + response: + body: + string: '{"id": "2f5dadcf-ebd6-4d26-8558-bcac85a6eb3e", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:18:12 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - a00651e4-8f98-41fc-90e1-ab4f9f470d5e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:18:13 GMT + Pragma: + - no-cache + RequestId: + - e6157af8-04dc-4189-b018-bfc3c9039819 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2f5dadcf-ebd6-4d26-8558-bcac85a6eb3e", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '591' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:18:14 GMT + Pragma: + - no-cache + RequestId: + - bdddf853-82f7-4dbb-b07e-3f91e6fb880b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: HEAD + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/2f5dadcf-ebd6-4d26-8558-bcac85a6eb3e/Files/non_existent_file.txt + response: + body: + string: '' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Date: + - Wed, 28 Jan 2026 12:18:16 GMT + Server: + - Windows-Azure-Blob/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - BlobNotFound + status: + code: 404 + message: The specified blob does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: HEAD + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/2f5dadcf-ebd6-4d26-8558-bcac85a6eb3e/Files/non_existent_file.txt + response: + body: + string: '' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Date: + - Wed, 28 Jan 2026 12:18:17 GMT + Server: + - Windows-Azure-Blob/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - BlobNotFound + status: + code: 404 + message: The specified blob does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/?recursive=false&resource=filesystem&directory=2f5dadcf-ebd6-4d26-8558-bcac85a6eb3e%2FFiles%2Fnon_existent_file.txt&getShortcutMetadata=true + response: + body: + string: '{"error": {"code": "PathNotFound", "message": "The specified path does + not exist.\nRequestId:193e52bd-301f-00e8-7350-90cd79000000\nTime:2026-01-28T12:18:20.6468935Z"}}' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Content-Length: + - '163' + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:18:20 GMT + Server: + - Windows-Azure-HDFS/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - PathNotFound + status: + code: 404 + message: The specified path does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:18:21 GMT + Pragma: + - no-cache + RequestId: + - 2474f75a-209e-4e40-bacd-877b180e7afb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d9177936-4fa6-4b75-a67c-eb1c85a74018", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2f5dadcf-ebd6-4d26-8558-bcac85a6eb3e", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '623' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:18:21 GMT + Pragma: + - no-cache + RequestId: + - dc280604-c86d-4b1f-8db5-375f8ae10737 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/2f5dadcf-ebd6-4d26-8558-bcac85a6eb3e + 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: + - Wed, 28 Jan 2026 12:18:23 GMT + Pragma: + - no-cache + RequestId: + - ca3a57e3-d1d4-4a73-a8ae-bbd557f95179 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_onelake_doesnt_exist_success[MirroredDatabase-Tables].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[MirroredDatabase-Tables].yaml new file mode 100644 index 00000000..67d6ec71 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[MirroredDatabase-Tables].yaml @@ -0,0 +1,679 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:17:52 GMT + Pragma: + - no-cache + RequestId: + - 55790efa-8bc4-4382-b146-e0309f3ec95a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '550' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:17:53 GMT + Pragma: + - no-cache + RequestId: + - c854edd9-d1c3-443b-975f-4338cb9d350e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '550' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:17:54 GMT + Pragma: + - no-cache + RequestId: + - 53e17bbb-5922-4fe9-b177-a4fdd1910ada + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/mirroredDatabases + response: + body: + string: '{"id": "f8bb9242-6f40-4047-a48a-9626d30a6904", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:17:57 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 33079f4b-4ef6-4338-b057-2b1951a01e57 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:17:58 GMT + Pragma: + - no-cache + RequestId: + - 06f4dae6-2660-4127-b9ff-bdf3f08b93a6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "f8bb9242-6f40-4047-a48a-9626d30a6904", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '591' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:17:59 GMT + Pragma: + - no-cache + RequestId: + - b3f69fb4-88eb-4c20-aada-34745c36c63f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: HEAD + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/f8bb9242-6f40-4047-a48a-9626d30a6904/Tables/non_existent_file.txt + response: + body: + string: '' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Date: + - Wed, 28 Jan 2026 12:18:01 GMT + Server: + - Windows-Azure-Blob/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - BlobNotFound + status: + code: 404 + message: The specified blob does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: HEAD + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/f8bb9242-6f40-4047-a48a-9626d30a6904/Tables/non_existent_file.txt + response: + body: + string: '' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Date: + - Wed, 28 Jan 2026 12:18:02 GMT + Server: + - Windows-Azure-Blob/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - BlobNotFound + status: + code: 404 + message: The specified blob does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/?recursive=false&resource=filesystem&directory=f8bb9242-6f40-4047-a48a-9626d30a6904%2FTables%2Fnon_existent_file.txt&getShortcutMetadata=true + response: + body: + string: '{"error": {"code": "PathNotFound", "message": "The specified path does + not exist.\nRequestId:88941aed-801f-0067-1a50-907cbf000000\nTime:2026-01-28T12:18:05.3028777Z"}}' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Content-Length: + - '163' + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:18:04 GMT + Server: + - Windows-Azure-HDFS/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - PathNotFound + status: + code: 404 + message: The specified path does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:18:06 GMT + Pragma: + - no-cache + RequestId: + - 2f460bd1-e0fb-418d-b0df-0d9f80569104 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "f0ad4594-8aa5-4508-a23c-4e0e23ac5708", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "f8bb9242-6f40-4047-a48a-9626d30a6904", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '623' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:18:07 GMT + Pragma: + - no-cache + RequestId: + - 8513bc8a-d3f8-4175-bef5-db29624f819a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/f8bb9242-6f40-4047-a48a-9626d30a6904 + 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: + - Wed, 28 Jan 2026 12:18:07 GMT + Pragma: + - no-cache + RequestId: + - 7803c73c-d647-4664-8ea0-f6afa27192a8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_onelake_doesnt_exist_success[SQLDatabase-Files].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[SQLDatabase-Files].yaml new file mode 100644 index 00000000..1719a773 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[SQLDatabase-Files].yaml @@ -0,0 +1,777 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:17:15 GMT + Pragma: + - no-cache + RequestId: + - 6cb8ea2e-a2a6-47c8-b8c1-9f5899e6e28b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '550' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:17:15 GMT + Pragma: + - no-cache + RequestId: + - 2000714d-b9bc-4a3d-b959-8a4b055d8867 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '550' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:17:16 GMT + Pragma: + - no-cache + RequestId: + - fb99cdf6-51b0-4e94-a5e1-d73db1d163af + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:17:18 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b66531cd-6672-4b73-ab31-2a47202c5525 + Pragma: + - no-cache + RequestId: + - 92a8efe2-e4f5-4723-83bd-65ddc46e7c55 + 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: + - b66531cd-6672-4b73-ab31-2a47202c5525 + 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/b66531cd-6672-4b73-ab31-2a47202c5525 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:17:17.9542679", + "lastUpdatedTimeUtc": "2026-01-28T12:17:31.2843254", "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: + - Wed, 28 Jan 2026 12:17:40 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b66531cd-6672-4b73-ab31-2a47202c5525/result + Pragma: + - no-cache + RequestId: + - 0e454e74-267b-4cdd-81b4-1329d273fc1a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - b66531cd-6672-4b73-ab31-2a47202c5525 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/b66531cd-6672-4b73-ab31-2a47202c5525/result + response: + body: + string: '{"id": "2f558699-ced8-4fed-a2d4-9a40e1724201", "type": "SQLDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:17:41 GMT + Pragma: + - no-cache + RequestId: + - b07a759b-a27f-430a-b0ea-a955a919731d + 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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:17:42 GMT + Pragma: + - no-cache + RequestId: + - 3625ecee-b475-4a8c-83c8-9eb88411105d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3addf5a3-5ed3-41cb-8d24-7a42c3cd1106", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2f558699-ced8-4fed-a2d4-9a40e1724201", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:17:42 GMT + Pragma: + - no-cache + RequestId: + - 4cd65c36-1db4-4d99-a55f-e942febdff4c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: HEAD + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/2f558699-ced8-4fed-a2d4-9a40e1724201/Files/non_existent_file.txt + response: + body: + string: '' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Date: + - Wed, 28 Jan 2026 12:17:44 GMT + Server: + - Windows-Azure-Blob/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - BlobNotFound + status: + code: 404 + message: The specified blob does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: HEAD + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/2f558699-ced8-4fed-a2d4-9a40e1724201/Files/non_existent_file.txt + response: + body: + string: '' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Date: + - Wed, 28 Jan 2026 12:17:46 GMT + Server: + - Windows-Azure-Blob/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - BlobNotFound + status: + code: 404 + message: The specified blob does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/?recursive=false&resource=filesystem&directory=2f558699-ced8-4fed-a2d4-9a40e1724201%2FFiles%2Fnon_existent_file.txt&getShortcutMetadata=true + response: + body: + string: '{"error": {"code": "PathNotFound", "message": "The specified path does + not exist.\nRequestId:9b15ec62-f01f-0030-3c50-9070d5000000\nTime:2026-01-28T12:17:49.3234239Z"}}' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Content-Length: + - '163' + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:17:48 GMT + Server: + - Windows-Azure-HDFS/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - PathNotFound + status: + code: 404 + message: The specified path does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:17:50 GMT + Pragma: + - no-cache + RequestId: + - b91ef93a-a9ab-4406-8eb5-c37930ac1399 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3addf5a3-5ed3-41cb-8d24-7a42c3cd1106", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2f558699-ced8-4fed-a2d4-9a40e1724201", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + 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: + - Wed, 28 Jan 2026 12:17:50 GMT + Pragma: + - no-cache + RequestId: + - 6d5580be-4ec0-4f55-b5ed-ff83bcac6cdc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/2f558699-ced8-4fed-a2d4-9a40e1724201 + 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: + - Wed, 28 Jan 2026 12:17:51 GMT + Pragma: + - no-cache + RequestId: + - c873fb22-f222-4ac2-82cd-02b4738b467a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_onelake_doesnt_exist_success[SQLDatabase-Tables].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[SQLDatabase-Tables].yaml new file mode 100644 index 00000000..1546890d --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[SQLDatabase-Tables].yaml @@ -0,0 +1,777 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:16:37 GMT + Pragma: + - no-cache + RequestId: + - 71756e37-d1ea-441a-8d1e-6cb04b7e0526 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '550' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:16:39 GMT + Pragma: + - no-cache + RequestId: + - 732a60b3-8e4f-4b0a-95d2-5431154feda9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '550' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:16:40 GMT + Pragma: + - no-cache + RequestId: + - e9dbf156-b154-4d36-be76-fdafa696aa1d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:16:40 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b7caa35f-29b7-4740-89ae-3473977a81f0 + Pragma: + - no-cache + RequestId: + - 3be609ea-db21-42f6-b4fe-02efa982ac7a + 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: + - b7caa35f-29b7-4740-89ae-3473977a81f0 + 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/b7caa35f-29b7-4740-89ae-3473977a81f0 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:16:40.9890656", + "lastUpdatedTimeUtc": "2026-01-28T12:16:53.9456352", "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: + - Wed, 28 Jan 2026 12:17:03 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b7caa35f-29b7-4740-89ae-3473977a81f0/result + Pragma: + - no-cache + RequestId: + - 27e4ed89-42b3-4a67-b79a-b420410e21fb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - b7caa35f-29b7-4740-89ae-3473977a81f0 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/b7caa35f-29b7-4740-89ae-3473977a81f0/result + response: + body: + string: '{"id": "155f8696-f899-47f3-b01a-da4a5fbac026", "type": "SQLDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:17:04 GMT + Pragma: + - no-cache + RequestId: + - a15a23af-1cb9-42f1-9c93-d1f5a2039201 + 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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:17:04 GMT + Pragma: + - no-cache + RequestId: + - 8ac5c7c7-e6ff-4e07-ac61-31b511004755 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "ff78b6a9-a652-42a5-b707-5214f31fe571", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "155f8696-f899-47f3-b01a-da4a5fbac026", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '620' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:17:05 GMT + Pragma: + - no-cache + RequestId: + - d130c8ab-a229-471e-b2a0-5c522f71414c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: HEAD + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/155f8696-f899-47f3-b01a-da4a5fbac026/Tables/non_existent_file.txt + response: + body: + string: '' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Date: + - Wed, 28 Jan 2026 12:17:08 GMT + Server: + - Windows-Azure-Blob/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - BlobNotFound + status: + code: 404 + message: The specified blob does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: HEAD + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/155f8696-f899-47f3-b01a-da4a5fbac026/Tables/non_existent_file.txt + response: + body: + string: '' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Date: + - Wed, 28 Jan 2026 12:17:09 GMT + Server: + - Windows-Azure-Blob/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - BlobNotFound + status: + code: 404 + message: The specified blob does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/?recursive=false&resource=filesystem&directory=155f8696-f899-47f3-b01a-da4a5fbac026%2FTables%2Fnon_existent_file.txt&getShortcutMetadata=true + response: + body: + string: '{"error": {"code": "PathNotFound", "message": "The specified path does + not exist.\nRequestId:9d03b7a0-201f-0054-0b50-901678000000\nTime:2026-01-28T12:17:12.0733891Z"}}' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Content-Length: + - '163' + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:17:12 GMT + Server: + - Windows-Azure-HDFS/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - PathNotFound + status: + code: 404 + message: The specified path does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:17:12 GMT + Pragma: + - no-cache + RequestId: + - c969d13a-5954-4579-b55c-5b736a011407 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "ff78b6a9-a652-42a5-b707-5214f31fe571", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "155f8696-f899-47f3-b01a-da4a5fbac026", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '620' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:17:13 GMT + Pragma: + - no-cache + RequestId: + - 4180b7bb-eb7d-4a8f-bfa5-bad70ea286bb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/155f8696-f899-47f3-b01a-da4a5fbac026 + 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: + - Wed, 28 Jan 2026 12:17:14 GMT + Pragma: + - no-cache + RequestId: + - c6550878-12fd-44ee-abb3-bedee3f6d8e7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_onelake_doesnt_exist_success[SemanticModel-Tables].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[SemanticModel-Tables].yaml new file mode 100644 index 00000000..3d5978c0 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[SemanticModel-Tables].yaml @@ -0,0 +1,762 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:14:55 GMT + Pragma: + - no-cache + RequestId: + - e14179d4-5a9b-4ceb-a385-37fcb3969a34 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '453' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:14:56 GMT + Pragma: + - no-cache + RequestId: + - 795c59fd-e95c-4ee6-95ea-e2bc91a1b002 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '453' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:14:57 GMT + Pragma: + - no-cache + RequestId: + - 534a7c1d-2ea3-4abc-9fb7-1b2e03d14bdc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:14:58 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/e4ea4b14-ac6b-4951-899c-5b08cf38df04 + Pragma: + - no-cache + RequestId: + - 78a838cd-687c-4a83-a4a1-b745523739d0 + 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: + - e4ea4b14-ac6b-4951-899c-5b08cf38df04 + 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/e4ea4b14-ac6b-4951-899c-5b08cf38df04 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:14:58.7140047", + "lastUpdatedTimeUtc": "2026-01-28T12:15:10.2156306", "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: + - Wed, 28 Jan 2026 12:15:20 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/e4ea4b14-ac6b-4951-899c-5b08cf38df04/result + Pragma: + - no-cache + RequestId: + - 3b0b79bf-8b00-4e3c-a7af-c4d64578f973 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - e4ea4b14-ac6b-4951-899c-5b08cf38df04 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/e4ea4b14-ac6b-4951-899c-5b08cf38df04/result + response: + body: + string: '{"id": "91e77d5b-e7de-4f43-95b2-6170ac0dc5f8", "type": "SemanticModel", + "displayName": "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:15:21 GMT + Pragma: + - no-cache + RequestId: + - 3b0a2b24-1450-4463-ac44-772c0c92c5ca + 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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:15:21 GMT + Pragma: + - no-cache + RequestId: + - e94d3aed-5c26-4f34-ae94-05b2a9c92aee + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "91e77d5b-e7de-4f43-95b2-6170ac0dc5f8", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '488' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:15:23 GMT + Pragma: + - no-cache + RequestId: + - f5e19758-abea-44ca-8101-882ce2c18b62 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: HEAD + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/91e77d5b-e7de-4f43-95b2-6170ac0dc5f8/Tables/non_existent_file.txt + response: + body: + string: '' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Content-Length: + - '0' + Date: + - Wed, 28 Jan 2026 12:15:25 GMT + Server: + - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - ArtifactNotFound + status: + code: 404 + message: NotFound +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: HEAD + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/91e77d5b-e7de-4f43-95b2-6170ac0dc5f8/Tables/non_existent_file.txt + response: + body: + string: '' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Content-Length: + - '0' + Date: + - Wed, 28 Jan 2026 12:15:27 GMT + Server: + - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - ArtifactNotFound + status: + code: 404 + message: NotFound +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/?recursive=false&resource=filesystem&directory=91e77d5b-e7de-4f43-95b2-6170ac0dc5f8%2FTables%2Fnon_existent_file.txt&getShortcutMetadata=true + response: + body: + string: '{"error": {"code": "ArtifactNotFound", "message": "Artifact ''91e77d5b-e7de-4f43-95b2-6170ac0dc5f8'' + is not found in workspace ''b285198e-e555-4618-9fb9-949cabcaafd4''."}}' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Content-Length: + - '163' + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:15:29 GMT + Server: + - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - ArtifactNotFound + status: + code: 404 + message: NotFound +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:15:30 GMT + Pragma: + - no-cache + RequestId: + - 44e30e11-c9f5-4a07-afd5-241331d6ffb3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "91e77d5b-e7de-4f43-95b2-6170ac0dc5f8", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '488' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:15:30 GMT + Pragma: + - no-cache + RequestId: + - 555c5e0f-0d57-411b-a386-18ab67ab1249 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/91e77d5b-e7de-4f43-95b2-6170ac0dc5f8 + 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: + - Wed, 28 Jan 2026 12:15:32 GMT + Pragma: + - no-cache + RequestId: + - 208bd30d-1c12-423d-b221-ac4bc3180d9e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_onelake_doesnt_exist_success[SparkJobDefinition-Libs].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[SparkJobDefinition-Libs].yaml new file mode 100644 index 00000000..20e843c1 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[SparkJobDefinition-Libs].yaml @@ -0,0 +1,659 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:15:33 GMT + Pragma: + - no-cache + RequestId: + - 8ab07394-f479-4797-ab3e-0796a78f0d4a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '453' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:15:34 GMT + Pragma: + - no-cache + RequestId: + - 8bd99989-b4b3-4e1a-9894-70df59af0f0a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '453' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:15:35 GMT + Pragma: + - no-cache + RequestId: + - 346cadc2-05fd-4763-aba7-191e754ccb61 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/sparkJobDefinitions + response: + body: + string: '{"id": "46de9376-3611-4474-8f97-9e5c07bcf77f", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '175' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:15:36 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 54e2cada-5156-497f-b1df-47ec8b21f742 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:15:37 GMT + Pragma: + - no-cache + RequestId: + - 7d897609-fdc4-4beb-a3fa-08e0b5f33efd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "46de9376-3611-4474-8f97-9e5c07bcf77f", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '519' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:15:38 GMT + Pragma: + - no-cache + RequestId: + - e94750ef-3629-44c2-81ee-2ca95a0eb189 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: HEAD + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/46de9376-3611-4474-8f97-9e5c07bcf77f/Libs/non_existent_file.txt + response: + body: + string: '' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Date: + - Wed, 28 Jan 2026 12:15:40 GMT + Server: + - Windows-Azure-Blob/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - BlobNotFound + status: + code: 404 + message: The specified blob does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: HEAD + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/46de9376-3611-4474-8f97-9e5c07bcf77f/Libs/non_existent_file.txt + response: + body: + string: '' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Date: + - Wed, 28 Jan 2026 12:15:41 GMT + Server: + - Windows-Azure-Blob/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - BlobNotFound + status: + code: 404 + message: The specified blob does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/?recursive=false&resource=filesystem&directory=46de9376-3611-4474-8f97-9e5c07bcf77f%2FLibs%2Fnon_existent_file.txt&getShortcutMetadata=true + response: + body: + string: '{"error": {"code": "PathNotFound", "message": "The specified path does + not exist.\nRequestId:34c0ecaa-701f-0064-5f4f-9016da000000\nTime:2026-01-28T12:15:42.2544361Z"}}' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Content-Length: + - '163' + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:15:41 GMT + Server: + - Windows-Azure-HDFS/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - PathNotFound + status: + code: 404 + message: The specified path does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:15:41 GMT + Pragma: + - no-cache + RequestId: + - d994d435-517d-4643-96d3-61a4acc0cce0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "46de9376-3611-4474-8f97-9e5c07bcf77f", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '519' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:15:43 GMT + Pragma: + - no-cache + RequestId: + - e0a23953-b467-4d89-a68f-65b4f579d5e0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/46de9376-3611-4474-8f97-9e5c07bcf77f + 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: + - Wed, 28 Jan 2026 12:15:44 GMT + Pragma: + - no-cache + RequestId: + - d9e40fcf-a23f-441b-b95a-22e54a2134aa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_onelake_doesnt_exist_success[SparkJobDefinition-Main].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[SparkJobDefinition-Main].yaml new file mode 100644 index 00000000..15927ab7 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[SparkJobDefinition-Main].yaml @@ -0,0 +1,659 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:15:44 GMT + Pragma: + - no-cache + RequestId: + - ce0b6908-ea31-4cff-ae94-98e0c587f7df + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '453' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:15:45 GMT + Pragma: + - no-cache + RequestId: + - 3fb197eb-1848-4c95-b769-4f5615cd7cc3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '453' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:15:46 GMT + Pragma: + - no-cache + RequestId: + - 36c53b06-ac31-45b9-aee9-b9dc59143d85 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/sparkJobDefinitions + response: + body: + string: '{"id": "0679c7eb-a7f7-4e33-afa1-a05f8183a334", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:15:47 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 7c43e785-4883-4715-a905-0b145285eb9d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:15:48 GMT + Pragma: + - no-cache + RequestId: + - 04c6eca3-69df-492b-96f7-d0ff867d9b5e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "0679c7eb-a7f7-4e33-afa1-a05f8183a334", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '518' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:15:49 GMT + Pragma: + - no-cache + RequestId: + - b1953ab9-d1a0-44e3-bddf-b2434483a06f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: HEAD + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/0679c7eb-a7f7-4e33-afa1-a05f8183a334/Main/non_existent_file.txt + response: + body: + string: '' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Date: + - Wed, 28 Jan 2026 12:15:49 GMT + Server: + - Windows-Azure-Blob/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - BlobNotFound + status: + code: 404 + message: The specified blob does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: HEAD + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/0679c7eb-a7f7-4e33-afa1-a05f8183a334/Main/non_existent_file.txt + response: + body: + string: '' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Date: + - Wed, 28 Jan 2026 12:15:50 GMT + Server: + - Windows-Azure-Blob/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - BlobNotFound + status: + code: 404 + message: The specified blob does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/?recursive=false&resource=filesystem&directory=0679c7eb-a7f7-4e33-afa1-a05f8183a334%2FMain%2Fnon_existent_file.txt&getShortcutMetadata=true + response: + body: + string: '{"error": {"code": "PathNotFound", "message": "The specified path does + not exist.\nRequestId:f22f8ee8-801f-0002-314f-9059fa000000\nTime:2026-01-28T12:15:53.4088115Z"}}' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Content-Length: + - '163' + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:15:52 GMT + Server: + - Windows-Azure-HDFS/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - PathNotFound + status: + code: 404 + message: The specified path does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:15:53 GMT + Pragma: + - no-cache + RequestId: + - 246a1452-c3d1-406f-9305-06806758376f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "0679c7eb-a7f7-4e33-afa1-a05f8183a334", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '518' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:15:55 GMT + Pragma: + - no-cache + RequestId: + - 93f7b925-7415-472d-9033-d0545b3b7df8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/0679c7eb-a7f7-4e33-afa1-a05f8183a334 + 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: + - Wed, 28 Jan 2026 12:15:56 GMT + Pragma: + - no-cache + RequestId: + - 01810733-174e-4afb-bd61-fa1e0d724b7b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_onelake_doesnt_exist_success[Warehouse-Files].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[Warehouse-Files].yaml new file mode 100644 index 00000000..17a68b70 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[Warehouse-Files].yaml @@ -0,0 +1,757 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:13:40 GMT + Pragma: + - no-cache + RequestId: + - d4ca0b99-a61f-45f9-8b3d-52ac66af5fa9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '453' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:13:41 GMT + Pragma: + - no-cache + RequestId: + - 21409b79-4fa9-4d96-82e0-39d5982e8146 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '453' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:13:41 GMT + Pragma: + - no-cache + RequestId: + - 11b3175e-e049-4981-adde-12ed8bbf5e46 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:13:43 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/4098eef5-f055-4b15-97b6-cf1a3ec59e84 + Pragma: + - no-cache + RequestId: + - c26f3c84-b39f-497a-bc4d-963be6d61a7c + 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: + - 4098eef5-f055-4b15-97b6-cf1a3ec59e84 + 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/4098eef5-f055-4b15-97b6-cf1a3ec59e84 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:13:43.381778", + "lastUpdatedTimeUtc": "2026-01-28T12:13:50.0709869", "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: + - Wed, 28 Jan 2026 12:14:04 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/4098eef5-f055-4b15-97b6-cf1a3ec59e84/result + Pragma: + - no-cache + RequestId: + - 005eed17-9f20-45e9-9c21-fbb25c608201 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 4098eef5-f055-4b15-97b6-cf1a3ec59e84 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/4098eef5-f055-4b15-97b6-cf1a3ec59e84/result + response: + body: + string: '{"id": "746d4e9a-5861-4777-a279-0fbbf411a8c5", "type": "Warehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:14:06 GMT + Pragma: + - no-cache + RequestId: + - 045e01c2-b63d-4297-800e-51b4f07daa4b + 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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:14:06 GMT + Pragma: + - no-cache + RequestId: + - c40aff6d-c03e-4513-a247-ffa01c0976d6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "746d4e9a-5861-4777-a279-0fbbf411a8c5", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '504' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:14:07 GMT + Pragma: + - no-cache + RequestId: + - 12110cbd-23b3-48cc-9e36-965cfb4a20a7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: HEAD + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/746d4e9a-5861-4777-a279-0fbbf411a8c5/Files/non_existent_file.txt + response: + body: + string: '' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Date: + - Wed, 28 Jan 2026 12:14:09 GMT + Server: + - Windows-Azure-Blob/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - BlobNotFound + status: + code: 404 + message: The specified blob does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: HEAD + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/746d4e9a-5861-4777-a279-0fbbf411a8c5/Files/non_existent_file.txt + response: + body: + string: '' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Date: + - Wed, 28 Jan 2026 12:14:11 GMT + Server: + - Windows-Azure-Blob/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - BlobNotFound + status: + code: 404 + message: The specified blob does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/?recursive=false&resource=filesystem&directory=746d4e9a-5861-4777-a279-0fbbf411a8c5%2FFiles%2Fnon_existent_file.txt&getShortcutMetadata=true + response: + body: + string: '{"error": {"code": "PathNotFound", "message": "The specified path does + not exist.\nRequestId:6ebe4848-a01f-0045-204f-900869000000\nTime:2026-01-28T12:14:14.4040926Z"}}' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Content-Length: + - '163' + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:14:14 GMT + Server: + - Windows-Azure-HDFS/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - PathNotFound + status: + code: 404 + message: The specified path does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:14:14 GMT + Pragma: + - no-cache + RequestId: + - 658578b9-5f1d-46e7-a589-0ed61fa4d99e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "746d4e9a-5861-4777-a279-0fbbf411a8c5", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '504' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:14:15 GMT + Pragma: + - no-cache + RequestId: + - 09bcfe36-d578-4604-9b42-3f87acdd1379 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/746d4e9a-5861-4777-a279-0fbbf411a8c5 + 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: + - Wed, 28 Jan 2026 12:14:16 GMT + Pragma: + - no-cache + RequestId: + - 8f1e06c7-3ec7-4e92-a82a-62c29ae560e7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_onelake_doesnt_exist_success[Warehouse-Tables].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[Warehouse-Tables].yaml new file mode 100644 index 00000000..34ebef3d --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_doesnt_exist_success[Warehouse-Tables].yaml @@ -0,0 +1,757 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:14:17 GMT + Pragma: + - no-cache + RequestId: + - b2cc9dc0-d0b3-4544-b646-3a62341202fa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '453' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:14:18 GMT + Pragma: + - no-cache + RequestId: + - 3d117917-9194-4854-944a-5fd7b71db2d0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '453' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:14:19 GMT + Pragma: + - no-cache + RequestId: + - 4adacb4c-84b6-4286-828b-fa89783b2741 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:14:20 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/a8c18e1b-4cd2-4b96-86e9-50f8f14e27ef + Pragma: + - no-cache + RequestId: + - 8a983832-6e75-4d62-a3e5-47686e855bb3 + 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: + - a8c18e1b-4cd2-4b96-86e9-50f8f14e27ef + 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/a8c18e1b-4cd2-4b96-86e9-50f8f14e27ef + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:14:20.6592943", + "lastUpdatedTimeUtc": "2026-01-28T12:14:27.285516", "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: + - Wed, 28 Jan 2026 12:14:41 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/a8c18e1b-4cd2-4b96-86e9-50f8f14e27ef/result + Pragma: + - no-cache + RequestId: + - 73ece07a-b581-4e65-a8b6-5591cf25d026 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - a8c18e1b-4cd2-4b96-86e9-50f8f14e27ef + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/a8c18e1b-4cd2-4b96-86e9-50f8f14e27ef/result + response: + body: + string: '{"id": "0b297350-8aee-443e-bf48-869a8cfc8e3f", "type": "Warehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:14:43 GMT + Pragma: + - no-cache + RequestId: + - d666bb68-1420-44fa-a1a2-91613fa03788 + 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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:14:44 GMT + Pragma: + - no-cache + RequestId: + - 3de00f4e-096c-49cd-bbe1-7f87e3cea89e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "0b297350-8aee-443e-bf48-869a8cfc8e3f", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '503' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:14:45 GMT + Pragma: + - no-cache + RequestId: + - e6203f3b-56dc-4f30-9e14-632cbf340dd0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: HEAD + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/0b297350-8aee-443e-bf48-869a8cfc8e3f/Tables/non_existent_file.txt + response: + body: + string: '' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Date: + - Wed, 28 Jan 2026 12:14:47 GMT + Server: + - Windows-Azure-Blob/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - BlobNotFound + status: + code: 404 + message: The specified blob does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: HEAD + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/0b297350-8aee-443e-bf48-869a8cfc8e3f/Tables/non_existent_file.txt + response: + body: + string: '' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Date: + - Wed, 28 Jan 2026 12:14:49 GMT + Server: + - Windows-Azure-Blob/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - BlobNotFound + status: + code: 404 + message: The specified blob does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/?recursive=false&resource=filesystem&directory=0b297350-8aee-443e-bf48-869a8cfc8e3f%2FTables%2Fnon_existent_file.txt&getShortcutMetadata=true + response: + body: + string: '{"error": {"code": "PathNotFound", "message": "The specified path does + not exist.\nRequestId:7a0dd363-901f-004e-314f-90f77d000000\nTime:2026-01-28T12:14:51.8713525Z"}}' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Content-Length: + - '163' + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:14:51 GMT + Server: + - Windows-Azure-HDFS/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-error-code: + - PathNotFound + status: + code: 404 + message: The specified path does not exist. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:14:52 GMT + Pragma: + - no-cache + RequestId: + - 7cdeb3c2-fa7d-4a4e-92f3-9fa5b28bd202 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "0b297350-8aee-443e-bf48-869a8cfc8e3f", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '503' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:14:53 GMT + Pragma: + - no-cache + RequestId: + - 1839b25c-b59f-4111-8257-3b7518618856 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/0b297350-8aee-443e-bf48-869a8cfc8e3f + 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: + - Wed, 28 Jan 2026 12:14:54 GMT + Pragma: + - no-cache + RequestId: + - ea51e8fc-3a55-48a4-9c35-1925b9280845 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_onelake_exists_success[KQLDatabase-Tables].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_exists_success[KQLDatabase-Tables].yaml new file mode 100644 index 00000000..60ad8437 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_exists_success[KQLDatabase-Tables].yaml @@ -0,0 +1,750 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:19:37 GMT + Pragma: + - no-cache + RequestId: + - d3b31f62-901c-4923-8f40-742b7ee4097f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '550' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:19:37 GMT + Pragma: + - no-cache + RequestId: + - bff680ab-9529-4b6d-a2d6-e5089f4531bc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '550' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:19:39 GMT + Pragma: + - no-cache + RequestId: + - 400151c0-420e-4d07-b40f-54d678a62e0b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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": + "Eventhouse", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '113' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/eventhouses + response: + body: + string: '{"id": "ae0903bd-0cfc-4050-970c-2b7500d28260", "type": "Eventhouse", + "displayName": "fabcli000001_auto", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:19:42 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 81d52e09-ffb6-4d23-aa31-092d1d104f61 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "KQLDatabase", "folderId": null, "creationPayload": {"databaseType": "ReadWrite", + "parentEventhouseItemId": "ae0903bd-0cfc-4050-970c-2b7500d28260"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '225' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/kqlDatabases + 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: + - Wed, 28 Jan 2026 12:19:44 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/e117665d-8e7a-4439-b6ee-a98309a79537 + Pragma: + - no-cache + RequestId: + - 0752304b-7288-4e10-83ae-fd194b77b2b5 + 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: + - e117665d-8e7a-4439-b6ee-a98309a79537 + 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/e117665d-8e7a-4439-b6ee-a98309a79537 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:19:43.9580955", + "lastUpdatedTimeUtc": "2026-01-28T12:19:46.848922", "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: + - Wed, 28 Jan 2026 12:20:05 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/e117665d-8e7a-4439-b6ee-a98309a79537/result + Pragma: + - no-cache + RequestId: + - 7b5093e2-b801-4de2-866b-e67f4d51859a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - e117665d-8e7a-4439-b6ee-a98309a79537 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/e117665d-8e7a-4439-b6ee-a98309a79537/result + response: + body: + string: '{"id": "102ee608-225b-482e-9f84-dd4b6c2c4220", "type": "KQLDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:20:06 GMT + Pragma: + - no-cache + RequestId: + - 6d9e3b2e-51d9-49c6-9d00-a5af5cea360b + 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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:20:07 GMT + Pragma: + - no-cache + RequestId: + - 083e25c1-f1d8-4aff-9a47-5320efb95489 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "ae0903bd-0cfc-4050-970c-2b7500d28260", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "74fa88e3-5d5f-4ea1-a350-14223948a706", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "102ee608-225b-482e-9f84-dd4b6c2c4220", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '643' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:20:08 GMT + Pragma: + - no-cache + RequestId: + - 796303fe-7bf0-4eb7-ac42-5b50a60d8b19 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/?recursive=false&resource=filesystem&directory=102ee608-225b-482e-9f84-dd4b6c2c4220%2FTables&getShortcutMetadata=true + response: + body: + string: '{"paths": [], "ContinuationToken": null}' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:20:09 GMT + Server: + - Windows-Azure-HDFS/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:20:10 GMT + Pragma: + - no-cache + RequestId: + - 72350fb5-22e6-46a1-9d58-2184de226d3c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "ae0903bd-0cfc-4050-970c-2b7500d28260", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "74fa88e3-5d5f-4ea1-a350-14223948a706", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "102ee608-225b-482e-9f84-dd4b6c2c4220", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '643' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:20:11 GMT + Pragma: + - no-cache + RequestId: + - 8c3f867e-4e87-41ba-ac5c-c863c10b9bba + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/102ee608-225b-482e-9f84-dd4b6c2c4220 + 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: + - Wed, 28 Jan 2026 12:20:12 GMT + Pragma: + - no-cache + RequestId: + - c47c0eaf-411c-4f0f-989b-892873a583e5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_onelake_exists_success[Lakehouse-Files].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_exists_success[Lakehouse-Files].yaml new file mode 100644 index 00000000..346629f0 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_exists_success[Lakehouse-Files].yaml @@ -0,0 +1,588 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:18:24 GMT + Pragma: + - no-cache + RequestId: + - 97f188a3-93b9-4bdb-b5b7-c0bc6d660606 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '550' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:18:24 GMT + Pragma: + - no-cache + RequestId: + - 9b5abd0f-782b-408b-af1b-67f79a1a26cf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '550' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:18:25 GMT + Pragma: + - no-cache + RequestId: + - 54b88e4c-32f0-4a6d-9f76-3d429888ccfb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/lakehouses + response: + body: + string: '{"id": "205cea7c-46c4-4208-8150-f24e90474b8c", "type": "Lakehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:18:28 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - da7efb33-396b-4b0f-9a57-950d84740105 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:18:30 GMT + Pragma: + - no-cache + RequestId: + - f053431e-34e1-4da0-ade8-db5c7a2167a0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "205cea7c-46c4-4208-8150-f24e90474b8c", "type": "Lakehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '588' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:18:30 GMT + Pragma: + - no-cache + RequestId: + - ce54d0b6-c691-4766-aaff-25d212f599c3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/?recursive=false&resource=filesystem&directory=205cea7c-46c4-4208-8150-f24e90474b8c%2FFiles&getShortcutMetadata=true + response: + body: + string: '{"paths": [], "ContinuationToken": null}' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:18:32 GMT + Server: + - Windows-Azure-HDFS/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:18:32 GMT + Pragma: + - no-cache + RequestId: + - 43070fda-cd03-4295-bda5-74e95d9b3dc7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "500a11cc-a7c1-44cd-8951-08b31627889d", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "205cea7c-46c4-4208-8150-f24e90474b8c", "type": "Lakehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '617' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:18:34 GMT + Pragma: + - no-cache + RequestId: + - 0a3d825a-83f4-4e65-90e2-976a15df1efb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/205cea7c-46c4-4208-8150-f24e90474b8c + 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: + - Wed, 28 Jan 2026 12:18:34 GMT + Pragma: + - no-cache + RequestId: + - b2e800fc-2566-4835-8772-de2b35c6b5ac + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_onelake_exists_success[Lakehouse-Tables].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_exists_success[Lakehouse-Tables].yaml new file mode 100644 index 00000000..1a15ec87 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_exists_success[Lakehouse-Tables].yaml @@ -0,0 +1,586 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:18:35 GMT + Pragma: + - no-cache + RequestId: + - f1916a1c-460f-4665-a51a-df3672ad959d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '550' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:18:36 GMT + Pragma: + - no-cache + RequestId: + - c5b48a0a-397a-47f7-a346-f3f165ea6aff + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '550' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:18:37 GMT + Pragma: + - no-cache + RequestId: + - 667371d4-4167-4dec-ac07-f00623a42e33 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/lakehouses + response: + body: + string: '{"id": "2775d52e-545d-451c-b927-4a754a29b3a0", "type": "Lakehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:18:40 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 6de60ed5-9ba7-478f-b9f9-244a51b9f7c4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:18:41 GMT + Pragma: + - no-cache + RequestId: + - 970c54fd-b881-4298-af85-ceaa026051b0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2775d52e-545d-451c-b927-4a754a29b3a0", "type": "Lakehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '586' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:18:41 GMT + Pragma: + - no-cache + RequestId: + - cd837bb2-ffa1-4217-9339-6414f9596f37 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/?recursive=false&resource=filesystem&directory=2775d52e-545d-451c-b927-4a754a29b3a0%2FTables&getShortcutMetadata=true + response: + body: + string: '{"paths": [], "ContinuationToken": null}' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:18:43 GMT + Server: + - Windows-Azure-HDFS/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:18:43 GMT + Pragma: + - no-cache + RequestId: + - a1c5a28d-ca09-4c71-bc58-99b56b013bf4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2775d52e-545d-451c-b927-4a754a29b3a0", "type": "Lakehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '586' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:18:44 GMT + Pragma: + - no-cache + RequestId: + - b6e1588d-f2ab-41c4-ba78-db7251b175f4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/2775d52e-545d-451c-b927-4a754a29b3a0 + 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: + - Wed, 28 Jan 2026 12:18:45 GMT + Pragma: + - no-cache + RequestId: + - 1416e190-e7f4-49e0-8b6c-b4d97b26ed14 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_onelake_exists_success[MirroredDatabase-Files].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_exists_success[MirroredDatabase-Files].yaml new file mode 100644 index 00000000..d9c0b396 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_exists_success[MirroredDatabase-Files].yaml @@ -0,0 +1,606 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:21:32 GMT + Pragma: + - no-cache + RequestId: + - 2b47a0d1-0aac-4efb-bb0c-8f67a9e55438 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "ae0903bd-0cfc-4050-970c-2b7500d28260", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "74fa88e3-5d5f-4ea1-a350-14223948a706", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '617' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:21:33 GMT + Pragma: + - no-cache + RequestId: + - 3521876c-9a9c-44d7-8f69-d6da20b2fbf8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "ae0903bd-0cfc-4050-970c-2b7500d28260", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "74fa88e3-5d5f-4ea1-a350-14223948a706", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '617' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:21:34 GMT + Pragma: + - no-cache + RequestId: + - 824a6460-0176-417c-9ecd-b9e957916c85 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/mirroredDatabases + response: + body: + string: '{"id": "343cd441-5c96-4098-8693-da4d7f27f40b", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:21:37 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 7f6b1308-ecfd-4ad5-be0d-cc0d454f436a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:21:37 GMT + Pragma: + - no-cache + RequestId: + - 9358a0af-2e4e-475a-8651-57cb7d71c0dc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "ae0903bd-0cfc-4050-970c-2b7500d28260", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "74fa88e3-5d5f-4ea1-a350-14223948a706", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "343cd441-5c96-4098-8693-da4d7f27f40b", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '660' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:21:38 GMT + Pragma: + - no-cache + RequestId: + - a39f48f2-3151-4210-bfa0-09f7b6530da3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/?recursive=false&resource=filesystem&directory=343cd441-5c96-4098-8693-da4d7f27f40b%2FFiles&getShortcutMetadata=true + response: + body: + string: '{"paths": [], "ContinuationToken": null}' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:21:39 GMT + Server: + - Windows-Azure-HDFS/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:21:40 GMT + Pragma: + - no-cache + RequestId: + - a57c8df7-8926-4f24-b483-a68ae07074d1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "ae0903bd-0cfc-4050-970c-2b7500d28260", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "74fa88e3-5d5f-4ea1-a350-14223948a706", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "343cd441-5c96-4098-8693-da4d7f27f40b", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '660' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:21:41 GMT + Pragma: + - no-cache + RequestId: + - 5f4107ac-421d-4b6a-8948-64cd9f80bc18 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/343cd441-5c96-4098-8693-da4d7f27f40b + 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: + - Wed, 28 Jan 2026 12:21:42 GMT + Pragma: + - no-cache + RequestId: + - e63f98d6-bb58-485b-aee1-26cfcbefc45e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_onelake_exists_success[MirroredDatabase-Tables].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_exists_success[MirroredDatabase-Tables].yaml new file mode 100644 index 00000000..d8b14c34 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_exists_success[MirroredDatabase-Tables].yaml @@ -0,0 +1,606 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:21:21 GMT + Pragma: + - no-cache + RequestId: + - 6389b5d1-4097-44e3-894b-72e94132bbe5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "ae0903bd-0cfc-4050-970c-2b7500d28260", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "74fa88e3-5d5f-4ea1-a350-14223948a706", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '617' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:21:22 GMT + Pragma: + - no-cache + RequestId: + - 26e720e5-c4fc-4325-a230-3c19f7da41ab + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "ae0903bd-0cfc-4050-970c-2b7500d28260", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "74fa88e3-5d5f-4ea1-a350-14223948a706", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '617' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:21:23 GMT + Pragma: + - no-cache + RequestId: + - 13ad5807-8f92-4eae-ba87-8c42758894fa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/mirroredDatabases + response: + body: + string: '{"id": "ea296455-517f-423b-972c-7242496107d6", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:21:25 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 7d2ed4c3-bc55-4bcf-8b36-7fd9caf7ddeb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:21:26 GMT + Pragma: + - no-cache + RequestId: + - 29d48971-3c00-43bb-b610-c65dc3d13132 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "ae0903bd-0cfc-4050-970c-2b7500d28260", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "74fa88e3-5d5f-4ea1-a350-14223948a706", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "ea296455-517f-423b-972c-7242496107d6", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '659' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:21:27 GMT + Pragma: + - no-cache + RequestId: + - 9ada2d9a-2583-4448-bd92-4f0246d44274 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/?recursive=false&resource=filesystem&directory=ea296455-517f-423b-972c-7242496107d6%2FTables&getShortcutMetadata=true + response: + body: + string: '{"paths": [], "ContinuationToken": null}' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:21:29 GMT + Server: + - Windows-Azure-HDFS/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:21:29 GMT + Pragma: + - no-cache + RequestId: + - 904f3aa5-db68-44a6-a9a6-5c2648d4d6aa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "ae0903bd-0cfc-4050-970c-2b7500d28260", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "74fa88e3-5d5f-4ea1-a350-14223948a706", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "ea296455-517f-423b-972c-7242496107d6", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '659' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:21:30 GMT + Pragma: + - no-cache + RequestId: + - a8149126-b0ee-484c-b142-9c7f409b43b5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/ea296455-517f-423b-972c-7242496107d6 + 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: + - Wed, 28 Jan 2026 12:21:31 GMT + Pragma: + - no-cache + RequestId: + - 7d378e12-1422-4568-809a-e02fbf1aa550 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_onelake_exists_success[SQLDatabase-Files].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_exists_success[SQLDatabase-Files].yaml new file mode 100644 index 00000000..52e6a5c5 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_exists_success[SQLDatabase-Files].yaml @@ -0,0 +1,714 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:20:46 GMT + Pragma: + - no-cache + RequestId: + - 420e7171-391f-411b-8684-73cb35bacdc8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "ae0903bd-0cfc-4050-970c-2b7500d28260", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "74fa88e3-5d5f-4ea1-a350-14223948a706", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '617' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:20:47 GMT + Pragma: + - no-cache + RequestId: + - 66c7742d-e48f-4016-94ea-23a694b84c91 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "ae0903bd-0cfc-4050-970c-2b7500d28260", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "74fa88e3-5d5f-4ea1-a350-14223948a706", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '617' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:20:48 GMT + Pragma: + - no-cache + RequestId: + - 91495f70-1f50-4b53-b1e8-687e8460f41d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:20:51 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/4e2d6c1b-c954-432b-bb5b-b95295c9f00a + Pragma: + - no-cache + RequestId: + - 44be65ae-14de-4e41-8806-737f95273a31 + 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: + - 4e2d6c1b-c954-432b-bb5b-b95295c9f00a + 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/4e2d6c1b-c954-432b-bb5b-b95295c9f00a + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:20:50.1740157", + "lastUpdatedTimeUtc": "2026-01-28T12:21:03.4597027", "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: + - Wed, 28 Jan 2026 12:21:13 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/4e2d6c1b-c954-432b-bb5b-b95295c9f00a/result + Pragma: + - no-cache + RequestId: + - 0ee7f085-409a-4a4d-905d-5f5593282dd6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 4e2d6c1b-c954-432b-bb5b-b95295c9f00a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/4e2d6c1b-c954-432b-bb5b-b95295c9f00a/result + response: + body: + string: '{"id": "5201548c-d4f9-4d58-9827-4b06eeb2c3fa", "type": "SQLDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:21:14 GMT + Pragma: + - no-cache + RequestId: + - aa1daeba-0f3b-4065-9ed6-0f0746528ca3 + 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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:21:14 GMT + Pragma: + - no-cache + RequestId: + - 5b4ba776-81d2-4586-947e-ab736d512276 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "551cfb0e-cfb3-4232-84ee-049f8629cccd", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "ae0903bd-0cfc-4050-970c-2b7500d28260", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "74fa88e3-5d5f-4ea1-a350-14223948a706", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "5201548c-d4f9-4d58-9827-4b06eeb2c3fa", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '687' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:21:15 GMT + Pragma: + - no-cache + RequestId: + - ea6df0c4-3eb1-4d37-88a5-b642e6e3b9ec + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/?recursive=false&resource=filesystem&directory=5201548c-d4f9-4d58-9827-4b06eeb2c3fa%2FFiles&getShortcutMetadata=true + response: + body: + string: '{"paths": [{"name": "5201548c-d4f9-4d58-9827-4b06eeb2c3fa/Files/LandingZone", + "isDirectory": "true", "creationTime": "134140764742982112", "lastModified": + "Wed, 28 Jan 2026 12:21:14 GMT", "etag": "0x8DE5E67BADE9B54", "contentLength": + "0", "owner": "bdb39224-bd86-4d14-bc6e-18637e6902b0", "group": "bdb39224-bd86-4d14-bc6e-18637e6902b0", + "permissions": "rwxr-x---", "expiryTime": "0"}, {"name": "5201548c-d4f9-4d58-9827-4b06eeb2c3fa/Files/Monitoring", + "isDirectory": "true", "creationTime": "134140764645862548", "lastModified": + "Wed, 28 Jan 2026 12:21:04 GMT", "etag": "0x8DE5E67B514AE0C", "contentLength": + "0", "owner": "bdb39224-bd86-4d14-bc6e-18637e6902b0", "group": "bdb39224-bd86-4d14-bc6e-18637e6902b0", + "permissions": "rwxr-x---", "expiryTime": "0"}], "ContinuationToken": null}' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:21:18 GMT + Server: + - Windows-Azure-HDFS/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:21:19 GMT + Pragma: + - no-cache + RequestId: + - deff87a0-4a0c-4eef-bae4-660a4e627e1a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "551cfb0e-cfb3-4232-84ee-049f8629cccd", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "ae0903bd-0cfc-4050-970c-2b7500d28260", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "74fa88e3-5d5f-4ea1-a350-14223948a706", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "5201548c-d4f9-4d58-9827-4b06eeb2c3fa", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '687' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:21:19 GMT + Pragma: + - no-cache + RequestId: + - a6e9b722-d0cc-4c50-96f1-dcec1b81a2d2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/5201548c-d4f9-4d58-9827-4b06eeb2c3fa + 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: + - Wed, 28 Jan 2026 12:21:20 GMT + Pragma: + - no-cache + RequestId: + - 3f95dabd-522b-4441-9216-0b575bdae01b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_onelake_exists_success[SQLDatabase-Tables].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_exists_success[SQLDatabase-Tables].yaml new file mode 100644 index 00000000..36ba110e --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_exists_success[SQLDatabase-Tables].yaml @@ -0,0 +1,706 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:20:13 GMT + Pragma: + - no-cache + RequestId: + - 10f2f16c-99b4-447e-8f70-41716d34507e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "ae0903bd-0cfc-4050-970c-2b7500d28260", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "74fa88e3-5d5f-4ea1-a350-14223948a706", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '617' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:20:13 GMT + Pragma: + - no-cache + RequestId: + - ce379e8e-7ef4-4826-bf24-c91c774f8b6d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "ae0903bd-0cfc-4050-970c-2b7500d28260", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "74fa88e3-5d5f-4ea1-a350-14223948a706", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '617' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:20:14 GMT + Pragma: + - no-cache + RequestId: + - 1fd00f1b-1da9-4734-ab9e-60091f8d97f5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:20:16 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/d6a3da40-275e-4350-a908-aacec9adc02d + Pragma: + - no-cache + RequestId: + - 107bb27b-4fab-498d-bcd1-3bdea01afd55 + 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: + - d6a3da40-275e-4350-a908-aacec9adc02d + 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/d6a3da40-275e-4350-a908-aacec9adc02d + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:20:15.7757745", + "lastUpdatedTimeUtc": "2026-01-28T12:20:28.0127468", "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: + - Wed, 28 Jan 2026 12:20:37 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/d6a3da40-275e-4350-a908-aacec9adc02d/result + Pragma: + - no-cache + RequestId: + - c0b38517-17a7-459e-8fb6-ca5e80cde355 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - d6a3da40-275e-4350-a908-aacec9adc02d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/d6a3da40-275e-4350-a908-aacec9adc02d/result + response: + body: + string: '{"id": "9664821a-c474-45a4-b9de-e382733c1662", "type": "SQLDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:20:38 GMT + Pragma: + - no-cache + RequestId: + - 1eb4a43b-975b-40ef-9e24-50113611b608 + 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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:20:39 GMT + Pragma: + - no-cache + RequestId: + - 36d622c1-7b92-435a-bde1-df2ea4fc3622 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "7f983362-3835-4d01-9e13-38080bb4a365", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "ae0903bd-0cfc-4050-970c-2b7500d28260", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "74fa88e3-5d5f-4ea1-a350-14223948a706", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "9664821a-c474-45a4-b9de-e382733c1662", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '686' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:20:40 GMT + Pragma: + - no-cache + RequestId: + - 071d7aa2-64fa-47d9-8be2-cc6dc4628181 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/?recursive=false&resource=filesystem&directory=9664821a-c474-45a4-b9de-e382733c1662%2FTables&getShortcutMetadata=true + response: + body: + string: '{"paths": [], "ContinuationToken": null}' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:20:42 GMT + Server: + - Windows-Azure-HDFS/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:20:43 GMT + Pragma: + - no-cache + RequestId: + - c58b8a3b-c2f1-4593-ab4f-becd4f0033bd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "7f983362-3835-4d01-9e13-38080bb4a365", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "ae0903bd-0cfc-4050-970c-2b7500d28260", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "74fa88e3-5d5f-4ea1-a350-14223948a706", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "9664821a-c474-45a4-b9de-e382733c1662", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '686' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:20:45 GMT + Pragma: + - no-cache + RequestId: + - f56199c4-8831-4aec-9564-8210a2f15fd6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/9664821a-c474-45a4-b9de-e382733c1662 + 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: + - Wed, 28 Jan 2026 12:20:46 GMT + Pragma: + - no-cache + RequestId: + - 51deab5d-07e1-4511-bcdb-8b4c3ddbd8ae + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_onelake_exists_success[SparkJobDefinition-Libs].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_exists_success[SparkJobDefinition-Libs].yaml new file mode 100644 index 00000000..92e353f6 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_exists_success[SparkJobDefinition-Libs].yaml @@ -0,0 +1,588 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:19:18 GMT + Pragma: + - no-cache + RequestId: + - 1ed4b0d4-b1d2-4ce0-9f5e-644adad1f2b8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '550' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:19:19 GMT + Pragma: + - no-cache + RequestId: + - 5358bb12-32ff-4526-b481-6a43f5ad0c76 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '550' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:19:19 GMT + Pragma: + - no-cache + RequestId: + - e65f0556-b067-4fcb-8d52-682d13f9edc3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/sparkJobDefinitions + response: + body: + string: '{"id": "6106a331-73cf-4d48-ac62-6ee369105fe6", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:19:21 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 940fbe7a-22c4-4e89-a4b2-8b8ff0f647c9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:19:22 GMT + Pragma: + - no-cache + RequestId: + - 1ef3caca-696a-4a02-8667-28bddb1e6c8d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "6106a331-73cf-4d48-ac62-6ee369105fe6", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '599' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:19:23 GMT + Pragma: + - no-cache + RequestId: + - 11e2e3b7-3791-4da4-8f85-856de5574eb0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/?recursive=false&resource=filesystem&directory=6106a331-73cf-4d48-ac62-6ee369105fe6%2FLibs&getShortcutMetadata=true + response: + body: + string: '{"paths": [], "ContinuationToken": null}' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:19:24 GMT + Server: + - Windows-Azure-HDFS/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:19:24 GMT + Pragma: + - no-cache + RequestId: + - 2d5b600d-b8c5-4cc0-8efc-fb1ee1c9772d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "6106a331-73cf-4d48-ac62-6ee369105fe6", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '599' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:19:25 GMT + Pragma: + - no-cache + RequestId: + - e16c2379-a41d-4b70-83b3-a1023d37303b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/6106a331-73cf-4d48-ac62-6ee369105fe6 + 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: + - Wed, 28 Jan 2026 12:19:27 GMT + Pragma: + - no-cache + RequestId: + - fb9d6586-8f96-4e32-b48d-67b81bc64267 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_onelake_exists_success[SparkJobDefinition-Main].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_exists_success[SparkJobDefinition-Main].yaml new file mode 100644 index 00000000..2d0be1cc --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_exists_success[SparkJobDefinition-Main].yaml @@ -0,0 +1,588 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:19:28 GMT + Pragma: + - no-cache + RequestId: + - 17f33b5c-de31-4bb7-87ff-ad57a92aaea4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '550' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:19:28 GMT + Pragma: + - no-cache + RequestId: + - 85b8b4bf-317a-4684-bfc1-19d7936d5d17 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '550' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:19:29 GMT + Pragma: + - no-cache + RequestId: + - 9bcdfa43-d8bd-4283-84ac-b1a0b2be8ad4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/sparkJobDefinitions + response: + body: + string: '{"id": "1343e90b-9052-4284-87f7-9207061ea0b0", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + 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: + - Wed, 28 Jan 2026 12:19:30 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - f87b941a-d8cc-46b3-9127-18770ce7bdc7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:19:32 GMT + Pragma: + - no-cache + RequestId: + - fd47ff96-ba5c-4762-a218-a38bb1e71536 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "1343e90b-9052-4284-87f7-9207061ea0b0", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '597' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:19:32 GMT + Pragma: + - no-cache + RequestId: + - adbbfdcd-9b2c-429f-a5aa-0960c0bad68e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/?recursive=false&resource=filesystem&directory=1343e90b-9052-4284-87f7-9207061ea0b0%2FMain&getShortcutMetadata=true + response: + body: + string: '{"paths": [], "ContinuationToken": null}' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:19:33 GMT + Server: + - Windows-Azure-HDFS/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:19:35 GMT + Pragma: + - no-cache + RequestId: + - 5e756857-7300-422a-a524-71d32eb1b347 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "1343e90b-9052-4284-87f7-9207061ea0b0", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '597' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:19:36 GMT + Pragma: + - no-cache + RequestId: + - 95ee0555-076c-4998-b01e-c2fc983cd945 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/1343e90b-9052-4284-87f7-9207061ea0b0 + 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: + - Wed, 28 Jan 2026 12:19:36 GMT + Pragma: + - no-cache + RequestId: + - 6f1bc07b-2a90-4bd9-bb32-089daf62b47b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_onelake_exists_success[Warehouse-Tables].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_exists_success[Warehouse-Tables].yaml new file mode 100644 index 00000000..c4a1bd17 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_onelake_exists_success[Warehouse-Tables].yaml @@ -0,0 +1,686 @@ +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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:18:45 GMT + Pragma: + - no-cache + RequestId: + - 6dc814f3-1190-43ba-bc1b-a51e2ac78cd2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '550' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:18:46 GMT + Pragma: + - no-cache + RequestId: + - 65165635-7524-42c0-996e-b7eb04f6993d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '550' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:18:47 GMT + Pragma: + - no-cache + RequestId: + - 72e4800f-54c8-4687-873d-1775abd64074 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b285198e-e555-4618-9fb9-949cabcaafd4/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: + - Wed, 28 Jan 2026 12:18:48 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/3853456a-5725-4c88-bcb9-7c3a39001a18 + Pragma: + - no-cache + RequestId: + - 07552dda-f1b7-4f3e-9079-1be9ac2c5a8c + 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: + - 3853456a-5725-4c88-bcb9-7c3a39001a18 + 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/3853456a-5725-4c88-bcb9-7c3a39001a18 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:18:48.6576141", + "lastUpdatedTimeUtc": "2026-01-28T12:18:53.4115883", "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: + - Wed, 28 Jan 2026 12:19:10 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/3853456a-5725-4c88-bcb9-7c3a39001a18/result + Pragma: + - no-cache + RequestId: + - d25423f0-222b-4c78-9b71-f259c6936092 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 3853456a-5725-4c88-bcb9-7c3a39001a18 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/3853456a-5725-4c88-bcb9-7c3a39001a18/result + response: + body: + string: '{"id": "0f0512f3-e0c7-4ebf-9fd6-882ef2c11c60", "type": "Warehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 12:19:10 GMT + Pragma: + - no-cache + RequestId: + - 6e6137f9-7be6-439b-ae6d-c04e62a1a82a + 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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:19:11 GMT + Pragma: + - no-cache + RequestId: + - fba19fa7-451f-4a5d-afc1-8abe8b0e0f35 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "0f0512f3-e0c7-4ebf-9fd6-882ef2c11c60", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '584' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:19:13 GMT + Pragma: + - no-cache + RequestId: + - 65639db0-5242-4adf-aa9d-a8b2fc20c097 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://onelake.dfs.fabric.microsoft.com/b285198e-e555-4618-9fb9-949cabcaafd4/?recursive=false&resource=filesystem&directory=0f0512f3-e0c7-4ebf-9fd6-882ef2c11c60%2FTables&getShortcutMetadata=true + response: + body: + string: '{"paths": [], "ContinuationToken": null}' + headers: + Access-Control-Allow-Headers: + - '*' + Access-Control-Allow-Methods: + - '*' + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - '*,Authorization' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:19:15 GMT + Server: + - Windows-Azure-HDFS/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b285198e-e555-4618-9fb9-949cabcaafd4", + "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: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:19:15 GMT + Pragma: + - no-cache + RequestId: + - 9b6b96c8-89ff-49aa-805a-7ce13f6cf3c0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + response: + body: + string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "0f0512f3-e0c7-4ebf-9fd6-882ef2c11c60", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": + "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", + "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, + {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '584' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 12:19:16 GMT + Pragma: + - no-cache + RequestId: + - 766b8b7b-49f5-4d1d-98f9-8066f66f8c3c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b285198e-e555-4618-9fb9-949cabcaafd4/items/0f0512f3-e0c7-4ebf-9fd6-882ef2c11c60 + 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: + - Wed, 28 Jan 2026 12:19:18 GMT + Pragma: + - no-cache + RequestId: + - 2e180c6f-dcb6-4715-9269-c7189d03ec1b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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 From f574b9c4884435226698a5b8786af3c61745f36f Mon Sep 17 00:00:00 2001 From: Alex Moraru Date: Mon, 2 Feb 2026 12:55:53 +0000 Subject: [PATCH 2/3] Adds parametrized tests --- tests/test_commands/test_exists.py | 60 +++++++++++++++++++++++------- 1 file changed, 47 insertions(+), 13 deletions(-) diff --git a/tests/test_commands/test_exists.py b/tests/test_commands/test_exists.py index 98747fc5..2bb0affd 100644 --- a/tests/test_commands/test_exists.py +++ b/tests/test_commands/test_exists.py @@ -1,9 +1,12 @@ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. +import pytest + from fabric_cli.core import fab_constant as constant from fabric_cli.core.fab_types import ItemType from tests.test_commands.data.static_test_data import StaticTestData +from tests.test_commands.conftest import custom_parametrize class TestExists: @@ -18,17 +21,18 @@ def test_exists_workspace_exists_success( mock_print_done.assert_called_once() assert constant.INFO_EXISTS_TRUE in mock_print_done.call_args[0][0] + @custom_parametrize def test_exists_item_exists_success( - self, item_factory, mock_print_done, cli_executor + self, item_factory, mock_print_done, cli_executor, item_type ): # Setup - lakehouse = item_factory(ItemType.LAKEHOUSE) + item = item_factory(item_type) # Reset mock mock_print_done.reset_mock() # Execute command - cli_executor.exec_command(f"exists {lakehouse.full_path}") + cli_executor.exec_command(f"exists {item.full_path}") # Assert mock_print_done.assert_called_once() @@ -46,51 +50,80 @@ def test_exists_virtual_workspace_item_capacity_exists_success( mock_print_done.assert_called_once() assert constant.INFO_EXISTS_TRUE in mock_print_done.call_args[0][0] + @pytest.mark.parametrize("item_type,folder_name", [ + (ItemType.LAKEHOUSE, "Files"), + (ItemType.LAKEHOUSE, "Tables"), + (ItemType.WAREHOUSE, "Tables"), + (ItemType.SPARK_JOB_DEFINITION, "Libs"), + (ItemType.SPARK_JOB_DEFINITION, "Main"), + (ItemType.KQL_DATABASE, "Tables"), + (ItemType.SQL_DATABASE, "Tables"), + (ItemType.SQL_DATABASE, "Files"), + (ItemType.MIRRORED_DATABASE, "Tables"), + (ItemType.MIRRORED_DATABASE, "Files"), + ]) def test_exists_onelake_exists_success( - self, item_factory, mock_print_done, cli_executor + self, item_factory, mock_print_done, cli_executor, item_type, folder_name ): # Setup - lakehouse = item_factory(ItemType.LAKEHOUSE) + item = item_factory(item_type) # Reset mock mock_print_done.reset_mock() # Execute command - cli_executor.exec_command(f"exists {lakehouse.full_path}/Files") + cli_executor.exec_command(f"exists {item.full_path}/{folder_name}") # Assert mock_print_done.assert_called_once() assert constant.INFO_EXISTS_TRUE in mock_print_done.call_args[0][0] + @custom_parametrize def test_exists_item_doesnt_exist_success( - self, item_factory, mock_print_done, cli_executor + self, item_factory, mock_print_done, cli_executor, item_type ): # Setup - lakehouse = item_factory(ItemType.LAKEHOUSE) + item = item_factory(item_type) # Reset mock mock_print_done.reset_mock() # Execute command - path = lakehouse.full_path.replace(".Lakehouse", "random.Lakehouse") + item_extension = f".{item_type.value}" + path = item.full_path.replace( + item_extension, f"random{item_extension}") cli_executor.exec_command(f"exists {path}") # Assert mock_print_done.assert_called_once() assert constant.INFO_EXISTS_FALSE in mock_print_done.call_args[0][0] + @pytest.mark.parametrize("item_type,folder_name", [ + (ItemType.LAKEHOUSE, "Files"), + (ItemType.LAKEHOUSE, "Tables"), + (ItemType.WAREHOUSE, "Files"), + (ItemType.WAREHOUSE, "Tables"), + (ItemType.SEMANTIC_MODEL, "Tables"), + (ItemType.SPARK_JOB_DEFINITION, "Libs"), + (ItemType.SPARK_JOB_DEFINITION, "Main"), + (ItemType.KQL_DATABASE, "Tables"), + (ItemType.SQL_DATABASE, "Tables"), + (ItemType.SQL_DATABASE, "Files"), + (ItemType.MIRRORED_DATABASE, "Tables"), + (ItemType.MIRRORED_DATABASE, "Files"), + ]) def test_exists_onelake_doesnt_exist_success( - self, item_factory, mock_print_done, cli_executor + self, item_factory, mock_print_done, cli_executor, item_type, folder_name ): # Setup - lakehouse = item_factory(ItemType.LAKEHOUSE) + item = item_factory(item_type) # Reset mock mock_print_done.reset_mock() # Execute command cli_executor.exec_command( - f"exists {lakehouse.full_path}/Files/non_existent_file.txt" + f"exists {item.full_path}/{folder_name}/non_existent_file.txt" ) # Assert @@ -139,7 +172,8 @@ def test_exists_folder_doesnt_exist_success( mock_print_done.reset_mock() # Execute command - cli_executor.exec_command(f"exists {workspace.full_path}/random_folder.Folder") + cli_executor.exec_command( + f"exists {workspace.full_path}/random_folder.Folder") # Assert mock_print_done.assert_called_once() From f305fe96b4fc3a60d142e7d2958b52dcd5929a7e Mon Sep 17 00:00:00 2001 From: Alex Moraru Date: Tue, 3 Feb 2026 08:25:37 +0000 Subject: [PATCH 3/3] Adds new item types as parameters --- tests/test_commands/conftest.py | 39 +- .../test_exists/class_setup.yaml | 106 +-- ...ts_item_doesnt_exist_success[CopyJob].yaml | 184 +++-- ...oesnt_exist_success[CosmosDBDatabase].yaml | 715 +++++++++++++++++ ...em_doesnt_exist_success[DataPipeline].yaml | 167 ++-- ...s_item_doesnt_exist_success[Dataflow].yaml | 189 +++-- ...snt_exist_success[DigitalTwinBuilder].yaml | 737 ++++++++++++++++++ ...tem_doesnt_exist_success[Environment].yaml | 169 ++-- ...item_doesnt_exist_success[Eventhouse].yaml | 173 ++-- ...tem_doesnt_exist_success[Eventstream].yaml | 191 +++-- ...item_doesnt_exist_success[GraphQLApi].yaml | 184 +++-- ...m_doesnt_exist_success[GraphQuerySet].yaml | 636 +++++++++++++++ ...em_doesnt_exist_success[KQLDashboard].yaml | 169 ++-- ...tem_doesnt_exist_success[KQLQueryset].yaml | 169 ++-- ..._item_doesnt_exist_success[Lakehouse].yaml | 167 ++-- ...em_doesnt_exist_success[MLExperiment].yaml | 193 +++-- ...ts_item_doesnt_exist_success[MLModel].yaml | 193 +++-- ...oesnt_exist_success[MirroredDatabase].yaml | 169 ++-- ...s_item_doesnt_exist_success[Notebook].yaml | 191 +++-- ...sts_item_doesnt_exist_success[Reflex].yaml | 169 ++-- ...sts_item_doesnt_exist_success[Report].yaml | 227 ++++-- ...tem_doesnt_exist_success[SQLDatabase].yaml | 220 ++++-- ...m_doesnt_exist_success[SemanticModel].yaml | 208 +++-- ...snt_exist_success[SparkJobDefinition].yaml | 219 +++--- ...oesnt_exist_success[UserDataFunction].yaml | 619 +++++++++++++++ ..._item_doesnt_exist_success[Warehouse].yaml | 208 +++-- ...t_exists_item_exists_success[CopyJob].yaml | 136 ++-- ...item_exists_success[CosmosDBDatabase].yaml | 582 ++++++++++++++ ...sts_item_exists_success[DataPipeline].yaml | 106 ++- ..._exists_item_exists_success[Dataflow].yaml | 141 ++-- ...em_exists_success[DigitalTwinBuilder].yaml | 604 ++++++++++++++ ...ists_item_exists_success[Environment].yaml | 112 ++- ...xists_item_exists_success[Eventhouse].yaml | 121 ++- ...ists_item_exists_success[Eventstream].yaml | 150 ++-- ...xists_item_exists_success[GraphQLApi].yaml | 136 ++-- ...ts_item_exists_success[GraphQuerySet].yaml | 508 ++++++++++++ ...sts_item_exists_success[KQLDashboard].yaml | 126 ++- ...ists_item_exists_success[KQLQueryset].yaml | 126 ++- ...exists_item_exists_success[Lakehouse].yaml | 124 ++- ...sts_item_exists_success[MLExperiment].yaml | 150 ++-- ...t_exists_item_exists_success[MLModel].yaml | 148 ++-- ...item_exists_success[MirroredDatabase].yaml | 126 ++- ..._exists_item_exists_success[Notebook].yaml | 148 ++-- ...st_exists_item_exists_success[Reflex].yaml | 124 ++- ...st_exists_item_exists_success[Report].yaml | 186 ++--- ...ists_item_exists_success[SQLDatabase].yaml | 168 ++-- ...ts_item_exists_success[SemanticModel].yaml | 162 ++-- ...em_exists_success[SparkJobDefinition].yaml | 140 ++-- ...item_exists_success[UserDataFunction].yaml | 492 ++++++++++++ ...exists_item_exists_success[Warehouse].yaml | 162 ++-- 50 files changed, 8546 insertions(+), 3043 deletions(-) create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[CosmosDBDatabase].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[DigitalTwinBuilder].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[GraphQuerySet].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[UserDataFunction].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[CosmosDBDatabase].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[DigitalTwinBuilder].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[GraphQuerySet].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[UserDataFunction].yaml diff --git a/tests/test_commands/conftest.py b/tests/test_commands/conftest.py index 392f9e5f..f7e9a817 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.DIGITAL_TWIN_BUILDER, ItemType.GRAPH_QUERY_SET, ]) 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_exists/class_setup.yaml b/tests/test_commands/recordings/test_commands/test_exists/class_setup.yaml index eadc185a..3325f921 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/class_setup.yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/class_setup.yaml @@ -26,15 +26,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2271' + - '2302' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 11:59:36 GMT + - Tue, 03 Feb 2026 07:48:03 GMT Pragma: - no-cache RequestId: - - b608045a-b4c5-4895-9306-a85caffca683 + - a744405c-ca05-4f3a-8b40-7214c0253543 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -75,15 +75,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2271' + - '2302' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 11:59:37 GMT + - Tue, 03 Feb 2026 07:48:03 GMT Pragma: - no-cache RequestId: - - f3af7c61-3cc1-40cc-aa32-5b65539743c7 + - 5ba36471-7a60-4960-8661-651a75e97dba Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -115,7 +115,7 @@ interactions: response: body: string: '{"value": [{"id": "00000000-0000-0000-0000-000000000004", "displayName": - "mocked_fabriccli_capacity_name", "sku": "F32", "region": "Central US", "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: - - '426' + - '425' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 11:59:42 GMT + - Tue, 03 Feb 2026 07:48:10 GMT Pragma: - no-cache RequestId: - - ff602aec-7361-4e63-a409-47b084e7ee86 + - 4c85ce78-2a14-436a-918a-4587be6cfc4d Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -167,7 +167,7 @@ interactions: uri: https://api.fabric.microsoft.com/v1/workspaces response: body: - string: '{"id": "b285198e-e555-4618-9fb9-949cabcaafd4", "displayName": "fabriccli_WorkspacePerTestclass_000001", + string: '{"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}' headers: Access-Control-Expose-Headers: @@ -177,17 +177,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '189' + - '187' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 11:59:51 GMT + - Tue, 03 Feb 2026 07:48:19 GMT Location: - - https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4 + - https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d Pragma: - no-cache RequestId: - - 8f15e78e-9263-4ede-a654-4238aac9a336 + - d7dde270-6dc9-4bd5-b6e1-6a5497b311a7 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -219,7 +219,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "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: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:21:43 GMT + - Tue, 03 Feb 2026 08:04:23 GMT Pragma: - no-cache RequestId: - - c3cedd48-af74-49e4-a4c9-c09dfa0d99d1 + - 8df2bed4-312f-47f4-b0ae-f13fcadbd0fb Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -266,36 +266,36 @@ interactions: User-Agent: - ms-fabric-cli/1.3.1 (exists; Linux; x86_64; 6.6.87.2-microsoft-standard-WSL2) method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": - "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3ad50aa3-67a6-4a2c-b2dc-55da298da64a", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128121303", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "561a5aea-c577-4b88-afbb-e804e3820036", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128121317", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "900187be-5ac8-4e45-b4e7-35a6296b7b3a", - "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128121303", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "d5691741-adcf-43af-8a8c-12a411e3366b", "type": "Eventhouse", "displayName": - "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "2096990d-1518-4cf7-b7cc-2264a6ebd1e3", "type": "KQLDatabase", "displayName": - "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "ae0903bd-0cfc-4050-970c-2b7500d28260", "type": "Eventhouse", "displayName": - "fabcli000001_auto", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "74fa88e3-5d5f-4ea1-a350-14223948a706", "type": "KQLDatabase", "displayName": - "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "b18a5ed1-ad0b-458e-b5f2-c97ee525730e", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203080254", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4de79e8-127a-403a-b786-42495ababff4", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203080308", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f1df5308-6465-4263-80c9-3e96364594f0", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d5cebdeb-f1d9-4a99-9e06-ba678b8f8747", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260203080254", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "4a5b0f88-82ca-48d2-b4d2-db468fd70df9", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -304,15 +304,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '617' + - '586' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:21:44 GMT + - Tue, 03 Feb 2026 08:04:23 GMT Pragma: - no-cache RequestId: - - 51d2dc4e-48e5-40e0-8553-6b25aebe24b0 + - 62c91cb8-123e-42f0-a40b-f5669eb708ec Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -342,7 +342,7 @@ interactions: User-Agent: - ms-fabric-cli/1.3.1 (exists; Linux; x86_64; 6.6.87.2-microsoft-standard-WSL2) method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4 + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d response: body: string: '' @@ -358,11 +358,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:21:44 GMT + - Tue, 03 Feb 2026 08:04:25 GMT Pragma: - no-cache RequestId: - - e2c4e004-6e58-483e-b357-ecbeab6eef14 + - 44fbabbc-6b24-4707-b7bd-17a7a8c49f56 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[CopyJob].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[CopyJob].yaml index 1420ea3f..2b0fe6a1 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[CopyJob].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[CopyJob].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:11 GMT + - Tue, 03 Feb 2026 08:02:30 GMT Pragma: - no-cache RequestId: - - ff57d917-61f5-4948-bda7-277c5c4c9e42 + - 81071276-8ad9-4cdc-b1c1-31cf6858f16f Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,11 +64,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -77,15 +91,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '176' + - '435' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:13 GMT + - Tue, 03 Feb 2026 08:02:30 GMT Pragma: - no-cache RequestId: - - 9eef5f71-9a71-4f2a-afe5-1ce34e96b1c0 + - 0a476409-3461-499c-85ba-a6cb04987d16 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -113,11 +127,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -126,15 +154,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '176' + - '435' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:13 GMT + - Tue, 03 Feb 2026 08:02:31 GMT Pragma: - no-cache RequestId: - - 02c8c70f-2228-461b-8ca0-2995b0fec957 + - da7a4aa5-b1a9-4496-a31d-43b8ebc9cf3e Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -165,11 +193,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/copyJobs + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/copyJobs response: body: - string: '{"id": "0f84c1bd-432c-4681-90ec-7c72e522dcdd", "type": "CopyJob", "displayName": - "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}' + string: '{"id": "8a5c7454-f574-4e2d-9393-1e07deb05335", "type": "CopyJob", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId,ETag @@ -178,17 +206,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '164' + - '163' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:19 GMT + - Tue, 03 Feb 2026 08:02:36 GMT ETag: - '""' Pragma: - no-cache RequestId: - - ec34ad5a-bc6a-47d6-b033-e53c86d7b8b0 + - 0f0e7bc6-801e-4013-b40e-1abed9a314d5 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -220,7 +248,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -231,15 +259,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:20 GMT + - Tue, 03 Feb 2026 08:02:36 GMT Pragma: - no-cache RequestId: - - 64cebd7b-5ff9-412b-b125-c229bf77d3f1 + - 74b09bec-6224-409d-8cbe-c64b467cea75 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -267,13 +295,27 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "0f84c1bd-432c-4681-90ec-7c72e522dcdd", "type": "CopyJob", "displayName": - "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "8a5c7454-f574-4e2d-9393-1e07deb05335", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -282,15 +324,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '242' + - '490' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:19 GMT + - Tue, 03 Feb 2026 08:02:38 GMT Pragma: - no-cache RequestId: - - cb8095c5-ce4f-426d-abcd-50f0757494d5 + - 3fe3c436-70e4-41aa-93a8-06fcda2a60d1 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -318,13 +360,27 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "0f84c1bd-432c-4681-90ec-7c72e522dcdd", "type": "CopyJob", "displayName": - "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "8a5c7454-f574-4e2d-9393-1e07deb05335", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -333,15 +389,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '242' + - '490' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:21 GMT + - Tue, 03 Feb 2026 08:02:37 GMT Pragma: - no-cache RequestId: - - 5bc4cb35-f4dd-4f3d-a55b-88ac9f1e7cd1 + - a41d1dda-4443-411e-bb5f-531ad09a3d03 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -373,7 +429,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -384,15 +440,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:21 GMT + - Tue, 03 Feb 2026 08:02:38 GMT Pragma: - no-cache RequestId: - - 01ca9c57-6fa2-44b9-968d-2c112561b9ae + - af01e92d-be97-4690-96e5-f4bbd8c7cbce Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -420,13 +476,27 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "0f84c1bd-432c-4681-90ec-7c72e522dcdd", "type": "CopyJob", "displayName": - "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "8a5c7454-f574-4e2d-9393-1e07deb05335", + "type": "CopyJob", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -435,15 +505,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '242' + - '490' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:22 GMT + - Tue, 03 Feb 2026 08:02:40 GMT Pragma: - no-cache RequestId: - - ab154723-bced-4a3f-8913-b62f69aa016b + - 2829694f-6659-4a17-9027-0dce4a724b16 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -473,7 +543,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/0f84c1bd-432c-4681-90ec-7c72e522dcdd + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/8a5c7454-f574-4e2d-9393-1e07deb05335 response: body: string: '' @@ -489,11 +559,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:06:22 GMT + - Tue, 03 Feb 2026 08:02:40 GMT Pragma: - no-cache RequestId: - - eb9c3bec-c5be-42a1-aa4a-f6cfbffceb3f + - 8c91e834-0e0a-4de9-8895-9fcb1894c76f Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[CosmosDBDatabase].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[CosmosDBDatabase].yaml new file mode 100644 index 00000000..925cd9b0 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[CosmosDBDatabase].yaml @@ -0,0 +1,715 @@ +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": "b7945519-3184-48e4-8d42-8b7ee977816d", + "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: + - '2336' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 08:03:00 GMT + Pragma: + - no-cache + RequestId: + - 956de34f-b964-4ee4-9b2b-6822f39ec3af + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d5cebdeb-f1d9-4a99-9e06-ba678b8f8747", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260203080254", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '465' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 08:03:00 GMT + Pragma: + - no-cache + RequestId: + - da8055e1-4651-4d3d-8e82-7a10a111af51 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d5cebdeb-f1d9-4a99-9e06-ba678b8f8747", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260203080254", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '465' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 08:03:00 GMT + Pragma: + - no-cache + RequestId: + - d14627f9-3bef-4c90-8d31-bd6c6530f5eb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b7945519-3184-48e4-8d42-8b7ee977816d/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 08:03:02 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/62f0220e-348e-48c5-a5d7-b5275958f74f + Pragma: + - no-cache + RequestId: + - 36120938-919e-4141-bf39-224f65372c5e + 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: + - 62f0220e-348e-48c5-a5d7-b5275958f74f + 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/62f0220e-348e-48c5-a5d7-b5275958f74f + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T08:03:02.3182458", + "lastUpdatedTimeUtc": "2026-02-03T08:03:09.6892919", "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 08:03:24 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/62f0220e-348e-48c5-a5d7-b5275958f74f/result + Pragma: + - no-cache + RequestId: + - 7a4913b9-b574-4644-bf56-8f456e84a13d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 62f0220e-348e-48c5-a5d7-b5275958f74f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/62f0220e-348e-48c5-a5d7-b5275958f74f/result + response: + body: + string: '{"id": "a8bba80a-c900-4761-90ad-4374446c5e93", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}' + 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 08:03:25 GMT + Pragma: + - no-cache + RequestId: + - 447628bb-58b1-47fc-8734-6656363cddbb + 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": "b7945519-3184-48e4-8d42-8b7ee977816d", + "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: + - '2336' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 08:03:26 GMT + Pragma: + - no-cache + RequestId: + - 4380b719-b469-483b-837d-2c759be14ead + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "b18a5ed1-ad0b-458e-b5f2-c97ee525730e", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203080254", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4de79e8-127a-403a-b786-42495ababff4", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203080308", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "b1d21cd4-176d-478e-851f-5198cdba80ca", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d5cebdeb-f1d9-4a99-9e06-ba678b8f8747", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260203080254", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a8bba80a-c900-4761-90ad-4374446c5e93", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '612' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 08:03:27 GMT + Pragma: + - no-cache + RequestId: + - 38b23409-a605-4e7c-8172-a4f795f390aa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "b18a5ed1-ad0b-458e-b5f2-c97ee525730e", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203080254", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4de79e8-127a-403a-b786-42495ababff4", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203080308", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "b1d21cd4-176d-478e-851f-5198cdba80ca", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d5cebdeb-f1d9-4a99-9e06-ba678b8f8747", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260203080254", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a8bba80a-c900-4761-90ad-4374446c5e93", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '612' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 08:03:28 GMT + Pragma: + - no-cache + RequestId: + - c65a0c2a-02f3-4bcc-8742-3fa0a5f3bba8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b7945519-3184-48e4-8d42-8b7ee977816d", + "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: + - '2336' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 08:03:29 GMT + Pragma: + - no-cache + RequestId: + - 15b86a45-4db4-47ae-ae3c-21354c5339d2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "b18a5ed1-ad0b-458e-b5f2-c97ee525730e", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203080254", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4de79e8-127a-403a-b786-42495ababff4", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203080308", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "b1d21cd4-176d-478e-851f-5198cdba80ca", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d5cebdeb-f1d9-4a99-9e06-ba678b8f8747", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260203080254", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a8bba80a-c900-4761-90ad-4374446c5e93", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '612' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 08:03:29 GMT + Pragma: + - no-cache + RequestId: + - b12068ec-1884-46cd-ac7b-4d972f7f4510 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b7945519-3184-48e4-8d42-8b7ee977816d/items/a8bba80a-c900-4761-90ad-4374446c5e93 + 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 08:03:30 GMT + Pragma: + - no-cache + RequestId: + - f75af1ea-622e-4578-8e8e-11c8b03fc40e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_doesnt_exist_success[DataPipeline].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[DataPipeline].yaml index 32137b15..3dbddd9b 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[DataPipeline].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[DataPipeline].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 11:59:52 GMT + - Tue, 03 Feb 2026 07:56:07 GMT Pragma: - no-cache RequestId: - - 5acc1f67-8f90-42b3-94c2-be17e24c528f + - 9c4e373d-035c-470c-87bd-af5282da8a12 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,10 +64,23 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": []}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -76,15 +89,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '32' + - '399' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 11:59:53 GMT + - Tue, 03 Feb 2026 07:56:07 GMT Pragma: - no-cache RequestId: - - d247a11e-94fc-4439-935a-e8d881c90578 + - f499bd2f-1851-401d-b394-de6c1f755271 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -112,10 +125,23 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": []}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -124,15 +150,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '32' + - '399' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 11:59:54 GMT + - Tue, 03 Feb 2026 07:56:12 GMT Pragma: - no-cache RequestId: - - 14fe459e-3dfb-4891-8515-8f5da1aa79bc + - 3c197bb5-be75-4a66-8bfe-3c8390026b4e Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -163,12 +189,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/dataPipelines + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/dataPipelines response: body: - string: '{"id": "7daf7bef-9dea-4db3-8ffd-d459782695a5", "type": "DataPipeline", + string: '{"id": "bae14edc-96fe-4a2e-8361-12522a74f7b1", "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}' + "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId,ETag @@ -181,13 +207,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 11:59:59 GMT + - Tue, 03 Feb 2026 07:56:18 GMT ETag: - '""' Pragma: - no-cache RequestId: - - bc11fd82-5b3d-4f41-83f4-0c8bc617bc4d + - 65e5ae02-af01-412b-968c-00f7fcb36382 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -219,7 +245,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -230,15 +256,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:01 GMT + - Tue, 03 Feb 2026 07:56:18 GMT Pragma: - no-cache RequestId: - - baf29644-e1b3-49f4-bf63-ecefaf6fa6c5 + - 887e2837-f4b2-4f4b-8e42-4d880fe12b93 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -266,12 +292,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "7daf7bef-9dea-4db3-8ffd-d459782695a5", "type": "DataPipeline", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "bae14edc-96fe-4a2e-8361-12522a74f7b1", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -280,15 +319,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '179' + - '456' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:02 GMT + - Tue, 03 Feb 2026 07:56:20 GMT Pragma: - no-cache RequestId: - - 6a3cda28-3818-4a50-aeca-51b4ac2dfdcb + - 0be2cefc-d2d6-4487-93df-784b68004d7f Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -316,12 +355,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "7daf7bef-9dea-4db3-8ffd-d459782695a5", "type": "DataPipeline", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "bae14edc-96fe-4a2e-8361-12522a74f7b1", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -330,15 +382,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '179' + - '456' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:03 GMT + - Tue, 03 Feb 2026 07:56:21 GMT Pragma: - no-cache RequestId: - - 3e5c2eec-60f0-41db-8269-50d0fe565105 + - 0d343e9d-ce11-4a29-a470-d17caaa8c613 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -370,7 +422,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -381,15 +433,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:04 GMT + - Tue, 03 Feb 2026 07:56:23 GMT Pragma: - no-cache RequestId: - - 159bb17d-f384-42b5-ad32-6e8a91abadb5 + - fae7528a-cba9-4a09-8f87-ce364625aaa8 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -417,12 +469,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "7daf7bef-9dea-4db3-8ffd-d459782695a5", "type": "DataPipeline", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "bae14edc-96fe-4a2e-8361-12522a74f7b1", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -431,15 +496,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '179' + - '456' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:04 GMT + - Tue, 03 Feb 2026 07:56:23 GMT Pragma: - no-cache RequestId: - - 793d766d-47d8-4549-af70-fa07993804dd + - 56b5b0ce-c5a3-4c86-a28f-7c0b0b5f1501 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -469,7 +534,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/7daf7bef-9dea-4db3-8ffd-d459782695a5 + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/bae14edc-96fe-4a2e-8361-12522a74f7b1 response: body: string: '' @@ -485,11 +550,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:00:05 GMT + - Tue, 03 Feb 2026 07:56:24 GMT Pragma: - no-cache RequestId: - - 24a9b39d-0310-4f07-9ce2-2e656e609488 + - 69cdee04-ae3f-4271-be8e-aa51ee91c835 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Dataflow].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Dataflow].yaml index 27bf6547..8877225f 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Dataflow].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Dataflow].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:32 GMT + - Tue, 03 Feb 2026 08:02:50 GMT Pragma: - no-cache RequestId: - - eebd4db5-f95f-4bab-bda4-585e223a839c + - aba2ca80-ed9f-4afd-ba61-52b6f2cdf199 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,11 +64,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -77,15 +91,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '176' + - '435' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:33 GMT + - Tue, 03 Feb 2026 08:02:51 GMT Pragma: - no-cache RequestId: - - 8f1f41ce-cdb1-4a7b-892d-38ad6649ba81 + - fb16e457-33c7-4bfc-8e44-f52fcb88f90f Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -113,11 +127,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -126,15 +154,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '176' + - '435' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:34 GMT + - Tue, 03 Feb 2026 08:02:52 GMT Pragma: - no-cache RequestId: - - ed0415e6-f336-4cb0-9dcf-dc7a5ea553b7 + - 1636abc5-c7be-41c2-9eeb-bdd63110c27b Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -165,12 +193,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/dataflows + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/dataflows response: body: - string: '{"id": "14027f66-9ee6-4ebd-94b9-4f78b7ba168a", "type": "Dataflow", + string: '{"id": "30e91199-5a3a-438a-b610-c3e51fecc81a", "type": "Dataflow", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}' + "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId,ETag @@ -179,17 +207,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '165' + - '166' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:36 GMT + - Tue, 03 Feb 2026 08:02:54 GMT ETag: - '""' Pragma: - no-cache RequestId: - - afde5ece-032d-485c-baab-be6855d37722 + - eb2b21c0-4992-47e4-81e0-67f1aa77c34e Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -221,7 +249,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -232,15 +260,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:38 GMT + - Tue, 03 Feb 2026 08:02:55 GMT Pragma: - no-cache RequestId: - - 5a0105fb-65b7-4b32-877c-478b5f5cc323 + - 1005408f-26f4-4693-b2ca-05e32e821b35 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -268,13 +296,27 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "14027f66-9ee6-4ebd-94b9-4f78b7ba168a", "type": "Dataflow", "displayName": - "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "30e91199-5a3a-438a-b610-c3e51fecc81a", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -283,15 +325,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '241' + - '485' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:39 GMT + - Tue, 03 Feb 2026 08:02:55 GMT Pragma: - no-cache RequestId: - - f1251e42-610f-4d66-850c-0a7f88290dc4 + - c087dd49-1b3d-456f-bdf7-e082c42b39bd Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -319,13 +361,27 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "14027f66-9ee6-4ebd-94b9-4f78b7ba168a", "type": "Dataflow", "displayName": - "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "30e91199-5a3a-438a-b610-c3e51fecc81a", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -334,15 +390,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '241' + - '485' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:40 GMT + - Tue, 03 Feb 2026 08:02:56 GMT Pragma: - no-cache RequestId: - - ad8e529f-d35e-4d45-9241-c9fb35ddafdb + - 7ad0c8fb-ab92-43c0-b357-ec77d2fdd461 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -374,7 +430,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -385,15 +441,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:40 GMT + - Tue, 03 Feb 2026 08:02:58 GMT Pragma: - no-cache RequestId: - - 83bcc5be-4dd1-47dd-a536-164ba314fb90 + - db771291-8332-4e3d-a667-7788300e6259 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -421,16 +477,29 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "14027f66-9ee6-4ebd-94b9-4f78b7ba168a", "type": "Dataflow", "displayName": - "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "30e91199-5a3a-438a-b610-c3e51fecc81a", + "type": "Dataflow", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d5cebdeb-f1d9-4a99-9e06-ba678b8f8747", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260203080254", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -439,15 +508,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '303' + - '516' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:41 GMT + - Tue, 03 Feb 2026 08:02:58 GMT Pragma: - no-cache RequestId: - - af3d078c-a501-4e8c-85c2-3e1bd6d63d21 + - 945da4f6-eef2-4e80-b332-deeee26c4903 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -477,7 +546,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/14027f66-9ee6-4ebd-94b9-4f78b7ba168a + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/30e91199-5a3a-438a-b610-c3e51fecc81a response: body: string: '' @@ -493,11 +562,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:06:42 GMT + - Tue, 03 Feb 2026 08:02:58 GMT Pragma: - no-cache RequestId: - - 54f1ba2d-7ceb-4ee6-849f-cbbf65e7c377 + - c86922a9-b33e-44ef-bb19-edf6e347e152 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[DigitalTwinBuilder].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[DigitalTwinBuilder].yaml new file mode 100644 index 00000000..b045b31e --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[DigitalTwinBuilder].yaml @@ -0,0 +1,737 @@ +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": "b7945519-3184-48e4-8d42-8b7ee977816d", + "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: + - '2336' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 08:03:41 GMT + Pragma: + - no-cache + RequestId: + - e3286622-c0f4-4c02-b0ed-25a4c9c4b29e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "b18a5ed1-ad0b-458e-b5f2-c97ee525730e", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203080254", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4de79e8-127a-403a-b786-42495ababff4", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203080308", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d5cebdeb-f1d9-4a99-9e06-ba678b8f8747", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260203080254", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '521' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 08:03:43 GMT + Pragma: + - no-cache + RequestId: + - 657b9810-e194-4bdf-bca7-8cf9d1edf489 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "b18a5ed1-ad0b-458e-b5f2-c97ee525730e", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203080254", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4de79e8-127a-403a-b786-42495ababff4", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203080308", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d5cebdeb-f1d9-4a99-9e06-ba678b8f8747", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260203080254", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '521' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 08:03:43 GMT + Pragma: + - no-cache + RequestId: + - b1492050-313e-4bf0-b7dc-2c174d19eaca + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b7945519-3184-48e4-8d42-8b7ee977816d/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 08:03:45 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c990f4ee-e1c1-4f0f-9ac6-e30a9d6626a5 + Pragma: + - no-cache + RequestId: + - 88c5b5e9-2dab-4d0e-aa4c-0c9e98bc89bd + 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: + - c990f4ee-e1c1-4f0f-9ac6-e30a9d6626a5 + 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/c990f4ee-e1c1-4f0f-9ac6-e30a9d6626a5 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T08:03:44.8374324", + "lastUpdatedTimeUtc": "2026-02-03T08:03:52.1503807", "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 08:04:08 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c990f4ee-e1c1-4f0f-9ac6-e30a9d6626a5/result + Pragma: + - no-cache + RequestId: + - a3daad84-b51f-4e4f-ba96-3dfbcc1b9ae2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - c990f4ee-e1c1-4f0f-9ac6-e30a9d6626a5 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/c990f4ee-e1c1-4f0f-9ac6-e30a9d6626a5/result + response: + body: + string: '{"id": "4483bcf0-d868-4a72-80ba-3c42995d2ca7", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}' + 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 08:04:08 GMT + Pragma: + - no-cache + RequestId: + - f8eb4fcb-c5c9-4c9d-b138-aa35979b7694 + 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": "b7945519-3184-48e4-8d42-8b7ee977816d", + "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: + - '2336' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 08:04:10 GMT + Pragma: + - no-cache + RequestId: + - 556c7307-11c9-49fd-8a7c-d103616b3332 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "b18a5ed1-ad0b-458e-b5f2-c97ee525730e", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203080254", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4de79e8-127a-403a-b786-42495ababff4", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203080308", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f1df5308-6465-4263-80c9-3e96364594f0", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d5cebdeb-f1d9-4a99-9e06-ba678b8f8747", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260203080254", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "4483bcf0-d868-4a72-80ba-3c42995d2ca7", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "4a5b0f88-82ca-48d2-b4d2-db468fd70df9", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "49ff22a5-d24e-4932-8a71-0555afe6fe5f", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '686' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 08:04:10 GMT + Pragma: + - no-cache + RequestId: + - e8370f4c-b825-4901-81a4-b9f6df2af481 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "b18a5ed1-ad0b-458e-b5f2-c97ee525730e", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203080254", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4de79e8-127a-403a-b786-42495ababff4", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203080308", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f1df5308-6465-4263-80c9-3e96364594f0", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d5cebdeb-f1d9-4a99-9e06-ba678b8f8747", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260203080254", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "4483bcf0-d868-4a72-80ba-3c42995d2ca7", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "4a5b0f88-82ca-48d2-b4d2-db468fd70df9", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "49ff22a5-d24e-4932-8a71-0555afe6fe5f", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '686' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 08:04:11 GMT + Pragma: + - no-cache + RequestId: + - c3b5f862-6fee-435b-b384-d8e30303f82d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b7945519-3184-48e4-8d42-8b7ee977816d", + "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: + - '2336' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 08:04:11 GMT + Pragma: + - no-cache + RequestId: + - 913b0ea4-5963-412c-8cd0-825980664ae7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "b18a5ed1-ad0b-458e-b5f2-c97ee525730e", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203080254", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4de79e8-127a-403a-b786-42495ababff4", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203080308", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f1df5308-6465-4263-80c9-3e96364594f0", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d5cebdeb-f1d9-4a99-9e06-ba678b8f8747", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260203080254", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "4483bcf0-d868-4a72-80ba-3c42995d2ca7", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "4a5b0f88-82ca-48d2-b4d2-db468fd70df9", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "49ff22a5-d24e-4932-8a71-0555afe6fe5f", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '686' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 08:04:13 GMT + Pragma: + - no-cache + RequestId: + - 4a27cd53-5550-4975-b43e-bfb1cecf6306 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b7945519-3184-48e4-8d42-8b7ee977816d/items/4483bcf0-d868-4a72-80ba-3c42995d2ca7 + 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 08:04:13 GMT + Pragma: + - no-cache + RequestId: + - 0bf662da-aeaf-456a-a5a5-3958ed7c1e60 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_doesnt_exist_success[Environment].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Environment].yaml index 18f0a5da..c8063f90 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Environment].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Environment].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:06 GMT + - Tue, 03 Feb 2026 07:56:24 GMT Pragma: - no-cache RequestId: - - b208c71a-487b-4b89-9f9e-64f0c9fc51f6 + - 463a6899-3103-4126-b7d9-e57b829e1d82 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,10 +64,23 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": []}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -76,15 +89,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '32' + - '399' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:07 GMT + - Tue, 03 Feb 2026 07:56:26 GMT Pragma: - no-cache RequestId: - - 5580b631-5587-4b98-b820-c1d9e34a73ce + - 8a26e749-209e-4be0-a2df-4b4f55bc6647 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -112,10 +125,23 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": []}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -124,15 +150,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '32' + - '399' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:08 GMT + - Tue, 03 Feb 2026 07:56:26 GMT Pragma: - no-cache RequestId: - - 52bc817a-6914-46dd-88ae-917677182d1e + - d3193daf-f4ca-4d26-b628-cf17b040fb1a Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -163,12 +189,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/environments + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/environments response: body: - string: '{"id": "3e50b7c9-e288-46f7-a057-4316460a9585", "type": "Environment", + string: '{"id": "6c70f699-a33c-4354-ae15-80b6ad57d9c5", "type": "Environment", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}' + "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId,ETag @@ -177,17 +203,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '170' + - '168' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:09 GMT + - Tue, 03 Feb 2026 07:56:30 GMT ETag: - '""' Pragma: - no-cache RequestId: - - 8b9b2bd4-825c-49b4-a0e6-18485d2a883b + - e6e10491-7cce-4c8d-8482-1170d5e64961 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -219,7 +245,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -230,15 +256,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:10 GMT + - Tue, 03 Feb 2026 07:56:30 GMT Pragma: - no-cache RequestId: - - ee934c15-e853-4727-8df6-67677d24181c + - fec92f18-ae24-4f4a-b5f3-3240517659e2 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -266,12 +292,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "3e50b7c9-e288-46f7-a057-4316460a9585", "type": "Environment", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "6c70f699-a33c-4354-ae15-80b6ad57d9c5", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -280,15 +319,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '182' + - '455' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:11 GMT + - Tue, 03 Feb 2026 07:56:32 GMT Pragma: - no-cache RequestId: - - 872f595b-8336-4d02-8efd-ea61db5214d0 + - 17e5ae0c-e7e5-4e0b-b3f3-e5ce1c0c8ed2 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -316,12 +355,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "3e50b7c9-e288-46f7-a057-4316460a9585", "type": "Environment", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "6c70f699-a33c-4354-ae15-80b6ad57d9c5", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -330,15 +382,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '182' + - '455' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:12 GMT + - Tue, 03 Feb 2026 07:56:33 GMT Pragma: - no-cache RequestId: - - 24b850a5-98b7-4b51-94f8-3ee557de9497 + - 82591735-99dc-42aa-9d0d-96254a2d3e21 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -370,7 +422,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -381,15 +433,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:13 GMT + - Tue, 03 Feb 2026 07:56:33 GMT Pragma: - no-cache RequestId: - - 8679cd78-2987-4676-ad88-4f88840f870b + - 9145410c-b9a7-48af-bafd-dcb813d53b15 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -417,12 +469,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "3e50b7c9-e288-46f7-a057-4316460a9585", "type": "Environment", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "6c70f699-a33c-4354-ae15-80b6ad57d9c5", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -431,15 +496,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '182' + - '455' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:14 GMT + - Tue, 03 Feb 2026 07:56:34 GMT Pragma: - no-cache RequestId: - - eddad55a-130c-4d70-8f53-f443458e824c + - 9a4bbae0-c245-418e-9d7a-d43084bee37e Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -469,7 +534,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/3e50b7c9-e288-46f7-a057-4316460a9585 + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/6c70f699-a33c-4354-ae15-80b6ad57d9c5 response: body: string: '' @@ -485,11 +550,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:00:14 GMT + - Tue, 03 Feb 2026 07:56:35 GMT Pragma: - no-cache RequestId: - - b251b757-5ced-4d8f-870b-0204f4d67a2e + - 13977294-7565-4e8a-a294-7a122f7f3c5e Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Eventhouse].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Eventhouse].yaml index be533bee..872bcd6a 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Eventhouse].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Eventhouse].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:14 GMT + - Tue, 03 Feb 2026 07:56:35 GMT Pragma: - no-cache RequestId: - - d56494c5-edec-4576-aabc-3c97aa49cc66 + - a112dafc-542c-4d09-a6bb-fafd8210c412 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,10 +64,23 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": []}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -76,15 +89,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '32' + - '399' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:14 GMT + - Tue, 03 Feb 2026 07:56:36 GMT Pragma: - no-cache RequestId: - - dfe1792a-0dc4-4c5f-b4be-d2d6d92c8b9a + - 6d04cc54-a0ac-493b-a4f6-db720e766854 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -112,10 +125,23 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": []}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -124,15 +150,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '32' + - '399' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:15 GMT + - Tue, 03 Feb 2026 07:56:37 GMT Pragma: - no-cache RequestId: - - aed9983a-fe6f-4c48-b2df-6be5d11b9790 + - dbda8e3a-c627-42cb-ad5d-b13f9ebbe87c Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -163,12 +189,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/eventhouses + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/eventhouses response: body: - string: '{"id": "dbd0ac8c-44b7-4fa4-88e5-27ff944df802", "type": "Eventhouse", + string: '{"id": "b492f9db-9183-4fde-8f22-ab34a4dba185", "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}' + "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId,ETag @@ -181,13 +207,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:18 GMT + - Tue, 03 Feb 2026 07:56:40 GMT ETag: - '""' Pragma: - no-cache RequestId: - - c837c852-a82b-4ac9-8f1f-183ac02515b8 + - 1ce1dc82-c107-494e-a661-cb5a9788c13b Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -219,7 +245,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -230,15 +256,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:19 GMT + - Tue, 03 Feb 2026 07:56:41 GMT Pragma: - no-cache RequestId: - - ea5feaaa-d67a-4716-94b9-5e1d7f5b65b4 + - c25de43d-718c-4ba2-b088-43d8b6f334b1 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -266,14 +292,27 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "dbd0ac8c-44b7-4fa4-88e5-27ff944df802", "type": "Eventhouse", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "88dfa619-e1f2-422d-8074-f4a58de546e8", + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "b492f9db-9183-4fde-8f22-ab34a4dba185", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "8825c761-2d90-481a-8d03-123b11b3fb8b", "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", - "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -282,15 +321,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '228' + - '492' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:20 GMT + - Tue, 03 Feb 2026 07:56:42 GMT Pragma: - no-cache RequestId: - - 898dd577-3515-4189-84d4-3e8e45e1d423 + - d1e0c0af-dc18-4770-98e5-eaa024416221 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -318,14 +357,27 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "dbd0ac8c-44b7-4fa4-88e5-27ff944df802", "type": "Eventhouse", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "88dfa619-e1f2-422d-8074-f4a58de546e8", + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "b492f9db-9183-4fde-8f22-ab34a4dba185", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "8825c761-2d90-481a-8d03-123b11b3fb8b", "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", - "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -334,15 +386,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '228' + - '492' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:21 GMT + - Tue, 03 Feb 2026 07:56:43 GMT Pragma: - no-cache RequestId: - - 12b63711-6ba2-4905-8cd7-3c0d602e4a0c + - 8aee9078-b4ee-42e3-9d9b-56e738ef6b3c Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -374,7 +426,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -385,15 +437,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:22 GMT + - Tue, 03 Feb 2026 07:56:44 GMT Pragma: - no-cache RequestId: - - 7665d16c-201e-46f2-aa1d-1ca7ca6cdc19 + - 679afdcc-c351-41a2-bc39-9e6d6bdc86a1 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -421,14 +473,27 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "dbd0ac8c-44b7-4fa4-88e5-27ff944df802", "type": "Eventhouse", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "88dfa619-e1f2-422d-8074-f4a58de546e8", + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "b492f9db-9183-4fde-8f22-ab34a4dba185", + "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "8825c761-2d90-481a-8d03-123b11b3fb8b", "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", - "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -437,15 +502,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '228' + - '492' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:23 GMT + - Tue, 03 Feb 2026 07:56:45 GMT Pragma: - no-cache RequestId: - - dcd31e5d-30d5-4363-bca4-a17be12f0cea + - 18ff2a3b-52c1-4e33-9463-f979d2c395e2 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -475,7 +540,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/dbd0ac8c-44b7-4fa4-88e5-27ff944df802 + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/b492f9db-9183-4fde-8f22-ab34a4dba185 response: body: string: '' @@ -491,11 +556,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:00:23 GMT + - Tue, 03 Feb 2026 07:56:46 GMT Pragma: - no-cache RequestId: - - e7e319ba-fdca-458e-bae1-b6a801ccd6da + - 73dadf0b-9f1c-4669-9cce-58743ff7dbc5 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Eventstream].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Eventstream].yaml index ffbcb00e..36e211f3 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Eventstream].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Eventstream].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:25 GMT + - Tue, 03 Feb 2026 07:56:46 GMT Pragma: - no-cache RequestId: - - 30fb732a-8293-48cd-847f-c284d4e72b86 + - 694e1d13-918f-46e9-a1b4-f746f986faf7 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,10 +64,23 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": []}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -76,15 +89,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '32' + - '399' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:25 GMT + - Tue, 03 Feb 2026 07:56:47 GMT Pragma: - no-cache RequestId: - - 1a569c0a-1672-4d33-b17f-6d4f72b53335 + - dad872fb-806e-4ac8-bd1a-d5b4ddea3e41 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -112,10 +125,23 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": []}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -124,15 +150,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '32' + - '399' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:26 GMT + - Tue, 03 Feb 2026 07:56:48 GMT Pragma: - no-cache RequestId: - - b09b9215-d872-4383-b317-c36b0bb1bd9c + - dc90593e-5698-4787-981b-b2389f611137 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -163,7 +189,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/eventstreams + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/eventstreams response: body: string: 'null' @@ -179,15 +205,15 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:27 GMT + - Tue, 03 Feb 2026 07:56:49 GMT ETag: - '""' Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/dfd78787-d5e0-4274-ab4e-a4429dfda988 + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/82a16e19-309a-476b-8128-90f998d711fa Pragma: - no-cache RequestId: - - c4ae7b40-cbec-42d5-b02c-c52d67daadb5 + - 5ebbfa74-4690-45a8-862d-951fbcb5d1a7 Retry-After: - '20' Strict-Transport-Security: @@ -201,7 +227,7 @@ interactions: request-redirected: - 'true' x-ms-operation-id: - - dfd78787-d5e0-4274-ab4e-a4429dfda988 + - 82a16e19-309a-476b-8128-90f998d711fa status: code: 202 message: Accepted @@ -219,11 +245,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/dfd78787-d5e0-4274-ab4e-a4429dfda988 + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/82a16e19-309a-476b-8128-90f998d711fa response: body: - string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:00:27.8093846", - "lastUpdatedTimeUtc": "2026-01-28T12:00:31.935481", "percentComplete": 100, + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T07:56:50.0006658", + "lastUpdatedTimeUtc": "2026-02-03T07:56:54.1897375", "percentComplete": 100, "error": null}' headers: Access-Control-Expose-Headers: @@ -237,13 +263,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:49 GMT + - Tue, 03 Feb 2026 07:57:11 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/dfd78787-d5e0-4274-ab4e-a4429dfda988/result + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/82a16e19-309a-476b-8128-90f998d711fa/result Pragma: - no-cache RequestId: - - 72bde2d3-fad0-4f0b-83dc-71df983bdb82 + - 130e7bc9-7317-41bb-9c6c-3f2845f63242 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -251,7 +277,7 @@ interactions: X-Frame-Options: - deny x-ms-operation-id: - - dfd78787-d5e0-4274-ab4e-a4429dfda988 + - 82a16e19-309a-476b-8128-90f998d711fa status: code: 200 message: OK @@ -269,12 +295,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/dfd78787-d5e0-4274-ab4e-a4429dfda988/result + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/82a16e19-309a-476b-8128-90f998d711fa/result response: body: - string: '{"id": "6f441a7f-3f79-44f4-a061-4127c67b9749", "type": "Eventstream", + string: '{"id": "8d5aea22-7ee9-4b05-be72-5959f613eb3a", "type": "Eventstream", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}' + "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId @@ -285,11 +311,11 @@ interactions: Content-Type: - application/json Date: - - Wed, 28 Jan 2026 12:00:50 GMT + - Tue, 03 Feb 2026 07:57:12 GMT Pragma: - no-cache RequestId: - - be08d268-6237-4f5a-b7ab-f1d571c5522e + - cec8c464-8c57-4fc9-9e18-65db5542d851 Strict-Transport-Security: - max-age=31536000; includeSubDomains Transfer-Encoding: @@ -319,7 +345,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -330,15 +356,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:50 GMT + - Tue, 03 Feb 2026 07:57:14 GMT Pragma: - no-cache RequestId: - - 066638ed-f67a-4ac9-ac10-5ff031f9c813 + - 983a7b7e-39dd-497e-bf93-e9e3eb54d004 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -366,12 +392,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "6f441a7f-3f79-44f4-a061-4127c67b9749", "type": "Eventstream", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "8d5aea22-7ee9-4b05-be72-5959f613eb3a", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -380,15 +419,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '180' + - '459' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:52 GMT + - Tue, 03 Feb 2026 07:57:14 GMT Pragma: - no-cache RequestId: - - 9641f22b-8ffa-4b4d-af25-289cc6a6116e + - 891b9312-8518-4795-be55-b62237b1c9ce Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -416,12 +455,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "6f441a7f-3f79-44f4-a061-4127c67b9749", "type": "Eventstream", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "8d5aea22-7ee9-4b05-be72-5959f613eb3a", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -430,15 +482,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '180' + - '459' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:51 GMT + - Tue, 03 Feb 2026 07:57:15 GMT Pragma: - no-cache RequestId: - - b6d8fa0e-5aa9-45bc-9da6-811719d54b99 + - 4516aa59-aab9-466f-8c77-0888145f9ef4 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -470,7 +522,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -481,15 +533,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:52 GMT + - Tue, 03 Feb 2026 07:57:16 GMT Pragma: - no-cache RequestId: - - 1d2210d4-812b-476a-8c9b-c855b044a385 + - f9253219-6b3a-4fbd-a799-219e019dcce1 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -517,12 +569,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "6f441a7f-3f79-44f4-a061-4127c67b9749", "type": "Eventstream", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "8d5aea22-7ee9-4b05-be72-5959f613eb3a", + "type": "Eventstream", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -531,15 +596,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '180' + - '459' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:53 GMT + - Tue, 03 Feb 2026 07:57:17 GMT Pragma: - no-cache RequestId: - - e9e07b30-bd47-4993-a551-2aea02252b11 + - 697734cb-cf82-496d-a9b9-287ec79da88c Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -569,7 +634,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/6f441a7f-3f79-44f4-a061-4127c67b9749 + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/8d5aea22-7ee9-4b05-be72-5959f613eb3a response: body: string: '' @@ -585,11 +650,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:00:54 GMT + - Tue, 03 Feb 2026 07:57:17 GMT Pragma: - no-cache RequestId: - - 3e9d49b0-ec63-4ed9-b220-4294bc742852 + - 1d21377f-365f-4818-a671-0b80554b3f6f Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[GraphQLApi].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[GraphQLApi].yaml index 1376b4ad..8c70e55d 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[GraphQLApi].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[GraphQLApi].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:23 GMT + - Tue, 03 Feb 2026 08:02:40 GMT Pragma: - no-cache RequestId: - - 997d8173-158b-4adc-b8b9-eb7a466e3e22 + - 112f5b27-59fe-4a78-8477-9c81c34da3c0 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,11 +64,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -77,15 +91,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '176' + - '435' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:24 GMT + - Tue, 03 Feb 2026 08:02:42 GMT Pragma: - no-cache RequestId: - - c992a6bc-38b6-4ea3-bc9a-130eccdd82e0 + - adc9eb19-8a24-4241-b2f2-f0a812000887 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -113,11 +127,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -126,15 +154,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '176' + - '435' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:24 GMT + - Tue, 03 Feb 2026 08:02:42 GMT Pragma: - no-cache RequestId: - - 22c008b5-bed6-46b6-8130-6d4016a767db + - a03de601-b919-4dcf-9642-44d0ece23214 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -165,12 +193,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/graphqlapis + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/graphqlapis response: body: - string: '{"id": "39db2a63-1c0a-4874-a5b9-9ff1828d2ee5", "type": "GraphQLApi", + string: '{"id": "b1ac2e95-af48-4bec-92b8-c0b788227fb9", "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}' + "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId,ETag @@ -179,17 +207,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '170' + - '171' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:27 GMT + - Tue, 03 Feb 2026 08:02:44 GMT ETag: - '""' Pragma: - no-cache RequestId: - - 7cbf4a5b-3a6d-462d-a078-cb5bbe65b809 + - 82595777-696c-4052-b1c5-a2e8ad3d2ebc Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -221,7 +249,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -232,15 +260,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:28 GMT + - Tue, 03 Feb 2026 08:02:44 GMT Pragma: - no-cache RequestId: - - bb12a092-c953-4cb4-b424-b204ecb1555d + - afff8ce5-5d2b-4a57-bb4a-f0e70fca0725 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -268,13 +296,27 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "39db2a63-1c0a-4874-a5b9-9ff1828d2ee5", "type": "GraphQLApi", "displayName": - "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "b1ac2e95-af48-4bec-92b8-c0b788227fb9", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -283,15 +325,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '245' + - '497' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:28 GMT + - Tue, 03 Feb 2026 08:02:46 GMT Pragma: - no-cache RequestId: - - 9325a1fe-f7fa-4d0c-a7a2-7390f588e551 + - 4e0ed440-6280-4221-830b-e30cd299dad5 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -319,13 +361,27 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "39db2a63-1c0a-4874-a5b9-9ff1828d2ee5", "type": "GraphQLApi", "displayName": - "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "b1ac2e95-af48-4bec-92b8-c0b788227fb9", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -334,15 +390,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '245' + - '497' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:30 GMT + - Tue, 03 Feb 2026 08:02:46 GMT Pragma: - no-cache RequestId: - - dc52feed-f1dd-4b0d-83d4-17c73082eb1a + - 8d258ff1-2993-4856-bcdc-b962a36aa6d2 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -374,7 +430,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -385,15 +441,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:30 GMT + - Tue, 03 Feb 2026 08:02:48 GMT Pragma: - no-cache RequestId: - - 21b8d08f-fe3b-43cc-8524-908056e05b6d + - 11ede9d8-b961-4d53-93e1-25f356710586 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -421,13 +477,27 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "39db2a63-1c0a-4874-a5b9-9ff1828d2ee5", "type": "GraphQLApi", "displayName": - "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "b1ac2e95-af48-4bec-92b8-c0b788227fb9", + "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -436,15 +506,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '245' + - '497' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:30 GMT + - Tue, 03 Feb 2026 08:02:48 GMT Pragma: - no-cache RequestId: - - 751e535d-7495-4acd-83db-1c244eb980e8 + - 13a307f4-1b77-4780-b88c-dc84b973325e Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -474,7 +544,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/39db2a63-1c0a-4874-a5b9-9ff1828d2ee5 + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/b1ac2e95-af48-4bec-92b8-c0b788227fb9 response: body: string: '' @@ -490,11 +560,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:06:32 GMT + - Tue, 03 Feb 2026 08:02:49 GMT Pragma: - no-cache RequestId: - - 6b385dc8-1e3d-4bdf-bfaa-fd2630784f23 + - 4c9970be-656d-4d93-9edb-ccab94667cd8 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[GraphQuerySet].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[GraphQuerySet].yaml new file mode 100644 index 00000000..b0b909b9 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[GraphQuerySet].yaml @@ -0,0 +1,636 @@ +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": "b7945519-3184-48e4-8d42-8b7ee977816d", + "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: + - '2336' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 08:04:15 GMT + Pragma: + - no-cache + RequestId: + - 383dff77-8fd7-4024-b02d-cc76f67bf006 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "b18a5ed1-ad0b-458e-b5f2-c97ee525730e", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203080254", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4de79e8-127a-403a-b786-42495ababff4", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203080308", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f1df5308-6465-4263-80c9-3e96364594f0", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d5cebdeb-f1d9-4a99-9e06-ba678b8f8747", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260203080254", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "4a5b0f88-82ca-48d2-b4d2-db468fd70df9", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '586' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 08:04:15 GMT + Pragma: + - no-cache + RequestId: + - 533411e0-0b26-43b7-b9a1-1bb3d5a0c81b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "b18a5ed1-ad0b-458e-b5f2-c97ee525730e", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203080254", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4de79e8-127a-403a-b786-42495ababff4", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203080308", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f1df5308-6465-4263-80c9-3e96364594f0", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d5cebdeb-f1d9-4a99-9e06-ba678b8f8747", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260203080254", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "4a5b0f88-82ca-48d2-b4d2-db468fd70df9", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '586' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 08:04:16 GMT + Pragma: + - no-cache + RequestId: + - 0153dd36-77c3-4e8d-ac4a-0b6fd1b366fa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b7945519-3184-48e4-8d42-8b7ee977816d/GraphQuerySets + response: + body: + string: '{"id": "1d11b6ab-8781-4b49-abad-43423648e7dc", "type": "GraphQuerySet", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}' + 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: + - Tue, 03 Feb 2026 08:04:18 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 12f8bb6b-caa0-43c4-bd7d-77399c1be3f4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b7945519-3184-48e4-8d42-8b7ee977816d", + "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: + - '2336' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 08:04:18 GMT + Pragma: + - no-cache + RequestId: + - 13799d1c-b012-4898-be9b-d9fd375ab463 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "b18a5ed1-ad0b-458e-b5f2-c97ee525730e", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203080254", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4de79e8-127a-403a-b786-42495ababff4", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203080308", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f1df5308-6465-4263-80c9-3e96364594f0", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d5cebdeb-f1d9-4a99-9e06-ba678b8f8747", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260203080254", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "4a5b0f88-82ca-48d2-b4d2-db468fd70df9", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "1d11b6ab-8781-4b49-abad-43423648e7dc", "type": "GraphQuerySet", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '645' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 08:04:19 GMT + Pragma: + - no-cache + RequestId: + - 1267af97-dbf7-4fc8-bd12-245f2a1e3cbc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "b18a5ed1-ad0b-458e-b5f2-c97ee525730e", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203080254", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4de79e8-127a-403a-b786-42495ababff4", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203080308", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f1df5308-6465-4263-80c9-3e96364594f0", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d5cebdeb-f1d9-4a99-9e06-ba678b8f8747", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260203080254", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "4a5b0f88-82ca-48d2-b4d2-db468fd70df9", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "1d11b6ab-8781-4b49-abad-43423648e7dc", "type": "GraphQuerySet", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '645' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 08:04:19 GMT + Pragma: + - no-cache + RequestId: + - dc990dd0-9807-40ab-8a73-aba35f9cedc6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b7945519-3184-48e4-8d42-8b7ee977816d", + "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: + - '2336' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 08:04:21 GMT + Pragma: + - no-cache + RequestId: + - f159bcc3-126e-4078-b84d-bd064e707afd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "b18a5ed1-ad0b-458e-b5f2-c97ee525730e", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203080254", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4de79e8-127a-403a-b786-42495ababff4", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203080308", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f1df5308-6465-4263-80c9-3e96364594f0", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d5cebdeb-f1d9-4a99-9e06-ba678b8f8747", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260203080254", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "4a5b0f88-82ca-48d2-b4d2-db468fd70df9", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "1d11b6ab-8781-4b49-abad-43423648e7dc", "type": "GraphQuerySet", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '645' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 08:04:22 GMT + Pragma: + - no-cache + RequestId: + - d2bc4c77-ec4d-446c-8dc6-15826cbdd8d6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b7945519-3184-48e4-8d42-8b7ee977816d/items/1d11b6ab-8781-4b49-abad-43423648e7dc + 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 08:04:22 GMT + Pragma: + - no-cache + RequestId: + - fa94bcb7-ce98-4b7e-92c2-d5a812ded403 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_doesnt_exist_success[KQLDashboard].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[KQLDashboard].yaml index 42ad8c34..f6211ec4 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[KQLDashboard].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[KQLDashboard].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:54 GMT + - Tue, 03 Feb 2026 07:57:18 GMT Pragma: - no-cache RequestId: - - 19762ebb-62a3-4e40-b767-8f5b9d51ff24 + - f9aedf2b-cb37-4718-a407-8307a429cea0 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,10 +64,23 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": []}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -76,15 +89,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '32' + - '399' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:54 GMT + - Tue, 03 Feb 2026 07:57:19 GMT Pragma: - no-cache RequestId: - - d20a1a92-3b44-44c2-9387-e19c353ad2b4 + - 803eb1bf-9915-49f8-b71e-8b9a93d6d9fe Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -112,10 +125,23 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": []}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -124,15 +150,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '32' + - '399' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:55 GMT + - Tue, 03 Feb 2026 07:57:20 GMT Pragma: - no-cache RequestId: - - c99c5e58-8c45-45cd-ba1e-10350621108d + - 21a22f75-619f-421b-9740-327bcd1bc00e Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -163,12 +189,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/kqlDashboards + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/kqlDashboards response: body: - string: '{"id": "071e30ce-4870-4880-af8b-e9d658689cb0", "type": "KQLDashboard", + string: '{"id": "d36545ac-a97b-4f41-a35f-7e8faca71c48", "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}' + "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId,ETag @@ -177,17 +203,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '172' + - '171' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:58 GMT + - Tue, 03 Feb 2026 07:57:22 GMT ETag: - '""' Pragma: - no-cache RequestId: - - 010667cd-90c5-4108-a24c-97982b213855 + - 2ba8f0e0-3491-4b42-979e-0a92505be1f1 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -219,7 +245,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -230,15 +256,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:58 GMT + - Tue, 03 Feb 2026 07:57:23 GMT Pragma: - no-cache RequestId: - - 88058a32-55e4-498c-9f02-4f8b1a854193 + - 9facc88e-179a-4bba-83d5-c2a1070f7f3f Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -266,12 +292,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "071e30ce-4870-4880-af8b-e9d658689cb0", "type": "KQLDashboard", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d36545ac-a97b-4f41-a35f-7e8faca71c48", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -280,15 +319,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '183' + - '461' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:00:59 GMT + - Tue, 03 Feb 2026 07:57:24 GMT Pragma: - no-cache RequestId: - - b509be6d-0f50-43bb-a175-0ca21957a64d + - 69fa26ba-f9f3-461a-b303-53f71a297375 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -316,12 +355,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "071e30ce-4870-4880-af8b-e9d658689cb0", "type": "KQLDashboard", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d36545ac-a97b-4f41-a35f-7e8faca71c48", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -330,15 +382,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '183' + - '461' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:00 GMT + - Tue, 03 Feb 2026 07:57:25 GMT Pragma: - no-cache RequestId: - - 803cdd09-2d91-4bc1-bf55-d41aec91dd40 + - e78d66b0-8fe2-428b-8d8e-97d82b61166d Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -370,7 +422,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -381,15 +433,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:01 GMT + - Tue, 03 Feb 2026 07:57:25 GMT Pragma: - no-cache RequestId: - - 8ac8cb39-c347-4434-8032-0999d6f1cf27 + - 7004e5f8-8b26-4419-ad20-f6987fcb8eba Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -417,12 +469,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "071e30ce-4870-4880-af8b-e9d658689cb0", "type": "KQLDashboard", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d36545ac-a97b-4f41-a35f-7e8faca71c48", + "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -431,15 +496,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '183' + - '461' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:01 GMT + - Tue, 03 Feb 2026 07:57:26 GMT Pragma: - no-cache RequestId: - - f08a022f-430a-4ca3-ab14-71ff02babb9b + - c360653e-bf27-44e7-a488-153ae2c7f82f Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -469,7 +534,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/071e30ce-4870-4880-af8b-e9d658689cb0 + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/d36545ac-a97b-4f41-a35f-7e8faca71c48 response: body: string: '' @@ -485,11 +550,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:01:03 GMT + - Tue, 03 Feb 2026 07:57:27 GMT Pragma: - no-cache RequestId: - - 90e3e7b0-6101-4984-b712-a68de7ddc980 + - f17e3074-225d-457e-bfe7-75259476f36f Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[KQLQueryset].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[KQLQueryset].yaml index 31406552..084a2bf2 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[KQLQueryset].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[KQLQueryset].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:03 GMT + - Tue, 03 Feb 2026 07:57:27 GMT Pragma: - no-cache RequestId: - - 8f2f88c9-0be2-4e2d-b75f-322c3822e3fa + - 05d2e95a-6b7f-4c94-8552-bfaa8798725c Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,10 +64,23 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": []}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -76,15 +89,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '32' + - '399' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:04 GMT + - Tue, 03 Feb 2026 07:57:29 GMT Pragma: - no-cache RequestId: - - a16c8160-2d77-404b-8c2e-78e50f606068 + - 2b20c158-281a-492f-9c3a-6a305ea937d8 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -112,10 +125,23 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": []}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -124,15 +150,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '32' + - '399' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:06 GMT + - Tue, 03 Feb 2026 07:57:30 GMT Pragma: - no-cache RequestId: - - f1baf117-cd1e-4320-b933-8d4f08a808a1 + - b8eecec9-f827-494f-b95a-74a5697355f2 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -163,12 +189,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/kqlQuerysets + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/kqlQuerysets response: body: - string: '{"id": "e660ccb7-1818-4b31-8e59-c1eaf712d87b", "type": "KQLQueryset", + string: '{"id": "810f8ff5-5b5a-4e22-a625-7a556c2193d6", "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}' + "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId,ETag @@ -177,17 +203,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '169' + - '170' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:08 GMT + - Tue, 03 Feb 2026 07:57:31 GMT ETag: - '""' Pragma: - no-cache RequestId: - - 3d592ebc-9b25-4510-b6be-a74802466287 + - f0d75d20-aeea-49f7-ab3a-38539febbf6b Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -219,7 +245,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -230,15 +256,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:08 GMT + - Tue, 03 Feb 2026 07:57:32 GMT Pragma: - no-cache RequestId: - - d4a15a46-52e6-4efd-8cbd-433218355adf + - cd0059b0-4ad7-40a9-8f10-671a024d374d Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -266,12 +292,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "e660ccb7-1818-4b31-8e59-c1eaf712d87b", "type": "KQLQueryset", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "810f8ff5-5b5a-4e22-a625-7a556c2193d6", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -280,15 +319,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '181' + - '457' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:09 GMT + - Tue, 03 Feb 2026 07:57:33 GMT Pragma: - no-cache RequestId: - - 03e0fb96-3cdd-4571-956a-4f657b6bb017 + - 86e6fcb0-0bb8-4ec7-b6a4-d2df8074a113 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -316,12 +355,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "e660ccb7-1818-4b31-8e59-c1eaf712d87b", "type": "KQLQueryset", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "810f8ff5-5b5a-4e22-a625-7a556c2193d6", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -330,15 +382,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '181' + - '457' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:10 GMT + - Tue, 03 Feb 2026 07:57:34 GMT Pragma: - no-cache RequestId: - - a8c87019-fb14-42e2-8c1e-1995f1e81db8 + - 55d98e42-19aa-4d6e-9ca3-092c4a70e6af Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -370,7 +422,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -381,15 +433,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:11 GMT + - Tue, 03 Feb 2026 07:57:35 GMT Pragma: - no-cache RequestId: - - 9266f235-e2d4-4bf0-809a-b7d967e26455 + - cc29a735-f3c2-49af-bd22-a36d91b0e99d Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -417,12 +469,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "e660ccb7-1818-4b31-8e59-c1eaf712d87b", "type": "KQLQueryset", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "810f8ff5-5b5a-4e22-a625-7a556c2193d6", + "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -431,15 +496,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '181' + - '457' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:12 GMT + - Tue, 03 Feb 2026 07:57:35 GMT Pragma: - no-cache RequestId: - - bc22f896-0bba-4a7b-b479-d050c8e7b03a + - 62259ec6-4974-4b4b-b636-7404b21a1709 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -469,7 +534,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/e660ccb7-1818-4b31-8e59-c1eaf712d87b + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/810f8ff5-5b5a-4e22-a625-7a556c2193d6 response: body: string: '' @@ -485,11 +550,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:01:13 GMT + - Tue, 03 Feb 2026 07:57:36 GMT Pragma: - no-cache RequestId: - - d81c148e-7e00-40f4-84b1-60d60d03c4fd + - 1f5d3f56-dc74-4822-8bfb-95c1abb50827 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Lakehouse].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Lakehouse].yaml index 01a4ff11..f7558e12 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Lakehouse].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Lakehouse].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:13 GMT + - Tue, 03 Feb 2026 07:57:37 GMT Pragma: - no-cache RequestId: - - 188e9f2b-69c9-4f2b-83f9-eca341bc72e6 + - 79c53f0f-a9b6-4750-ac32-2bae378c5c94 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,10 +64,23 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": []}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -76,15 +89,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '32' + - '399' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:15 GMT + - Tue, 03 Feb 2026 07:57:39 GMT Pragma: - no-cache RequestId: - - cd27fd1f-f729-41a3-ab67-5a0e73e88052 + - 3c7d80f3-6d8d-425c-9261-53a0b21ae4a1 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -112,10 +125,23 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": []}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -124,15 +150,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '32' + - '399' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:15 GMT + - Tue, 03 Feb 2026 07:57:39 GMT Pragma: - no-cache RequestId: - - aa9940f6-b39f-42c9-9f0c-dd0fd9abf875 + - f31503f0-7039-4780-8ab6-fb5fdda23b9b Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -163,12 +189,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/lakehouses + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/lakehouses response: body: - string: '{"id": "a4efbf4d-b1dc-430a-b093-c66fcd5981d8", "type": "Lakehouse", + string: '{"id": "fc194904-d948-43d3-ac61-adea49e2d190", "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}' + "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId,ETag @@ -181,13 +207,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:20 GMT + - Tue, 03 Feb 2026 07:57:43 GMT ETag: - '""' Pragma: - no-cache RequestId: - - ce49bd04-a42e-468f-ac21-5b3b02cc40d5 + - a4a9d051-49bd-4b07-b3d2-34263414041e Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -219,7 +245,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -230,15 +256,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:21 GMT + - Tue, 03 Feb 2026 07:57:44 GMT Pragma: - no-cache RequestId: - - 8d216ce9-ab1d-4bec-9aec-95d97426aa61 + - 21130015-82e7-4f8c-a64a-8108b1ddb676 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -266,12 +292,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "a4efbf4d-b1dc-430a-b093-c66fcd5981d8", "type": "Lakehouse", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "fc194904-d948-43d3-ac61-adea49e2d190", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -280,15 +319,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '178' + - '450' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:21 GMT + - Tue, 03 Feb 2026 07:57:44 GMT Pragma: - no-cache RequestId: - - 0af5cd49-c6da-44ac-a09d-a84043481716 + - 76018e59-fbfb-4ecf-a57b-2e1cd514ef4c Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -316,12 +355,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "a4efbf4d-b1dc-430a-b093-c66fcd5981d8", "type": "Lakehouse", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "fc194904-d948-43d3-ac61-adea49e2d190", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -330,15 +382,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '178' + - '450' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:22 GMT + - Tue, 03 Feb 2026 07:57:45 GMT Pragma: - no-cache RequestId: - - e3dcdac6-e87a-4a31-8155-3d0da48a7b68 + - 8c624203-b646-45f8-996d-42fe69b4586f Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -370,7 +422,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -381,15 +433,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:23 GMT + - Tue, 03 Feb 2026 07:57:46 GMT Pragma: - no-cache RequestId: - - b1c31ca6-77b1-48e0-968c-9c7152f8994b + - 4a5a71f4-361f-438b-81fe-4ed2ba612b7a Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -417,12 +469,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "a4efbf4d-b1dc-430a-b093-c66fcd5981d8", "type": "Lakehouse", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "fc194904-d948-43d3-ac61-adea49e2d190", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -431,15 +496,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '178' + - '450' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:23 GMT + - Tue, 03 Feb 2026 07:57:46 GMT Pragma: - no-cache RequestId: - - 61c11044-571c-42ab-ae18-ed013c642bce + - fb5585f9-56f3-4518-9707-e7d93b1dbb6c Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -469,7 +534,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/a4efbf4d-b1dc-430a-b093-c66fcd5981d8 + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/fc194904-d948-43d3-ac61-adea49e2d190 response: body: string: '' @@ -485,11 +550,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:01:24 GMT + - Tue, 03 Feb 2026 07:57:48 GMT Pragma: - no-cache RequestId: - - 7910f6d5-f164-4101-a128-81b72d6afee9 + - f5268e23-87ff-4096-abc4-e40568d28b99 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[MLExperiment].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[MLExperiment].yaml index 1432a34d..5e96d997 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[MLExperiment].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[MLExperiment].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:24 GMT + - Tue, 03 Feb 2026 07:57:48 GMT Pragma: - no-cache RequestId: - - 8f73bd8a-d7fd-4cb6-a749-51649a1d9cba + - 3899fc2c-532a-4101-815b-b42d5152280e Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,10 +64,23 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": []}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -76,15 +89,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '32' + - '399' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:24 GMT + - Tue, 03 Feb 2026 07:57:50 GMT Pragma: - no-cache RequestId: - - 7c1586a0-8bfa-45d4-9d07-ff5c8529d98b + - 4db562a2-7f44-4638-a6e1-dd7c56b1b139 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -112,10 +125,23 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": []}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -124,15 +150,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '32' + - '399' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:25 GMT + - Tue, 03 Feb 2026 07:57:51 GMT Pragma: - no-cache RequestId: - - dd5417ce-6bc5-4366-9df2-9a023e09fba0 + - f6eb8237-0a0a-46db-bdfd-85a764276c0f Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -163,7 +189,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/mlExperiments + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/mlExperiments response: body: string: 'null' @@ -179,15 +205,15 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:26 GMT + - Tue, 03 Feb 2026 07:57:52 GMT ETag: - '""' Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/37d6b6f5-a9f0-4980-adc1-dd34ea2f29d1 + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b8015879-f248-4221-8090-4fee5f4ac132 Pragma: - no-cache RequestId: - - 832c13eb-69d9-41ad-9104-d3a5992fed88 + - c03901bd-332f-4c66-bc4b-864052cd19c7 Retry-After: - '20' Strict-Transport-Security: @@ -201,7 +227,7 @@ interactions: request-redirected: - 'true' x-ms-operation-id: - - 37d6b6f5-a9f0-4980-adc1-dd34ea2f29d1 + - b8015879-f248-4221-8090-4fee5f4ac132 status: code: 202 message: Accepted @@ -219,11 +245,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/37d6b6f5-a9f0-4980-adc1-dd34ea2f29d1 + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b8015879-f248-4221-8090-4fee5f4ac132 response: body: - string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:01:26.8321199", - "lastUpdatedTimeUtc": "2026-01-28T12:01:28.0977411", "percentComplete": 100, + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T07:57:52.1542766", + "lastUpdatedTimeUtc": "2026-02-03T07:57:52.9987081", "percentComplete": 100, "error": null}' headers: Access-Control-Expose-Headers: @@ -233,17 +259,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '130' + - '129' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:48 GMT + - Tue, 03 Feb 2026 07:58:14 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/37d6b6f5-a9f0-4980-adc1-dd34ea2f29d1/result + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b8015879-f248-4221-8090-4fee5f4ac132/result Pragma: - no-cache RequestId: - - 9725d86f-b7f5-4511-82ac-97df6d6088f2 + - e020d8eb-d447-4c99-979a-214b558292a7 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -251,7 +277,7 @@ interactions: X-Frame-Options: - deny x-ms-operation-id: - - 37d6b6f5-a9f0-4980-adc1-dd34ea2f29d1 + - b8015879-f248-4221-8090-4fee5f4ac132 status: code: 200 message: OK @@ -269,12 +295,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/37d6b6f5-a9f0-4980-adc1-dd34ea2f29d1/result + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b8015879-f248-4221-8090-4fee5f4ac132/result response: body: - string: '{"id": "5ed20817-f30d-43f6-af19-148c8ade58a6", "type": "MLExperiment", + string: '{"id": "4be47af6-4d13-47ac-b9a4-265dec289aa1", "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}' + "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId @@ -285,11 +311,11 @@ interactions: Content-Type: - application/json Date: - - Wed, 28 Jan 2026 12:01:50 GMT + - Tue, 03 Feb 2026 07:58:15 GMT Pragma: - no-cache RequestId: - - 2be87325-f328-4c3a-bd0f-10e96daadc5c + - cd39cf5b-c10f-481c-abc6-4e3c92aefaea Strict-Transport-Security: - max-age=31536000; includeSubDomains Transfer-Encoding: @@ -319,7 +345,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -330,15 +356,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:50 GMT + - Tue, 03 Feb 2026 07:58:15 GMT Pragma: - no-cache RequestId: - - eb63d3f8-0d93-40c2-b69c-adb7c93337b7 + - f362d1e2-09a3-4be5-967f-34c0b64cbcd2 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -366,12 +392,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "5ed20817-f30d-43f6-af19-148c8ade58a6", "type": "MLExperiment", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "4be47af6-4d13-47ac-b9a4-265dec289aa1", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -380,15 +419,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '182' + - '459' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:51 GMT + - Tue, 03 Feb 2026 07:58:17 GMT Pragma: - no-cache RequestId: - - 5d6d76b3-be77-467d-85e4-abedcc37fed5 + - e43f0650-3a4e-4567-b886-cd92e14895fb Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -416,12 +455,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "5ed20817-f30d-43f6-af19-148c8ade58a6", "type": "MLExperiment", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "4be47af6-4d13-47ac-b9a4-265dec289aa1", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -430,15 +482,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '182' + - '459' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:52 GMT + - Tue, 03 Feb 2026 07:58:18 GMT Pragma: - no-cache RequestId: - - 2c70c77a-4a8e-4df6-badb-c6618f0848e4 + - 8a0a1cea-643f-475a-bafd-bb29f686cb8a Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -470,7 +522,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -481,15 +533,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:52 GMT + - Tue, 03 Feb 2026 07:58:18 GMT Pragma: - no-cache RequestId: - - 25498c99-8d33-4b1f-91ed-24ebebb0ba39 + - 5c293068-7f40-47f0-8612-fba257a3c903 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -517,12 +569,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "5ed20817-f30d-43f6-af19-148c8ade58a6", "type": "MLExperiment", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "4be47af6-4d13-47ac-b9a4-265dec289aa1", + "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -531,15 +596,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '182' + - '459' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:53 GMT + - Tue, 03 Feb 2026 07:58:20 GMT Pragma: - no-cache RequestId: - - 6eb03649-ad56-4a6a-8415-4c1d322fa71e + - 6ff5652d-62bc-4f72-9b78-3115205b46ee Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -569,7 +634,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/5ed20817-f30d-43f6-af19-148c8ade58a6 + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/4be47af6-4d13-47ac-b9a4-265dec289aa1 response: body: string: '' @@ -585,11 +650,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:01:54 GMT + - Tue, 03 Feb 2026 07:58:20 GMT Pragma: - no-cache RequestId: - - 03faf40b-2b3e-4a48-b399-233451be32dd + - 796ef39b-28b8-43fd-a01e-63eab449ab08 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[MLModel].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[MLModel].yaml index ce71f1a8..3c6d45bb 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[MLModel].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[MLModel].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:55 GMT + - Tue, 03 Feb 2026 07:58:21 GMT Pragma: - no-cache RequestId: - - 5245d5b0-b245-426c-8822-9b77a12083f5 + - 03af5358-d785-4dbd-af1b-e5f1eb01fc25 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,10 +64,23 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": []}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -76,15 +89,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '32' + - '399' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:56 GMT + - Tue, 03 Feb 2026 07:58:21 GMT Pragma: - no-cache RequestId: - - 430532f3-dad0-401a-b077-51aacb0a228f + - 7ab5db40-d5ca-47c5-9eda-12d6d4ff6ebe Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -112,10 +125,23 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": []}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -124,15 +150,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '32' + - '399' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:57 GMT + - Tue, 03 Feb 2026 07:58:22 GMT Pragma: - no-cache RequestId: - - ac9c805d-4099-46c6-8b8e-c352d6f1173c + - b337a70e-0d1f-4666-8df3-bf5523b96029 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -163,7 +189,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/mlModels + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/mlModels response: body: string: 'null' @@ -179,15 +205,15 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:01:58 GMT + - Tue, 03 Feb 2026 07:58:24 GMT ETag: - '""' Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f5498515-34bf-4339-ab2b-a9893f4ff5f3 + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/465c9f0b-d3ec-4c52-acf4-b7d82167b335 Pragma: - no-cache RequestId: - - b99e46b1-7e2a-437d-9ccb-7b0061069653 + - 782f8d7a-4b96-43c1-a9ab-b992a66d4ff0 Retry-After: - '20' Strict-Transport-Security: @@ -201,7 +227,7 @@ interactions: request-redirected: - 'true' x-ms-operation-id: - - f5498515-34bf-4339-ab2b-a9893f4ff5f3 + - 465c9f0b-d3ec-4c52-acf4-b7d82167b335 status: code: 202 message: Accepted @@ -219,11 +245,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f5498515-34bf-4339-ab2b-a9893f4ff5f3 + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/465c9f0b-d3ec-4c52-acf4-b7d82167b335 response: body: - string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:01:58.2608482", - "lastUpdatedTimeUtc": "2026-01-28T12:01:58.7296289", "percentComplete": 100, + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T07:58:24.1521145", + "lastUpdatedTimeUtc": "2026-02-03T07:58:24.7468577", "percentComplete": 100, "error": null}' headers: Access-Control-Expose-Headers: @@ -233,17 +259,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '129' + - '130' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:02:19 GMT + - Tue, 03 Feb 2026 07:58:46 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f5498515-34bf-4339-ab2b-a9893f4ff5f3/result + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/465c9f0b-d3ec-4c52-acf4-b7d82167b335/result Pragma: - no-cache RequestId: - - 987015c6-0c9a-40dd-8460-7ba98707c8d6 + - eee94da3-7d61-4c46-9332-41760ca8de8a Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -251,7 +277,7 @@ interactions: X-Frame-Options: - deny x-ms-operation-id: - - f5498515-34bf-4339-ab2b-a9893f4ff5f3 + - 465c9f0b-d3ec-4c52-acf4-b7d82167b335 status: code: 200 message: OK @@ -269,11 +295,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f5498515-34bf-4339-ab2b-a9893f4ff5f3/result + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/465c9f0b-d3ec-4c52-acf4-b7d82167b335/result response: body: - string: '{"id": "ecb4b9eb-640b-468e-9f02-5c874965d8d3", "type": "MLModel", "displayName": - "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}' + string: '{"id": "9e7745bc-3dcc-4a97-8949-e2174c888b13", "type": "MLModel", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId @@ -284,11 +310,11 @@ interactions: Content-Type: - application/json Date: - - Wed, 28 Jan 2026 12:02:21 GMT + - Tue, 03 Feb 2026 07:58:47 GMT Pragma: - no-cache RequestId: - - bbaf682d-4c87-4b41-beed-c88fe127d7b5 + - a7294c88-1883-4532-9c6c-95c0ef3f4e36 Strict-Transport-Security: - max-age=31536000; includeSubDomains Transfer-Encoding: @@ -318,7 +344,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -329,15 +355,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:02:22 GMT + - Tue, 03 Feb 2026 07:58:48 GMT Pragma: - no-cache RequestId: - - 327b7e4f-30ec-4db1-a73e-80960f9d2785 + - 7e1e04d4-afad-4979-b442-79a002745f8c Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -365,12 +391,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "ecb4b9eb-640b-468e-9f02-5c874965d8d3", "type": "MLModel", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "9e7745bc-3dcc-4a97-8949-e2174c888b13", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -379,15 +418,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '176' + - '454' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:02:22 GMT + - Tue, 03 Feb 2026 07:58:49 GMT Pragma: - no-cache RequestId: - - d544223a-0409-4aa1-9809-27d911b54d8f + - ef3deb06-ac11-4118-8f32-e62b5c3d8391 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -415,12 +454,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "ecb4b9eb-640b-468e-9f02-5c874965d8d3", "type": "MLModel", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "9e7745bc-3dcc-4a97-8949-e2174c888b13", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -429,15 +481,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '176' + - '454' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:02:23 GMT + - Tue, 03 Feb 2026 07:58:50 GMT Pragma: - no-cache RequestId: - - 4177164f-9f09-4ce3-92dd-74c6b74ce194 + - a90592bd-68ff-492a-a8cc-bf0f6864372c Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -469,7 +521,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -480,15 +532,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:02:24 GMT + - Tue, 03 Feb 2026 07:58:51 GMT Pragma: - no-cache RequestId: - - 29d378f2-38b5-4649-890e-b5d02e4e1b4e + - f6e23d96-1789-4a28-953c-dfc7252424c1 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -516,12 +568,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "ecb4b9eb-640b-468e-9f02-5c874965d8d3", "type": "MLModel", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "9e7745bc-3dcc-4a97-8949-e2174c888b13", + "type": "MLModel", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -530,15 +595,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '176' + - '454' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:02:24 GMT + - Tue, 03 Feb 2026 07:58:51 GMT Pragma: - no-cache RequestId: - - d10637fb-1916-4abd-8dad-ba4beb247c8b + - 151cda47-93f5-4bcc-8685-a6dd6baf6586 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -568,7 +633,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/ecb4b9eb-640b-468e-9f02-5c874965d8d3 + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/9e7745bc-3dcc-4a97-8949-e2174c888b13 response: body: string: '' @@ -584,11 +649,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:02:25 GMT + - Tue, 03 Feb 2026 07:58:52 GMT Pragma: - no-cache RequestId: - - c16e9805-4ba1-4ad3-92c8-ed24ee4cdcd9 + - 340eafe5-a436-4dd7-9db1-e382521ff4a3 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[MirroredDatabase].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[MirroredDatabase].yaml index 171ee2c5..f5bb0001 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[MirroredDatabase].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[MirroredDatabase].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:02:26 GMT + - Tue, 03 Feb 2026 07:58:53 GMT Pragma: - no-cache RequestId: - - e2bc3b59-3ce3-4df6-80a9-84fee2fcb4ba + - 8afbc499-493c-4253-99f7-66e7aeb5eff8 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,10 +64,23 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": []}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -76,15 +89,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '32' + - '399' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:02:27 GMT + - Tue, 03 Feb 2026 07:58:54 GMT Pragma: - no-cache RequestId: - - 61a5efe1-7bf7-4423-a95f-cae9ccaed768 + - 7d6a8db6-ac20-4896-b5d9-a7529d19c106 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -112,10 +125,23 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": []}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -124,15 +150,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '32' + - '399' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:02:28 GMT + - Tue, 03 Feb 2026 07:58:54 GMT Pragma: - no-cache RequestId: - - e7b05602-83b0-41c8-aed9-7dfcc0fbd8c8 + - aef9f65d-f4b2-4355-9793-3a05b3d8bf9b Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -165,12 +191,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/mirroredDatabases + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/mirroredDatabases response: body: - string: '{"id": "6433eb7a-8084-48fd-b30b-c03e273166dc", "type": "MirroredDatabase", + string: '{"id": "d2755270-64ea-475f-b846-05e7425bc356", "type": "MirroredDatabase", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}' + "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId,ETag @@ -179,17 +205,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '171' + - '169' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:02:32 GMT + - Tue, 03 Feb 2026 07:58:56 GMT ETag: - '""' Pragma: - no-cache RequestId: - - 39780f6b-66e6-40d1-a719-76889b2b1d8b + - 2a5b10b0-3edb-4551-a1ae-15bbeef3ae56 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -221,7 +247,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -232,15 +258,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:02:33 GMT + - Tue, 03 Feb 2026 07:58:58 GMT Pragma: - no-cache RequestId: - - dcb519e8-fbae-4d4d-8d85-e07d62a47c2b + - 1b9bf3e4-74c1-443b-bb2f-4168b5dcc1ba Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -268,12 +294,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "6433eb7a-8084-48fd-b30b-c03e273166dc", "type": "MirroredDatabase", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d2755270-64ea-475f-b846-05e7425bc356", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -282,15 +321,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '183' + - '457' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:02:34 GMT + - Tue, 03 Feb 2026 07:58:59 GMT Pragma: - no-cache RequestId: - - 6f355d69-f621-49ba-92ae-82528883cd23 + - d3722d14-8b95-4c33-8b07-39bd58fe3f45 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -318,12 +357,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "6433eb7a-8084-48fd-b30b-c03e273166dc", "type": "MirroredDatabase", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d2755270-64ea-475f-b846-05e7425bc356", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -332,15 +384,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '183' + - '457' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:02:34 GMT + - Tue, 03 Feb 2026 07:58:59 GMT Pragma: - no-cache RequestId: - - 6d6b8924-271a-432b-880c-3eeb049f8114 + - 85913618-6207-4085-abd0-5a3defb91266 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -372,7 +424,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -383,15 +435,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:02:35 GMT + - Tue, 03 Feb 2026 07:59:00 GMT Pragma: - no-cache RequestId: - - 04d906f5-915f-4b7f-8064-d812a70afa14 + - a07dd526-70cc-4909-90bd-0cc90830a825 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -419,12 +471,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "6433eb7a-8084-48fd-b30b-c03e273166dc", "type": "MirroredDatabase", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d2755270-64ea-475f-b846-05e7425bc356", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -433,15 +498,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '183' + - '457' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:02:37 GMT + - Tue, 03 Feb 2026 07:59:01 GMT Pragma: - no-cache RequestId: - - 4ca75625-f02c-4be0-b164-f7f7a92fbf68 + - 70464542-ca66-48a5-9645-de9772424643 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -471,7 +536,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/6433eb7a-8084-48fd-b30b-c03e273166dc + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/d2755270-64ea-475f-b846-05e7425bc356 response: body: string: '' @@ -487,11 +552,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:02:37 GMT + - Tue, 03 Feb 2026 07:59:02 GMT Pragma: - no-cache RequestId: - - 3cbbf2a7-9226-401d-82a6-89846978b591 + - 8466e88c-a05f-469e-8a75-424de00020b8 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Notebook].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Notebook].yaml index 3e4b1647..7db5fb20 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Notebook].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Notebook].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:02:38 GMT + - Tue, 03 Feb 2026 07:59:03 GMT Pragma: - no-cache RequestId: - - fe9a0373-29f8-4925-871d-7ce2983f7d0d + - d8f0d6bf-d17c-45b8-a7d5-46bc09470aa6 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,10 +64,23 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": []}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -76,15 +89,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '32' + - '399' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:02:39 GMT + - Tue, 03 Feb 2026 07:59:04 GMT Pragma: - no-cache RequestId: - - 9109caa9-162d-4e74-bcc8-47c7148993d8 + - b5b67148-646f-411f-903d-f85fb8bacb42 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -112,10 +125,23 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": []}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -124,15 +150,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '32' + - '399' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:02:40 GMT + - Tue, 03 Feb 2026 07:59:04 GMT Pragma: - no-cache RequestId: - - 3307ff50-419b-4c28-b220-bc69d1c8802c + - bdec3ed4-de17-40f0-b9ae-cef41a64e08e Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -165,7 +191,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/notebooks + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/notebooks response: body: string: 'null' @@ -181,15 +207,15 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:02:41 GMT + - Tue, 03 Feb 2026 07:59:06 GMT ETag: - '""' Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/06578de0-0f64-47ed-ae4b-62958c60d493 + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/4315c0d8-deae-4129-91eb-c2197a6dfee5 Pragma: - no-cache RequestId: - - bbfe0e30-272c-45c2-ae54-e055f4dc78a6 + - 39d9d6f9-9ebf-407c-958c-d6dfad86f6c0 Retry-After: - '20' Strict-Transport-Security: @@ -203,7 +229,7 @@ interactions: request-redirected: - 'true' x-ms-operation-id: - - 06578de0-0f64-47ed-ae4b-62958c60d493 + - 4315c0d8-deae-4129-91eb-c2197a6dfee5 status: code: 202 message: Accepted @@ -221,11 +247,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/06578de0-0f64-47ed-ae4b-62958c60d493 + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/4315c0d8-deae-4129-91eb-c2197a6dfee5 response: body: - string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:02:41.6908556", - "lastUpdatedTimeUtc": "2026-01-28T12:02:43.3783558", "percentComplete": 100, + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T07:59:06.2588088", + "lastUpdatedTimeUtc": "2026-02-03T07:59:10.0106541", "percentComplete": 100, "error": null}' headers: Access-Control-Expose-Headers: @@ -239,13 +265,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:03:03 GMT + - Tue, 03 Feb 2026 07:59:29 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/06578de0-0f64-47ed-ae4b-62958c60d493/result + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/4315c0d8-deae-4129-91eb-c2197a6dfee5/result Pragma: - no-cache RequestId: - - b2dbc369-112f-4885-86ae-85a7b26fedec + - 742ae9fa-94fe-4d90-be49-fa093470683c Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -253,7 +279,7 @@ interactions: X-Frame-Options: - deny x-ms-operation-id: - - 06578de0-0f64-47ed-ae4b-62958c60d493 + - 4315c0d8-deae-4129-91eb-c2197a6dfee5 status: code: 200 message: OK @@ -271,12 +297,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/06578de0-0f64-47ed-ae4b-62958c60d493/result + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/4315c0d8-deae-4129-91eb-c2197a6dfee5/result response: body: - string: '{"id": "2227081d-dd26-4f4f-ac73-831ae84975bc", "type": "Notebook", + string: '{"id": "962fd2bb-8846-4dc9-9fc3-d7605b64f9d1", "type": "Notebook", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}' + "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId @@ -287,11 +313,11 @@ interactions: Content-Type: - application/json Date: - - Wed, 28 Jan 2026 12:03:04 GMT + - Tue, 03 Feb 2026 07:59:29 GMT Pragma: - no-cache RequestId: - - addd8099-d3a6-4c9f-ab87-8260c4b17be0 + - 34ceb132-e75d-4d9e-9095-7db88e0891ab Strict-Transport-Security: - max-age=31536000; includeSubDomains Transfer-Encoding: @@ -321,7 +347,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -332,15 +358,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:03:05 GMT + - Tue, 03 Feb 2026 07:59:30 GMT Pragma: - no-cache RequestId: - - 22218026-aa12-459b-8aaa-2b6ee71401fc + - a14812c0-36f1-440f-943c-3c1602e0dc89 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -368,12 +394,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "2227081d-dd26-4f4f-ac73-831ae84975bc", "type": "Notebook", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "962fd2bb-8846-4dc9-9fc3-d7605b64f9d1", + "type": "Notebook", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -382,15 +421,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '177' + - '457' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:03:06 GMT + - Tue, 03 Feb 2026 07:59:31 GMT Pragma: - no-cache RequestId: - - 5d643f36-5ca9-414d-9a6c-78776e32d5b8 + - 2c424576-b474-45a9-adf4-c3df0ca0aa4b Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -418,12 +457,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "2227081d-dd26-4f4f-ac73-831ae84975bc", "type": "Notebook", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "962fd2bb-8846-4dc9-9fc3-d7605b64f9d1", + "type": "Notebook", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -432,15 +484,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '177' + - '457' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:03:08 GMT + - Tue, 03 Feb 2026 07:59:32 GMT Pragma: - no-cache RequestId: - - cd115435-7549-42ea-94e5-56c48a20a965 + - ae4ee2a6-c22f-4c68-8ad9-948fca868af2 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -472,7 +524,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -483,15 +535,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:03:09 GMT + - Tue, 03 Feb 2026 07:59:32 GMT Pragma: - no-cache RequestId: - - bf78f1c1-c9a6-4199-bfed-df547cf67dd7 + - 766de69f-438d-4b8a-a3bf-9387d8f3f186 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -519,12 +571,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "2227081d-dd26-4f4f-ac73-831ae84975bc", "type": "Notebook", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "962fd2bb-8846-4dc9-9fc3-d7605b64f9d1", + "type": "Notebook", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -533,15 +598,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '177' + - '457' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:03:10 GMT + - Tue, 03 Feb 2026 07:59:33 GMT Pragma: - no-cache RequestId: - - 718caabd-7db8-4276-8bb3-adcc22d7fd62 + - 3ef02a23-bc9e-4e96-b863-9c7d3d87e30a Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -571,7 +636,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/2227081d-dd26-4f4f-ac73-831ae84975bc + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/962fd2bb-8846-4dc9-9fc3-d7605b64f9d1 response: body: string: '' @@ -587,11 +652,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:03:11 GMT + - Tue, 03 Feb 2026 07:59:34 GMT Pragma: - no-cache RequestId: - - f68f1534-90fa-462a-bcb9-3aea3a0b8a53 + - 5b1605f0-d5d3-4af9-a89c-7a640dfa74a4 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Reflex].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Reflex].yaml index cb9697c0..4e1b08a0 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Reflex].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Reflex].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:03:12 GMT + - Tue, 03 Feb 2026 07:59:35 GMT Pragma: - no-cache RequestId: - - 2494bb9b-045d-4574-9acc-cee594fb20f1 + - dafdb45f-42d8-40d2-be43-537ba8ba264b Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,10 +64,23 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": []}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -76,15 +89,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '32' + - '399' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:03:13 GMT + - Tue, 03 Feb 2026 07:59:36 GMT Pragma: - no-cache RequestId: - - e4a5b9f0-0bbd-4a6e-8263-c447f8a212e4 + - 34a3d727-513d-4b47-9a55-13ddae309374 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -112,10 +125,23 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": []}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -124,15 +150,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '32' + - '399' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:03:13 GMT + - Tue, 03 Feb 2026 07:59:37 GMT Pragma: - no-cache RequestId: - - 4ed31041-94a9-4f67-9beb-017847744e0b + - b9c30fb1-be3d-4217-8ca8-6c0ad6eeed10 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -163,11 +189,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/reflexes + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/reflexes response: body: - string: '{"id": "6b92d97f-ae0f-4799-bf91-f3398c70a66d", "type": "Reflex", "displayName": - "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}' + string: '{"id": "a897ca34-b433-4be3-a709-829fcb1add6a", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId,ETag @@ -176,17 +202,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '166' + - '165' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:03:17 GMT + - Tue, 03 Feb 2026 07:59:39 GMT ETag: - '""' Pragma: - no-cache RequestId: - - 4a0c6221-f93f-4f39-a061-cc58807c95e8 + - 34dcba78-dd55-40f6-be23-443064831cf8 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -218,7 +244,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -229,15 +255,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:03:17 GMT + - Tue, 03 Feb 2026 07:59:41 GMT Pragma: - no-cache RequestId: - - 383fb60f-e705-422e-a4b1-5f21e3428c11 + - 4f5823a9-999f-4c91-8457-fc084b021ad1 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -265,12 +291,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "6b92d97f-ae0f-4799-bf91-f3398c70a66d", "type": "Reflex", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "a897ca34-b433-4be3-a709-829fcb1add6a", + "type": "Reflex", "displayName": "fabcli000001", "description": "Created by + fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -279,15 +318,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '177' + - '452' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:03:18 GMT + - Tue, 03 Feb 2026 07:59:41 GMT Pragma: - no-cache RequestId: - - f701b053-3925-46dc-881f-d7909473025f + - f724f95b-aaea-4cc2-b788-27dcd1bfd0de Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -315,12 +354,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "6b92d97f-ae0f-4799-bf91-f3398c70a66d", "type": "Reflex", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "a897ca34-b433-4be3-a709-829fcb1add6a", + "type": "Reflex", "displayName": "fabcli000001", "description": "Created by + fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -329,15 +381,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '177' + - '452' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:03:19 GMT + - Tue, 03 Feb 2026 07:59:42 GMT Pragma: - no-cache RequestId: - - f84e15eb-49ab-45dc-8530-b7cc0cb26f77 + - 6feb9557-e0df-42ec-aeec-fe44a1eccfdf Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -369,7 +421,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -380,15 +432,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:03:19 GMT + - Tue, 03 Feb 2026 07:59:43 GMT Pragma: - no-cache RequestId: - - 4631ac1f-80d4-487e-a761-2d427fd7dc55 + - 96e5f3af-69d7-4a3b-85f4-8c092624c599 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -416,12 +468,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "6b92d97f-ae0f-4799-bf91-f3398c70a66d", "type": "Reflex", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "a897ca34-b433-4be3-a709-829fcb1add6a", + "type": "Reflex", "displayName": "fabcli000001", "description": "Created by + fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -430,15 +495,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '177' + - '452' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:03:20 GMT + - Tue, 03 Feb 2026 07:59:44 GMT Pragma: - no-cache RequestId: - - 527d7877-bdca-4c06-8901-1aecaffb2694 + - 00a37432-4f12-4d3a-b472-ef6c9862521b Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -468,7 +533,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/6b92d97f-ae0f-4799-bf91-f3398c70a66d + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/a897ca34-b433-4be3-a709-829fcb1add6a response: body: string: '' @@ -484,11 +549,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:03:21 GMT + - Tue, 03 Feb 2026 07:59:45 GMT Pragma: - no-cache RequestId: - - 43c64a0e-6bff-4788-9ea2-7ea8c4443b7d + - 3bd1eaad-dd2d-424f-8480-c9b37873aa47 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Report].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Report].yaml index 4162d384..cf91c7d4 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Report].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Report].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:03:22 GMT + - Tue, 03 Feb 2026 07:59:46 GMT Pragma: - no-cache RequestId: - - 47e192e2-fcaa-4465-ad73-a52a67a42449 + - b2458f5f-b104-464d-99f5-007a9caa8d33 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,10 +64,23 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": []}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -76,15 +89,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '32' + - '399' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:03:23 GMT + - Tue, 03 Feb 2026 07:59:46 GMT Pragma: - no-cache RequestId: - - e0b6fb44-52c8-4d63-ab6d-49fec471b72d + - 101a4f3f-b4f2-4aa9-b3d7-a616977443d5 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -112,10 +125,23 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": []}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -124,15 +150,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '32' + - '399' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:03:24 GMT + - Tue, 03 Feb 2026 07:59:47 GMT Pragma: - no-cache RequestId: - - 65e7a2db-56b4-4b0e-b9ed-abd5a0390fd9 + - 2156d95a-7d6a-4123-87f5-dbc9a127c8f7 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -171,7 +197,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/semanticModels + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/semanticModels response: body: string: 'null' @@ -187,13 +213,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:03:25 GMT + - Tue, 03 Feb 2026 07:59:48 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/be42d0c0-a08f-4649-b55d-37feffbf53ed + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/4196ea3b-a85b-4348-b432-40a28ecb59ca Pragma: - no-cache RequestId: - - fa6fb504-1849-4157-9f1f-8e3071f362b4 + - 0804e915-83a6-471b-ae4a-d78e469bc420 Retry-After: - '20' Strict-Transport-Security: @@ -207,7 +233,7 @@ interactions: request-redirected: - 'true' x-ms-operation-id: - - be42d0c0-a08f-4649-b55d-37feffbf53ed + - 4196ea3b-a85b-4348-b432-40a28ecb59ca status: code: 202 message: Accepted @@ -225,11 +251,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/be42d0c0-a08f-4649-b55d-37feffbf53ed + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/4196ea3b-a85b-4348-b432-40a28ecb59ca response: body: - string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:03:25.545392", - "lastUpdatedTimeUtc": "2026-01-28T12:03:36.4373369", "percentComplete": 100, + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T07:59:48.805167", + "lastUpdatedTimeUtc": "2026-02-03T07:59:59.665826", "percentComplete": 100, "error": null}' headers: Access-Control-Expose-Headers: @@ -243,13 +269,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:03:46 GMT + - Tue, 03 Feb 2026 08:00:11 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/be42d0c0-a08f-4649-b55d-37feffbf53ed/result + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/4196ea3b-a85b-4348-b432-40a28ecb59ca/result Pragma: - no-cache RequestId: - - d936e082-0fa5-47e3-b23a-6786fe96d1e8 + - 85788326-0ae7-4528-acd7-e5a54db71f41 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -257,7 +283,7 @@ interactions: X-Frame-Options: - deny x-ms-operation-id: - - be42d0c0-a08f-4649-b55d-37feffbf53ed + - 4196ea3b-a85b-4348-b432-40a28ecb59ca status: code: 200 message: OK @@ -275,11 +301,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/be42d0c0-a08f-4649-b55d-37feffbf53ed/result + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/4196ea3b-a85b-4348-b432-40a28ecb59ca/result response: body: - string: '{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}' + string: '{"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId @@ -290,11 +316,11 @@ interactions: Content-Type: - application/json Date: - - Wed, 28 Jan 2026 12:03:48 GMT + - Tue, 03 Feb 2026 08:00:12 GMT Pragma: - no-cache RequestId: - - 0dc515aa-8359-43b9-8092-060ef232645c + - f945a9eb-54ca-4746-b642-f3a362a5f4ed Strict-Transport-Security: - max-age=31536000; includeSubDomains Transfer-Encoding: @@ -310,7 +336,7 @@ interactions: body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": "Report", "folderId": null, "definition": {"parts": [{"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIlJlcG9ydCIsCiAgICAiZGlzcGxheU5hbWUiOiAiQmxhbmsiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", - "payloadType": "InlineBase64"}, {"path": "definition.pbir", "payload": "eyJ2ZXJzaW9uIjogIjQuMCIsICJkYXRhc2V0UmVmZXJlbmNlIjogeyJieVBhdGgiOiBudWxsLCAiYnlDb25uZWN0aW9uIjogeyJjb25uZWN0aW9uU3RyaW5nIjogIkRhdGEgU291cmNlPXBvd2VyYmk6Ly9hcGkucG93ZXJiaS5jb20vdjEuMC9teW9yZy9ta2RpcjtJbml0aWFsIENhdGFsb2c9cjM7SW50ZWdyYXRlZCBTZWN1cml0eT1DbGFpbXNUb2tlbiIsICJwYmlTZXJ2aWNlTW9kZWxJZCI6IG51bGwsICJwYmlNb2RlbFZpcnR1YWxTZXJ2ZXJOYW1lIjogInNvYmVfd293dmlydHVhbHNlcnZlciIsICJwYmlNb2RlbERhdGFiYXNlTmFtZSI6ICIzMTFjMDIxZC02M2JhLTRkODAtYmIzZi03NGU5ZjgyMWY5ODkiLCAibmFtZSI6ICJFbnRpdHlEYXRhU291cmNlIiwgImNvbm5lY3Rpb25UeXBlIjogInBiaVNlcnZpY2VYbWxhU3R5bGVMaXZlIn19fQ==", + "payloadType": "InlineBase64"}, {"path": "definition.pbir", "payload": "eyJ2ZXJzaW9uIjogIjQuMCIsICJkYXRhc2V0UmVmZXJlbmNlIjogeyJieVBhdGgiOiBudWxsLCAiYnlDb25uZWN0aW9uIjogeyJjb25uZWN0aW9uU3RyaW5nIjogIkRhdGEgU291cmNlPXBvd2VyYmk6Ly9hcGkucG93ZXJiaS5jb20vdjEuMC9teW9yZy9ta2RpcjtJbml0aWFsIENhdGFsb2c9cjM7SW50ZWdyYXRlZCBTZWN1cml0eT1DbGFpbXNUb2tlbiIsICJwYmlTZXJ2aWNlTW9kZWxJZCI6IG51bGwsICJwYmlNb2RlbFZpcnR1YWxTZXJ2ZXJOYW1lIjogInNvYmVfd293dmlydHVhbHNlcnZlciIsICJwYmlNb2RlbERhdGFiYXNlTmFtZSI6ICJmNzNmZGNhNy01NmNiLTRhYjYtOTQ3Ni1hZjJhNzc4MDNlNzgiLCAibmFtZSI6ICJFbnRpdHlEYXRhU291cmNlIiwgImNvbm5lY3Rpb25UeXBlIjogInBiaVNlcnZpY2VYbWxhU3R5bGVMaXZlIn19fQ==", "payloadType": "InlineBase64"}, {"path": "definition/report.json", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL3JlcG9ydC9kZWZpbml0aW9uL3JlcG9ydC8xLjIuMC9zY2hlbWEuanNvbiIsCiAgInRoZW1lQ29sbGVjdGlvbiI6IHsKICAgICJiYXNlVGhlbWUiOiB7CiAgICAgICJuYW1lIjogIkNZMjRTVTEwIiwKICAgICAgInJlcG9ydFZlcnNpb25BdEltcG9ydCI6ICI1LjYxIiwKICAgICAgInR5cGUiOiAiU2hhcmVkUmVzb3VyY2VzIgogICAgfQogIH0sCiAgImxheW91dE9wdGltaXphdGlvbiI6ICJOb25lIiwKICAib2JqZWN0cyI6IHsKICAgICJzZWN0aW9uIjogWwogICAgICB7CiAgICAgICAgInByb3BlcnRpZXMiOiB7CiAgICAgICAgICAidmVydGljYWxBbGlnbm1lbnQiOiB7CiAgICAgICAgICAgICJleHByIjogewogICAgICAgICAgICAgICJMaXRlcmFsIjogewogICAgICAgICAgICAgICAgIlZhbHVlIjogIidUb3AnIgogICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgICAgfQogICAgICAgIH0KICAgICAgfQogICAgXQogIH0sCiAgInJlc291cmNlUGFja2FnZXMiOiBbCiAgICB7CiAgICAgICJuYW1lIjogIlNoYXJlZFJlc291cmNlcyIsCiAgICAgICJ0eXBlIjogIlNoYXJlZFJlc291cmNlcyIsCiAgICAgICJpdGVtcyI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJDWTI0U1UxMCIsCiAgICAgICAgICAicGF0aCI6ICJCYXNlVGhlbWVzL0NZMjRTVTEwLmpzb24iLAogICAgICAgICAgInR5cGUiOiAiQmFzZVRoZW1lIgogICAgICAgIH0KICAgICAgXQogICAgfQogIF0sCiAgInNldHRpbmdzIjogewogICAgInVzZVN0eWxhYmxlVmlzdWFsQ29udGFpbmVySGVhZGVyIjogdHJ1ZSwKICAgICJkZWZhdWx0RHJpbGxGaWx0ZXJPdGhlclZpc3VhbHMiOiB0cnVlLAogICAgImFsbG93Q2hhbmdlRmlsdGVyVHlwZXMiOiB0cnVlLAogICAgInVzZUVuaGFuY2VkVG9vbHRpcHMiOiB0cnVlLAogICAgInVzZURlZmF1bHRBZ2dyZWdhdGVEaXNwbGF5TmFtZSI6IHRydWUKICB9Cn0=", "payloadType": "InlineBase64"}, {"path": "definition/version.json", "payload": @@ -336,7 +362,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/reports + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/reports response: body: string: 'null' @@ -352,13 +378,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:03:50 GMT + - Tue, 03 Feb 2026 08:00:15 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/5df954fe-7588-479a-8013-a08496a964b0 + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/a9c46e41-a1ad-47b1-a954-80c857e6e1bd Pragma: - no-cache RequestId: - - 3f102f7e-074d-41ed-bccb-634ccacd43f2 + - e4bb47e5-b9de-4670-a010-d46f38260c86 Retry-After: - '20' Strict-Transport-Security: @@ -372,7 +398,7 @@ interactions: request-redirected: - 'true' x-ms-operation-id: - - 5df954fe-7588-479a-8013-a08496a964b0 + - a9c46e41-a1ad-47b1-a954-80c857e6e1bd status: code: 202 message: Accepted @@ -390,11 +416,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/5df954fe-7588-479a-8013-a08496a964b0 + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/a9c46e41-a1ad-47b1-a954-80c857e6e1bd response: body: - string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:03:50.4878686", - "lastUpdatedTimeUtc": "2026-01-28T12:03:50.8785003", "percentComplete": 100, + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T08:00:15.4320797", + "lastUpdatedTimeUtc": "2026-02-03T08:00:15.7758313", "percentComplete": 100, "error": null}' headers: Access-Control-Expose-Headers: @@ -408,13 +434,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:04:12 GMT + - Tue, 03 Feb 2026 08:00:38 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/5df954fe-7588-479a-8013-a08496a964b0/result + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/a9c46e41-a1ad-47b1-a954-80c857e6e1bd/result Pragma: - no-cache RequestId: - - aebee04f-cbc6-4bda-83b1-1c092968c167 + - 7c2f319d-9ff4-4b09-8205-318be12870d1 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -422,7 +448,7 @@ interactions: X-Frame-Options: - deny x-ms-operation-id: - - 5df954fe-7588-479a-8013-a08496a964b0 + - a9c46e41-a1ad-47b1-a954-80c857e6e1bd status: code: 200 message: OK @@ -440,11 +466,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/5df954fe-7588-479a-8013-a08496a964b0/result + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/a9c46e41-a1ad-47b1-a954-80c857e6e1bd/result response: body: - string: '{"id": "7da1e7f9-62dc-43b7-a730-9c8364030e30", "type": "Report", "displayName": - "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}' + string: '{"id": "62b2fa54-b385-4837-bf42-1ff676ac4692", "type": "Report", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId @@ -455,11 +481,11 @@ interactions: Content-Type: - application/json Date: - - Wed, 28 Jan 2026 12:04:13 GMT + - Tue, 03 Feb 2026 08:00:39 GMT Pragma: - no-cache RequestId: - - 572cd448-ed33-41d3-b002-0cfec08211a8 + - 4c845db1-06a0-4ad2-8f47-408d950ccf87 Strict-Transport-Security: - max-age=31536000; includeSubDomains Transfer-Encoding: @@ -489,7 +515,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -500,15 +526,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:04:13 GMT + - Tue, 03 Feb 2026 08:00:40 GMT Pragma: - no-cache RequestId: - - 32b19c3f-b590-455a-a1b2-07c0dd8400c6 + - 75217fc4-5f69-4ee7-903c-2e330f3545ea Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -536,14 +562,27 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "7da1e7f9-62dc-43b7-a730-9c8364030e30", "type": "Report", + string: '{"value": [{"id": "62b2fa54-b385-4837-bf42-1ff676ac4692", "type": "Report", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": - "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "9797d176-4e05-4505-b702-92eb11623ef8", + "type": "SQLEndpoint", "displayName": "StagingLakehouseForDataflows_20260203075441", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", "type": "Warehouse", "displayName": + "StagingWarehouseForDataflows_20260203075454", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", + "type": "SQLEndpoint", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260203075441", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -552,15 +591,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '235' + - '487' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:04:15 GMT + - Tue, 03 Feb 2026 08:00:40 GMT Pragma: - no-cache RequestId: - - f62538c5-4bab-45f4-9b85-1e226f028682 + - ccf0a546-b03d-42fc-a2d8-576f9c28125b Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -588,14 +627,27 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "7da1e7f9-62dc-43b7-a730-9c8364030e30", "type": "Report", + string: '{"value": [{"id": "62b2fa54-b385-4837-bf42-1ff676ac4692", "type": "Report", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": - "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "9797d176-4e05-4505-b702-92eb11623ef8", + "type": "SQLEndpoint", "displayName": "StagingLakehouseForDataflows_20260203075441", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", "type": "Warehouse", "displayName": + "StagingWarehouseForDataflows_20260203075454", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", + "type": "SQLEndpoint", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260203075441", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -604,15 +656,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '235' + - '487' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:04:15 GMT + - Tue, 03 Feb 2026 08:00:42 GMT Pragma: - no-cache RequestId: - - e615c3c2-6a18-4418-b63a-399b3de47fa1 + - 152f4a2b-aa61-4152-9255-383bde23a83c Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -644,7 +696,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -655,15 +707,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:04:16 GMT + - Tue, 03 Feb 2026 08:00:42 GMT Pragma: - no-cache RequestId: - - 0e1b7a9c-6b7c-4dc5-a4d0-f52f42db5ca4 + - abf4bd49-cf95-4335-87a7-781e0201550e Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -691,14 +743,27 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "7da1e7f9-62dc-43b7-a730-9c8364030e30", "type": "Report", + string: '{"value": [{"id": "62b2fa54-b385-4837-bf42-1ff676ac4692", "type": "Report", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": - "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "9797d176-4e05-4505-b702-92eb11623ef8", + "type": "SQLEndpoint", "displayName": "StagingLakehouseForDataflows_20260203075441", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", "type": "Warehouse", "displayName": + "StagingWarehouseForDataflows_20260203075454", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", + "type": "SQLEndpoint", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260203075441", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -707,15 +772,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '235' + - '487' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:04:17 GMT + - Tue, 03 Feb 2026 08:00:43 GMT Pragma: - no-cache RequestId: - - 262d3c52-a9ec-491c-ad10-8ad0c74dbe6a + - 30621847-34ca-4e51-9f00-6a88b7a921d4 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -745,7 +810,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/7da1e7f9-62dc-43b7-a730-9c8364030e30 + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/62b2fa54-b385-4837-bf42-1ff676ac4692 response: body: string: '' @@ -761,11 +826,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:04:18 GMT + - Tue, 03 Feb 2026 08:00:44 GMT Pragma: - no-cache RequestId: - - 8491bc53-c4d5-4722-bfd0-0824c552d2fc + - fcbf37b2-984a-4a2f-a07f-fe3a95f7f3b4 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[SQLDatabase].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[SQLDatabase].yaml index 42a76952..92531994 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[SQLDatabase].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[SQLDatabase].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:04:19 GMT + - Tue, 03 Feb 2026 08:00:44 GMT Pragma: - no-cache RequestId: - - a190754f-d512-478d-b32a-df64fa247796 + - 804b9a21-41e4-45f0-a107-272d02b73f17 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,11 +64,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -77,15 +91,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '176' + - '435' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:04:20 GMT + - Tue, 03 Feb 2026 08:00:45 GMT Pragma: - no-cache RequestId: - - 1b81e509-c04d-48bc-8fe1-00eda692a91c + - 4f26fe0f-a314-4d21-b9e8-49a115ab915c Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -113,11 +127,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -126,15 +154,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '176' + - '435' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:04:20 GMT + - Tue, 03 Feb 2026 08:00:47 GMT Pragma: - no-cache RequestId: - - f0b50689-f72a-4dba-9416-203777871a93 + - b8d37ad5-5777-4105-b9e9-afc45b3f5761 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -165,7 +193,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/sqlDatabases + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/sqlDatabases response: body: string: 'null' @@ -181,15 +209,15 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:04:23 GMT + - Tue, 03 Feb 2026 08:00:48 GMT ETag: - '""' Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/9ab1bb4e-3494-4672-a0eb-11d47fb5bc22 + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/417fde9e-4ae1-4a88-9565-47f700e5fca3 Pragma: - no-cache RequestId: - - 59285d32-cb65-4097-9ee7-f600de6830c2 + - d3d2170d-c255-45d8-a9c8-135d2974b38f Retry-After: - '20' Strict-Transport-Security: @@ -203,7 +231,7 @@ interactions: request-redirected: - 'true' x-ms-operation-id: - - 9ab1bb4e-3494-4672-a0eb-11d47fb5bc22 + - 417fde9e-4ae1-4a88-9565-47f700e5fca3 status: code: 202 message: Accepted @@ -221,11 +249,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/9ab1bb4e-3494-4672-a0eb-11d47fb5bc22 + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/417fde9e-4ae1-4a88-9565-47f700e5fca3 response: body: - string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:04:22.551513", - "lastUpdatedTimeUtc": "2026-01-28T12:04:40.4744139", "percentComplete": 100, + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T08:00:48.3149173", + "lastUpdatedTimeUtc": "2026-02-03T08:01:02.6504315", "percentComplete": 100, "error": null}' headers: Access-Control-Expose-Headers: @@ -235,17 +263,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '131' + - '133' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:04:44 GMT + - Tue, 03 Feb 2026 08:01:11 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/9ab1bb4e-3494-4672-a0eb-11d47fb5bc22/result + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/417fde9e-4ae1-4a88-9565-47f700e5fca3/result Pragma: - no-cache RequestId: - - 19b21ffb-b82e-4c02-bbdb-a5798ad5f625 + - 62ec7d4e-892c-41a4-b242-001293f0326d Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -253,7 +281,7 @@ interactions: X-Frame-Options: - deny x-ms-operation-id: - - 9ab1bb4e-3494-4672-a0eb-11d47fb5bc22 + - 417fde9e-4ae1-4a88-9565-47f700e5fca3 status: code: 200 message: OK @@ -271,12 +299,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/9ab1bb4e-3494-4672-a0eb-11d47fb5bc22/result + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/417fde9e-4ae1-4a88-9565-47f700e5fca3/result response: body: - string: '{"id": "976601cf-be10-461a-b49d-626195ba6207", "type": "SQLDatabase", + string: '{"id": "6ece6f8f-aad2-449f-8f19-a3cbd20d97ff", "type": "SQLDatabase", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}' + "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId @@ -287,11 +315,11 @@ interactions: Content-Type: - application/json Date: - - Wed, 28 Jan 2026 12:04:45 GMT + - Tue, 03 Feb 2026 08:01:12 GMT Pragma: - no-cache RequestId: - - 8de9f2b4-8c12-417d-9112-bfdf1df483bf + - 4b43de45-f327-446b-b98a-dbd45ae0e9db Strict-Transport-Security: - max-age=31536000; includeSubDomains Transfer-Encoding: @@ -321,7 +349,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -332,15 +360,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:04:46 GMT + - Tue, 03 Feb 2026 08:01:13 GMT Pragma: - no-cache RequestId: - - e6b8d8bd-313e-4c28-9552-b9b5571a3243 + - 9c6ded04-3129-4b3b-b014-a051d41299dd Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -368,15 +396,29 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "28ce168b-7dd5-4115-b522-4cdd85bddae4", "type": "SQLEndpoint", "displayName": - "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "976601cf-be10-461a-b49d-626195ba6207", "type": "SQLDatabase", "displayName": - "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a4b86bf8-e0c2-4335-ae7d-06181516a098", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "6ece6f8f-aad2-449f-8f19-a3cbd20d97ff", + "type": "SQLDatabase", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -385,15 +427,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '278' + - '517' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:04:48 GMT + - Tue, 03 Feb 2026 08:01:13 GMT Pragma: - no-cache RequestId: - - 1e1d9358-51f0-4187-9e9b-72c64a899aaf + - c9cab0be-b26d-4313-a8d7-be35f836a485 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -421,15 +463,29 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "28ce168b-7dd5-4115-b522-4cdd85bddae4", "type": "SQLEndpoint", "displayName": - "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "976601cf-be10-461a-b49d-626195ba6207", "type": "SQLDatabase", "displayName": - "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a4b86bf8-e0c2-4335-ae7d-06181516a098", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "6ece6f8f-aad2-449f-8f19-a3cbd20d97ff", + "type": "SQLDatabase", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -438,15 +494,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '278' + - '517' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:04:49 GMT + - Tue, 03 Feb 2026 08:01:14 GMT Pragma: - no-cache RequestId: - - a4fd1988-c936-419c-9e77-d1edd0855599 + - c04b6ccd-18c7-4519-9c11-82111c198718 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -478,7 +534,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -489,15 +545,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:04:49 GMT + - Tue, 03 Feb 2026 08:01:15 GMT Pragma: - no-cache RequestId: - - 27d4d89b-d86f-4523-8a82-413d1af071f3 + - 91380531-9156-4db0-812a-2d0e8319792c Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -525,15 +581,29 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "28ce168b-7dd5-4115-b522-4cdd85bddae4", "type": "SQLEndpoint", "displayName": - "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "976601cf-be10-461a-b49d-626195ba6207", "type": "SQLDatabase", "displayName": - "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a4b86bf8-e0c2-4335-ae7d-06181516a098", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "6ece6f8f-aad2-449f-8f19-a3cbd20d97ff", + "type": "SQLDatabase", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -542,15 +612,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '278' + - '517' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:04:49 GMT + - Tue, 03 Feb 2026 08:01:16 GMT Pragma: - no-cache RequestId: - - aa74ad0c-48f7-4209-b359-b3e8419c107e + - d64d4c4e-ac5b-4817-9037-ba5279b4be23 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -580,7 +650,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/976601cf-be10-461a-b49d-626195ba6207 + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/6ece6f8f-aad2-449f-8f19-a3cbd20d97ff response: body: string: '' @@ -596,11 +666,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:04:51 GMT + - Tue, 03 Feb 2026 08:01:17 GMT Pragma: - no-cache RequestId: - - e1888ed8-4a22-4561-87fc-511a7b381da5 + - 200d1dd0-a535-4af7-ba05-14a322cf9c8d Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[SemanticModel].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[SemanticModel].yaml index bec9b7c1..b870f21f 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[SemanticModel].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[SemanticModel].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:04:52 GMT + - Tue, 03 Feb 2026 08:01:18 GMT Pragma: - no-cache RequestId: - - 2fa3e6f0-903f-4b37-8cef-30a2e00eac60 + - 6f2d28e2-1cf7-4f67-b869-31c11c46cc00 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,11 +64,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -77,15 +91,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '176' + - '435' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:04:53 GMT + - Tue, 03 Feb 2026 08:01:18 GMT Pragma: - no-cache RequestId: - - 977d6e4d-563f-41b2-8df0-579404581390 + - b36ec21c-a732-4f48-9427-1888eb5a3a45 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -113,11 +127,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -126,15 +154,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '176' + - '435' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:04:53 GMT + - Tue, 03 Feb 2026 08:01:19 GMT Pragma: - no-cache RequestId: - - 649b1870-dcff-4715-a393-707520eb21ed + - 46100252-fc2b-4c25-b0f9-cf1ce7f41ed7 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -173,7 +201,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/semanticModels + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/semanticModels response: body: string: 'null' @@ -189,13 +217,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:04:54 GMT + - Tue, 03 Feb 2026 08:01:20 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/cfd8e041-6c83-429b-b48a-5413bc117585 + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/abde587b-4246-4ccd-9005-e8e5f7ddf251 Pragma: - no-cache RequestId: - - 68bcdfb3-1486-4aa1-85d6-9c40da58416e + - 9d4f590d-a524-4e03-8503-40bc5e4abe6c Retry-After: - '20' Strict-Transport-Security: @@ -209,7 +237,7 @@ interactions: request-redirected: - 'true' x-ms-operation-id: - - cfd8e041-6c83-429b-b48a-5413bc117585 + - abde587b-4246-4ccd-9005-e8e5f7ddf251 status: code: 202 message: Accepted @@ -227,11 +255,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/cfd8e041-6c83-429b-b48a-5413bc117585 + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/abde587b-4246-4ccd-9005-e8e5f7ddf251 response: body: - string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:04:54.4789669", - "lastUpdatedTimeUtc": "2026-01-28T12:05:05.4023826", "percentComplete": 100, + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T08:01:20.4391626", + "lastUpdatedTimeUtc": "2026-02-03T08:01:31.393485", "percentComplete": 100, "error": null}' headers: Access-Control-Expose-Headers: @@ -241,17 +269,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '132' + - '131' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:05:16 GMT + - Tue, 03 Feb 2026 08:01:42 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/cfd8e041-6c83-429b-b48a-5413bc117585/result + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/abde587b-4246-4ccd-9005-e8e5f7ddf251/result Pragma: - no-cache RequestId: - - 0839800e-0afc-454c-8bed-1b50e39a1818 + - 050507f6-9c78-4216-86d9-72ac990b7345 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -259,7 +287,7 @@ interactions: X-Frame-Options: - deny x-ms-operation-id: - - cfd8e041-6c83-429b-b48a-5413bc117585 + - abde587b-4246-4ccd-9005-e8e5f7ddf251 status: code: 200 message: OK @@ -277,11 +305,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/cfd8e041-6c83-429b-b48a-5413bc117585/result + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/abde587b-4246-4ccd-9005-e8e5f7ddf251/result response: body: - string: '{"id": "f80ab630-6547-477e-8e68-2aeb673fc74c", "type": "SemanticModel", - "displayName": "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}' + string: '{"id": "337845a8-9520-46a0-be9d-b3aa47a6d6eb", "type": "SemanticModel", + "displayName": "fabcli000001", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId @@ -292,11 +320,11 @@ interactions: Content-Type: - application/json Date: - - Wed, 28 Jan 2026 12:05:16 GMT + - Tue, 03 Feb 2026 08:01:42 GMT Pragma: - no-cache RequestId: - - 548e28e8-1b9a-4d12-99c9-4fbfdafc8491 + - e6b144c1-4e3a-4986-a00e-22032dcd7fcc Strict-Transport-Security: - max-age=31536000; includeSubDomains Transfer-Encoding: @@ -326,7 +354,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -337,15 +365,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:05:17 GMT + - Tue, 03 Feb 2026 08:01:43 GMT Pragma: - no-cache RequestId: - - b5cdaf97-5fe1-4234-bf49-c33ad39c735a + - 4393637f-56a7-424e-922e-fa440832cf43 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -373,13 +401,27 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "f80ab630-6547-477e-8e68-2aeb673fc74c", "type": "SemanticModel", "displayName": - "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "337845a8-9520-46a0-be9d-b3aa47a6d6eb", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -388,15 +430,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '218' + - '468' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:05:19 GMT + - Tue, 03 Feb 2026 08:01:44 GMT Pragma: - no-cache RequestId: - - 84bd3484-2184-49fb-af8b-6eb3459f6c9e + - 05f9bd66-c195-4625-bda9-7cbdbbf65993 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -424,13 +466,27 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "f80ab630-6547-477e-8e68-2aeb673fc74c", "type": "SemanticModel", "displayName": - "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "337845a8-9520-46a0-be9d-b3aa47a6d6eb", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -439,15 +495,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '218' + - '468' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:05:19 GMT + - Tue, 03 Feb 2026 08:01:45 GMT Pragma: - no-cache RequestId: - - 0bed5b53-3a83-41c2-b89b-f2e081e170a7 + - 79dcfd1a-5bae-4838-8b58-f47ee671dd01 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -479,7 +535,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -490,15 +546,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:05:20 GMT + - Tue, 03 Feb 2026 08:01:46 GMT Pragma: - no-cache RequestId: - - 05de92fe-9365-460b-8834-31d1a9409f09 + - 41c9c22c-24a0-4067-91d9-1e2ad26735f1 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -526,13 +582,27 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "f80ab630-6547-477e-8e68-2aeb673fc74c", "type": "SemanticModel", "displayName": - "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "337845a8-9520-46a0-be9d-b3aa47a6d6eb", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -541,15 +611,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '218' + - '468' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:05:21 GMT + - Tue, 03 Feb 2026 08:01:47 GMT Pragma: - no-cache RequestId: - - fb4dae71-4db6-44d3-b777-d14034fb3e96 + - f500ffd6-cc14-4160-b03c-bf514920eda8 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -579,7 +649,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/f80ab630-6547-477e-8e68-2aeb673fc74c + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/337845a8-9520-46a0-be9d-b3aa47a6d6eb response: body: string: '' @@ -595,11 +665,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:05:23 GMT + - Tue, 03 Feb 2026 08:01:49 GMT Pragma: - no-cache RequestId: - - 27d01e54-f8a1-455a-9d9b-948131c56d47 + - f8267b7d-e853-4b38-8e23-66f95b2d5d8f Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[SparkJobDefinition].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[SparkJobDefinition].yaml index cc42f741..c8d6f50a 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[SparkJobDefinition].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[SparkJobDefinition].yaml @@ -1,36 +1,4 @@ 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: '' - headers: - Connection: - - close - Content-Length: - - '0' - Date: - - Wed, 28 Jan 2026 12:05:24 GMT - RequestId: - - 9f18e609-3409-42e6-9bd4-ad3ce3042d8e - Retry-After: - - '5' - status: - code: 503 - message: Service Unavailable - request: body: null headers: @@ -49,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -60,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:05:30 GMT + - Tue, 03 Feb 2026 08:01:50 GMT Pragma: - no-cache RequestId: - - 222e7766-f44d-48af-b43a-223c94a2707a + - bac2935f-ab86-4349-ac1b-c38b217b71f7 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -96,11 +64,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -109,15 +91,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '176' + - '435' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:05:31 GMT + - Tue, 03 Feb 2026 08:01:50 GMT Pragma: - no-cache RequestId: - - a8bdc9e7-c2f4-4279-9f70-b07b7d2fc501 + - 93732154-bf69-4562-9324-bc9ee1c12122 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -145,11 +127,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -158,15 +154,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '176' + - '435' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:05:32 GMT + - Tue, 03 Feb 2026 08:01:51 GMT Pragma: - no-cache RequestId: - - 6180ac1d-f956-4f71-a328-0abb4cf71aa6 + - 3478c849-f41f-40e5-bc29-71d494da33d0 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -197,12 +193,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/sparkJobDefinitions + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/sparkJobDefinitions response: body: - string: '{"id": "44813647-5ad0-4480-bc66-026c75b5bbb3", "type": "SparkJobDefinition", + string: '{"id": "5c8af605-d260-461a-9772-5150dd657ad2", "type": "SparkJobDefinition", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}' + "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId,ETag @@ -211,17 +207,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '175' + - '174' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:05:34 GMT + - Tue, 03 Feb 2026 08:01:53 GMT ETag: - '""' Pragma: - no-cache RequestId: - - 7d968b5d-2cc7-4cb2-becd-274b8ddc7ede + - d9b743ec-1487-4a6e-9e2b-ba8719d9f559 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -253,7 +249,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -264,15 +260,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:05:35 GMT + - Tue, 03 Feb 2026 08:01:53 GMT Pragma: - no-cache RequestId: - - 9c2e04f6-45ee-48cb-840b-ef5db2032b23 + - 1fe967b0-3490-4fce-be3e-fc3186c72a12 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -300,14 +296,27 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "44813647-5ad0-4480-bc66-026c75b5bbb3", "type": "SparkJobDefinition", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "5c8af605-d260-461a-9772-5150dd657ad2", + "type": "SparkJobDefinition", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -316,15 +325,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '248' + - '498' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:05:36 GMT + - Tue, 03 Feb 2026 08:01:54 GMT Pragma: - no-cache RequestId: - - a1a7f918-b8c4-456e-9610-912ea3d43aa8 + - 23095aed-2401-487b-8dc6-7cc026239e99 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -352,14 +361,27 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "44813647-5ad0-4480-bc66-026c75b5bbb3", "type": "SparkJobDefinition", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "5c8af605-d260-461a-9772-5150dd657ad2", + "type": "SparkJobDefinition", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -368,15 +390,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '248' + - '498' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:05:36 GMT + - Tue, 03 Feb 2026 08:01:55 GMT Pragma: - no-cache RequestId: - - ecd2fabd-c7a9-4d78-ac55-2376d6b0f3a5 + - d7edc985-b2c4-473c-9a4c-f03495d8ba5d Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -408,7 +430,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -419,15 +441,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:05:37 GMT + - Tue, 03 Feb 2026 08:01:55 GMT Pragma: - no-cache RequestId: - - 788f05e8-1cab-42e4-a2d2-3d3bc4a8d90f + - c2f16a4d-c486-478f-a56e-a3cd3ad024f5 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -455,14 +477,27 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "44813647-5ad0-4480-bc66-026c75b5bbb3", "type": "SparkJobDefinition", - "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "5c8af605-d260-461a-9772-5150dd657ad2", + "type": "SparkJobDefinition", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -471,15 +506,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '248' + - '498' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:05:38 GMT + - Tue, 03 Feb 2026 08:01:57 GMT Pragma: - no-cache RequestId: - - 2485026b-a67c-4571-a625-3aa6ae93c969 + - 0feb4d6d-7513-48bc-b2cd-feff4a3a37f8 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -509,7 +544,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/44813647-5ad0-4480-bc66-026c75b5bbb3 + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/5c8af605-d260-461a-9772-5150dd657ad2 response: body: string: '' @@ -525,11 +560,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:05:39 GMT + - Tue, 03 Feb 2026 08:01:57 GMT Pragma: - no-cache RequestId: - - 40e39d19-1674-41d5-a193-c44ffb905989 + - 211f3477-abae-4152-b5b3-8a8afd6818d5 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[UserDataFunction].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[UserDataFunction].yaml new file mode 100644 index 00000000..cad040f2 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[UserDataFunction].yaml @@ -0,0 +1,619 @@ +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": "b7945519-3184-48e4-8d42-8b7ee977816d", + "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: + - '2336' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 08:03:31 GMT + Pragma: + - no-cache + RequestId: + - d868f0da-ff0d-4e99-8b12-c1af7e5923b9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "b18a5ed1-ad0b-458e-b5f2-c97ee525730e", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203080254", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4de79e8-127a-403a-b786-42495ababff4", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203080308", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d5cebdeb-f1d9-4a99-9e06-ba678b8f8747", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260203080254", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '521' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 08:03:32 GMT + Pragma: + - no-cache + RequestId: + - aad1a0df-4226-4bd1-a4af-7a9d3b6ec1d9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "b18a5ed1-ad0b-458e-b5f2-c97ee525730e", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203080254", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4de79e8-127a-403a-b786-42495ababff4", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203080308", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d5cebdeb-f1d9-4a99-9e06-ba678b8f8747", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260203080254", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '521' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 08:03:33 GMT + Pragma: + - no-cache + RequestId: + - 4e7e56ae-a500-43ca-ae65-368cd491e153 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b7945519-3184-48e4-8d42-8b7ee977816d/userdatafunctions + response: + body: + string: '{"id": "7cd9ae52-0315-40c9-b776-73487d4f03ba", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}' + 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 08:03:36 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 4ce87f2b-4754-4f7d-93c0-349c9a22cd80 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b7945519-3184-48e4-8d42-8b7ee977816d", + "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: + - '2336' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 08:03:36 GMT + Pragma: + - no-cache + RequestId: + - ed51d96f-c8e5-4d4c-ac4a-74fa3f22a51c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "b18a5ed1-ad0b-458e-b5f2-c97ee525730e", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203080254", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4de79e8-127a-403a-b786-42495ababff4", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203080308", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d5cebdeb-f1d9-4a99-9e06-ba678b8f8747", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260203080254", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "7cd9ae52-0315-40c9-b776-73487d4f03ba", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '585' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 08:03:37 GMT + Pragma: + - no-cache + RequestId: + - b3e4cc90-ef61-4350-a22c-e534c94cd943 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "b18a5ed1-ad0b-458e-b5f2-c97ee525730e", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203080254", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4de79e8-127a-403a-b786-42495ababff4", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203080308", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d5cebdeb-f1d9-4a99-9e06-ba678b8f8747", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260203080254", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "7cd9ae52-0315-40c9-b776-73487d4f03ba", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '585' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 08:03:38 GMT + Pragma: + - no-cache + RequestId: + - 826d7838-edce-42cd-be1d-8ebbd23cd6a7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b7945519-3184-48e4-8d42-8b7ee977816d", + "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: + - '2336' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 08:03:39 GMT + Pragma: + - no-cache + RequestId: + - 400424fe-88df-4566-92f4-192b32aff518 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "b18a5ed1-ad0b-458e-b5f2-c97ee525730e", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203080254", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4de79e8-127a-403a-b786-42495ababff4", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203080308", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d5cebdeb-f1d9-4a99-9e06-ba678b8f8747", + "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260203080254", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "7cd9ae52-0315-40c9-b776-73487d4f03ba", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '585' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 08:03:40 GMT + Pragma: + - no-cache + RequestId: + - f759f31f-682c-4495-b4a4-ab02c929c9d1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b7945519-3184-48e4-8d42-8b7ee977816d/items/7cd9ae52-0315-40c9-b776-73487d4f03ba + 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 08:03:41 GMT + Pragma: + - no-cache + RequestId: + - ecc657ba-0746-4574-b4f4-e4b87a1229b7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_doesnt_exist_success[Warehouse].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Warehouse].yaml index 5f231832..b5d91cb5 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Warehouse].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[Warehouse].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:05:40 GMT + - Tue, 03 Feb 2026 08:01:58 GMT Pragma: - no-cache RequestId: - - 0b95e997-e212-4b73-9b10-2c347a0fa5ab + - b87810b1-aa7e-4814-a4f0-a34f571bdc0a Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,11 +64,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -77,15 +91,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '176' + - '435' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:05:41 GMT + - Tue, 03 Feb 2026 08:01:58 GMT Pragma: - no-cache RequestId: - - 96a77a9e-93cc-4b20-b2dc-3fd2fd67030c + - f8c10ce7-bf00-4143-b9b6-01cdf780fa63 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -113,11 +127,25 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -126,15 +154,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '176' + - '435' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:05:41 GMT + - Tue, 03 Feb 2026 08:01:59 GMT Pragma: - no-cache RequestId: - - d52c7211-9651-4f29-a638-7fcd01972100 + - 8408e90e-e6ed-43b0-9674-ce0e36ec8476 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -165,7 +193,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/warehouses + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/warehouses response: body: string: 'null' @@ -181,15 +209,15 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:05:43 GMT + - Tue, 03 Feb 2026 08:02:00 GMT ETag: - '""' Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f476411c-5e3f-4371-975d-92e7433ad85d + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/1258d7dc-c287-41b6-b75f-d247fe188037 Pragma: - no-cache RequestId: - - 8ba09a98-4f75-4c39-84b9-e812706318f8 + - 99c4a1eb-5413-458f-ae38-56cd8fdf1814 Retry-After: - '20' Strict-Transport-Security: @@ -203,7 +231,7 @@ interactions: request-redirected: - 'true' x-ms-operation-id: - - f476411c-5e3f-4371-975d-92e7433ad85d + - 1258d7dc-c287-41b6-b75f-d247fe188037 status: code: 202 message: Accepted @@ -221,11 +249,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f476411c-5e3f-4371-975d-92e7433ad85d + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/1258d7dc-c287-41b6-b75f-d247fe188037 response: body: - string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:05:43.5519577", - "lastUpdatedTimeUtc": "2026-01-28T12:06:00.2742348", "percentComplete": 100, + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T08:02:00.6486388", + "lastUpdatedTimeUtc": "2026-02-03T08:02:07.2766471", "percentComplete": 100, "error": null}' headers: Access-Control-Expose-Headers: @@ -235,17 +263,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '133' + - '130' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:05 GMT + - Tue, 03 Feb 2026 08:02:22 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f476411c-5e3f-4371-975d-92e7433ad85d/result + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/1258d7dc-c287-41b6-b75f-d247fe188037/result Pragma: - no-cache RequestId: - - 2ffaa103-d32d-4c8f-97c1-3d2def5024ae + - 7bae7baf-b715-410e-b694-b607c7603eb3 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -253,7 +281,7 @@ interactions: X-Frame-Options: - deny x-ms-operation-id: - - f476411c-5e3f-4371-975d-92e7433ad85d + - 1258d7dc-c287-41b6-b75f-d247fe188037 status: code: 200 message: OK @@ -271,12 +299,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f476411c-5e3f-4371-975d-92e7433ad85d/result + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/1258d7dc-c287-41b6-b75f-d247fe188037/result response: body: - string: '{"id": "646d36a4-c68e-4668-8fac-260c0b7b4b81", "type": "Warehouse", + string: '{"id": "83ad2ce8-86cb-455f-b1de-3353d91597d7", "type": "Warehouse", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}' + "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId @@ -287,11 +315,11 @@ interactions: Content-Type: - application/json Date: - - Wed, 28 Jan 2026 12:06:05 GMT + - Tue, 03 Feb 2026 08:02:23 GMT Pragma: - no-cache RequestId: - - 43cace4c-582a-4e71-a05e-50690aa5346d + - ac5bd569-e413-44c8-aaa0-cd98bcaebb71 Strict-Transport-Security: - max-age=31536000; includeSubDomains Transfer-Encoding: @@ -321,7 +349,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -332,15 +360,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:06 GMT + - Tue, 03 Feb 2026 08:02:24 GMT Pragma: - no-cache RequestId: - - d575f358-1a49-4799-b30c-ab40476d2bb7 + - 42e6cb1e-70fe-4319-a147-ad11b57cfb89 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -368,13 +396,27 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "646d36a4-c68e-4668-8fac-260c0b7b4b81", "type": "Warehouse", "displayName": - "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "83ad2ce8-86cb-455f-b1de-3353d91597d7", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -383,15 +425,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '244' + - '484' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:06 GMT + - Tue, 03 Feb 2026 08:02:24 GMT Pragma: - no-cache RequestId: - - 3cca4e12-0a46-4554-863c-d75504a58f58 + - 55d428ec-bb78-40d2-9895-79c2194f84c2 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -419,13 +461,27 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "646d36a4-c68e-4668-8fac-260c0b7b4b81", "type": "Warehouse", "displayName": - "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "83ad2ce8-86cb-455f-b1de-3353d91597d7", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -434,15 +490,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '244' + - '484' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:08 GMT + - Tue, 03 Feb 2026 08:02:25 GMT Pragma: - no-cache RequestId: - - 08093f9b-9cf3-43a0-9311-451144df196e + - 9a2ccf28-c737-4c01-9b99-e86b94fc3007 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -474,7 +530,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -485,15 +541,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:08 GMT + - Tue, 03 Feb 2026 08:02:27 GMT Pragma: - no-cache RequestId: - - 9079b920-5473-4cbd-85e2-f27b2ac29986 + - b9e32398-5619-4923-9fba-38af15bd3e22 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -521,13 +577,27 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "646d36a4-c68e-4668-8fac-260c0b7b4b81", "type": "Warehouse", "displayName": - "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f73fdca7-56cb-4ab6-9476-af2a77803e78", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "83ad2ce8-86cb-455f-b1de-3353d91597d7", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -536,15 +606,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '244' + - '484' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:09 GMT + - Tue, 03 Feb 2026 08:02:27 GMT Pragma: - no-cache RequestId: - - a70e6c43-bd24-4b08-af42-962ff5332599 + - f17f5a8b-7732-4fa1-b9ee-e4228ce5a735 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -574,7 +644,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/646d36a4-c68e-4668-8fac-260c0b7b4b81 + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/83ad2ce8-86cb-455f-b1de-3353d91597d7 response: body: string: '' @@ -590,11 +660,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:06:10 GMT + - Tue, 03 Feb 2026 08:02:29 GMT Pragma: - no-cache RequestId: - - 8af127ed-997d-4dc2-ac6b-6e431c1e7fb5 + - a6c96910-0dcd-42a6-9b4a-13290559de62 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[CopyJob].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[CopyJob].yaml index f60d7632..add85b3d 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[CopyJob].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[CopyJob].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:40 GMT + - Tue, 03 Feb 2026 07:54:17 GMT Pragma: - no-cache RequestId: - - 27007adf-1e86-44ba-987d-13375cb2602c + - a5bdb841-a125-4887-90ed-2afdc7ee4ad9 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,21 +64,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": - "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -87,15 +77,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '363' + - '175' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:41 GMT + - Tue, 03 Feb 2026 07:54:18 GMT Pragma: - no-cache RequestId: - - 48a5f132-80b0-4685-b49e-2e6b50eb72cd + - 4a5a4b1d-9389-4487-a911-2180d709954d Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -123,21 +113,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": - "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -146,15 +126,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '363' + - '175' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:42 GMT + - Tue, 03 Feb 2026 07:54:19 GMT Pragma: - no-cache RequestId: - - 98be0ce2-5a9e-43e9-ac1f-7c586f96bea7 + - e7c67915-a5c3-4981-9d90-3985bcd23a78 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -185,11 +165,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/copyJobs + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/copyJobs response: body: - string: '{"id": "18570de2-a3b9-46d1-a357-f1fa9aba93d5", "type": "CopyJob", "displayName": - "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}' + string: '{"id": "e58d2e39-f67d-4eb0-84cb-6f1827619fd3", "type": "CopyJob", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId,ETag @@ -202,13 +182,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:46 GMT + - Tue, 03 Feb 2026 07:54:23 GMT ETag: - '""' Pragma: - no-cache RequestId: - - ba20c949-cc83-4926-b3bb-a41ee1457d67 + - 818c91a5-724c-43b5-8d3f-56da61230c69 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -240,7 +220,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -251,15 +231,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:47 GMT + - Tue, 03 Feb 2026 07:54:23 GMT Pragma: - no-cache RequestId: - - 7d6ece5f-8fd8-498c-afb4-4b5d3d1f69f3 + - 06554558-b2a4-4bd6-b425-1e738d20b0b0 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -287,23 +267,13 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": - "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "18570de2-a3b9-46d1-a357-f1fa9aba93d5", - "type": "CopyJob", "displayName": "fabcli000001", "description": "Created - by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "e58d2e39-f67d-4eb0-84cb-6f1827619fd3", "type": "CopyJob", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -312,15 +282,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '423' + - '241' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:49 GMT + - Tue, 03 Feb 2026 07:54:25 GMT Pragma: - no-cache RequestId: - - 24050974-d478-4d83-b4c7-baf9ccdb28f3 + - 0c626fbb-2a55-4fd2-8347-45bdce204d6a Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -352,7 +322,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -363,15 +333,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:48 GMT + - Tue, 03 Feb 2026 07:54:25 GMT Pragma: - no-cache RequestId: - - 6f6039d0-bafd-42db-b119-c21554825616 + - 4e2a923c-2bb4-4ef1-b1c0-6071f8a16d50 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -399,23 +369,13 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": - "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "18570de2-a3b9-46d1-a357-f1fa9aba93d5", - "type": "CopyJob", "displayName": "fabcli000001", "description": "Created - by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "e58d2e39-f67d-4eb0-84cb-6f1827619fd3", "type": "CopyJob", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -424,15 +384,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '423' + - '241' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:49 GMT + - Tue, 03 Feb 2026 07:54:26 GMT Pragma: - no-cache RequestId: - - 5f8a4ca1-a5db-4c20-add2-c44135a0ae37 + - 1c522810-1930-487e-9709-783937a62bb3 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -462,7 +422,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/18570de2-a3b9-46d1-a357-f1fa9aba93d5 + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/e58d2e39-f67d-4eb0-84cb-6f1827619fd3 response: body: string: '' @@ -478,11 +438,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:12:50 GMT + - Tue, 03 Feb 2026 07:54:27 GMT Pragma: - no-cache RequestId: - - bb697222-ed02-44cd-9358-f424b182e19f + - 2d7d6c98-ca1f-4bf7-acdb-c63a2b39d1c1 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[CosmosDBDatabase].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[CosmosDBDatabase].yaml new file mode 100644 index 00000000..de5e8b93 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[CosmosDBDatabase].yaml @@ -0,0 +1,582 @@ +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": "b7945519-3184-48e4-8d42-8b7ee977816d", + "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: + - '2336' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 07:54:46 GMT + Pragma: + - no-cache + RequestId: + - 00ca48bc-ecb4-4c97-92e6-e8824044c658 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '248' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 07:54:46 GMT + Pragma: + - no-cache + RequestId: + - 209ededf-540d-42db-b408-88be2e567f01 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '248' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 07:54:47 GMT + Pragma: + - no-cache + RequestId: + - 05b313b1-501c-4bf5-9317-3697a104e49c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b7945519-3184-48e4-8d42-8b7ee977816d/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 07:54:49 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/eefa1d06-3b8b-440c-862f-449ac7e7bcd7 + Pragma: + - no-cache + RequestId: + - 33b64336-d9bd-47a9-9284-9f45b14132c4 + 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: + - eefa1d06-3b8b-440c-862f-449ac7e7bcd7 + 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/eefa1d06-3b8b-440c-862f-449ac7e7bcd7 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T07:54:49.3318157", + "lastUpdatedTimeUtc": "2026-02-03T07:54:58.1767509", "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 07:55:11 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/eefa1d06-3b8b-440c-862f-449ac7e7bcd7/result + Pragma: + - no-cache + RequestId: + - 0ef8e9fc-96ad-4fb3-85f2-c5d1b0083c93 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - eefa1d06-3b8b-440c-862f-449ac7e7bcd7 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/eefa1d06-3b8b-440c-862f-449ac7e7bcd7/result + response: + body: + string: '{"id": "839d796a-c98e-4dc1-868b-50e6d8fab06b", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}' + 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 07:55:12 GMT + Pragma: + - no-cache + RequestId: + - 8ea8b917-52aa-46c5-8657-a26627d1ec07 + 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": "b7945519-3184-48e4-8d42-8b7ee977816d", + "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: + - '2336' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 07:55:13 GMT + Pragma: + - no-cache + RequestId: + - 45068aea-3cc7-4cb5-9799-2062622f21e3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "839d796a-c98e-4dc1-868b-50e6d8fab06b", + "type": "CosmosDBDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '395' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 07:55:14 GMT + Pragma: + - no-cache + RequestId: + - a8c742a4-bf89-40b3-a879-c24456657481 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b7945519-3184-48e4-8d42-8b7ee977816d", + "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: + - '2336' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 07:55:15 GMT + Pragma: + - no-cache + RequestId: + - 545e82cf-acf5-4627-be48-570399f42bcc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "839d796a-c98e-4dc1-868b-50e6d8fab06b", + "type": "CosmosDBDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '395' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 07:55:15 GMT + Pragma: + - no-cache + RequestId: + - 25d7f1f8-b8f0-4bd5-98a3-ca845c7ecd34 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b7945519-3184-48e4-8d42-8b7ee977816d/items/839d796a-c98e-4dc1-868b-50e6d8fab06b + 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 07:55:16 GMT + Pragma: + - no-cache + RequestId: + - 11f3179f-0c95-45eb-9a00-e8de8f988e73 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_exists_success[DataPipeline].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[DataPipeline].yaml index c1559348..56ce58c9 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[DataPipeline].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[DataPipeline].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:42 GMT + - Tue, 03 Feb 2026 07:48:20 GMT Pragma: - no-cache RequestId: - - ff884c5f-6271-400e-89ad-f9c498386994 + - bef8d4e9-4b08-4c0b-ae82-809058267a1b Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,14 +64,10 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": []}' headers: Access-Control-Expose-Headers: - RequestId @@ -80,15 +76,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '249' + - '32' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:43 GMT + - Tue, 03 Feb 2026 07:48:21 GMT Pragma: - no-cache RequestId: - - fc70492a-bf5e-43fa-8e19-b2495e06987c + - b0f4df6c-8d59-401b-8959-c5c6ff5070c6 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -116,14 +112,10 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": []}' headers: Access-Control-Expose-Headers: - RequestId @@ -132,15 +124,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '249' + - '32' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:44 GMT + - Tue, 03 Feb 2026 07:48:22 GMT Pragma: - no-cache RequestId: - - f5788d92-4412-4d5b-acf1-74fb64511432 + - ef50f7b4-bb57-49ef-96a7-1e35304a24cb Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -171,12 +163,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/dataPipelines + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/dataPipelines response: body: - string: '{"id": "0bbced0f-57bc-455f-93a5-0fbf3f78d435", "type": "DataPipeline", + string: '{"id": "7b15dce5-0314-4def-9a46-63ae9ac73136", "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}' + "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId,ETag @@ -185,17 +177,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '170' + - '168' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:49 GMT + - Tue, 03 Feb 2026 07:48:29 GMT ETag: - '""' Pragma: - no-cache RequestId: - - f96e265b-826c-4848-993d-7481415886cf + - 1bc1fceb-9db8-4c4d-a8e8-b994edfabef2 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -227,7 +219,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -238,15 +230,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:50 GMT + - Tue, 03 Feb 2026 07:48:30 GMT Pragma: - no-cache RequestId: - - eff3da29-0108-41b0-a93c-b0ecc1253f20 + - a2492349-58af-4b52-82ab-38e0715acfcf Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -274,16 +266,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "0bbced0f-57bc-455f-93a5-0fbf3f78d435", - "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created - by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "7b15dce5-0314-4def-9a46-63ae9ac73136", "type": "DataPipeline", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -292,15 +280,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '309' + - '180' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:50 GMT + - Tue, 03 Feb 2026 07:48:30 GMT Pragma: - no-cache RequestId: - - 86c04c33-b7b9-4374-a70c-461b48ab2918 + - 24e348cc-9ff2-4ec1-94fb-dad2ed3e105b Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -332,7 +320,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -343,15 +331,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:51 GMT + - Tue, 03 Feb 2026 07:48:32 GMT Pragma: - no-cache RequestId: - - f311d253-d055-42fd-8c97-f476c31583be + - 62db9b81-fcdd-44d1-9488-b259c8242a54 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -379,16 +367,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "0bbced0f-57bc-455f-93a5-0fbf3f78d435", - "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created - by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "7b15dce5-0314-4def-9a46-63ae9ac73136", "type": "DataPipeline", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -397,15 +381,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '309' + - '180' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:52 GMT + - Tue, 03 Feb 2026 07:48:32 GMT Pragma: - no-cache RequestId: - - a5a29da3-a4a8-49a4-a455-fa7b0d8a690e + - cbae5255-ba8b-4ae0-8a32-12114167455f Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -435,7 +419,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/0bbced0f-57bc-455f-93a5-0fbf3f78d435 + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/7b15dce5-0314-4def-9a46-63ae9ac73136 response: body: string: '' @@ -451,11 +435,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:06:53 GMT + - Tue, 03 Feb 2026 07:48:33 GMT Pragma: - no-cache RequestId: - - 9c099e66-c371-4cd8-bd01-ac1bbe3cd1c0 + - bda11203-9067-4f9c-be01-6ac89b22a757 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Dataflow].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Dataflow].yaml index 46f36147..3c729a91 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Dataflow].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Dataflow].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:59 GMT + - Tue, 03 Feb 2026 07:54:37 GMT Pragma: - no-cache RequestId: - - 81d53cd9-33ac-4599-9779-c5845a38465a + - c3c2a2cb-3a4e-4418-ab41-fb9e7a340e71 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,21 +64,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": - "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -87,15 +77,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '363' + - '175' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:13:00 GMT + - Tue, 03 Feb 2026 07:54:37 GMT Pragma: - no-cache RequestId: - - f3afb963-1e77-4149-9e91-51b8b782ab35 + - 08802852-fee5-4bb3-b87c-ef296cf593cc Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -123,21 +113,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": - "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -146,15 +126,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '363' + - '175' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:13:00 GMT + - Tue, 03 Feb 2026 07:54:38 GMT Pragma: - no-cache RequestId: - - 1e315f32-c723-403f-8ac9-0c8ce3908fcc + - 136c7386-092f-442b-b969-51c279476ff0 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -185,12 +165,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/dataflows + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/dataflows response: body: - string: '{"id": "1acecb3c-69d9-4014-96a8-36eaaf9b886e", "type": "Dataflow", + string: '{"id": "b516ea4d-df90-41b9-b223-3744b36b4b8a", "type": "Dataflow", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}' + "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId,ETag @@ -199,17 +179,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '165' + - '166' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:13:02 GMT + - Tue, 03 Feb 2026 07:54:41 GMT ETag: - '""' Pragma: - no-cache RequestId: - - a933c3ca-3492-41fe-a5d6-9bbf96e2c1d0 + - f8f16486-1c21-4779-acc5-c7b701b94e99 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -241,7 +221,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -252,15 +232,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:13:04 GMT + - Tue, 03 Feb 2026 07:54:41 GMT Pragma: - no-cache RequestId: - - 8d49d3e0-5a1b-40b8-b7dc-447cf9228957 + - 4e2240d2-b890-42b6-80fa-eba413a55748 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -288,23 +268,13 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": - "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1acecb3c-69d9-4014-96a8-36eaaf9b886e", - "type": "Dataflow", "displayName": "fabcli000001", "description": "Created - by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "b516ea4d-df90-41b9-b223-3744b36b4b8a", "type": "Dataflow", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -313,15 +283,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '420' + - '240' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:13:04 GMT + - Tue, 03 Feb 2026 07:54:42 GMT Pragma: - no-cache RequestId: - - 4d894917-64ac-442b-b100-caf2abcad581 + - da909ab2-52a8-470e-ae91-da10028b06d7 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -353,7 +323,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -364,15 +334,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:13:05 GMT + - Tue, 03 Feb 2026 07:54:43 GMT Pragma: - no-cache RequestId: - - ff63f877-74e6-4ab3-864e-608b5d7862bc + - eabfb25d-72f1-427d-9940-d640bb784754 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -400,23 +370,16 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": - "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1acecb3c-69d9-4014-96a8-36eaaf9b886e", - "type": "Dataflow", "displayName": "fabcli000001", "description": "Created - by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "b516ea4d-df90-41b9-b223-3744b36b4b8a", "type": "Dataflow", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -425,15 +388,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '420' + - '300' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:13:05 GMT + - Tue, 03 Feb 2026 07:54:44 GMT Pragma: - no-cache RequestId: - - a87500cb-37f6-4b3d-a48e-792462cf328e + - 3dc212d2-4c32-40f0-a328-cc206b1ba489 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -463,7 +426,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/1acecb3c-69d9-4014-96a8-36eaaf9b886e + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/b516ea4d-df90-41b9-b223-3744b36b4b8a response: body: string: '' @@ -479,11 +442,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:13:06 GMT + - Tue, 03 Feb 2026 07:54:44 GMT Pragma: - no-cache RequestId: - - 298c51c4-1699-4750-a30a-b6f53419771f + - a34f4c2b-9c29-4104-b920-5fa2fd39bc2f Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[DigitalTwinBuilder].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[DigitalTwinBuilder].yaml new file mode 100644 index 00000000..d39730ee --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[DigitalTwinBuilder].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": "b7945519-3184-48e4-8d42-8b7ee977816d", + "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: + - '2336' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 07:55:25 GMT + Pragma: + - no-cache + RequestId: + - 9a3d6c5c-ba73-45c4-ab37-751a1169250e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '330' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 07:55:26 GMT + Pragma: + - no-cache + RequestId: + - ee7db514-9d7a-4815-9b3c-5ec770fb85ed + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '330' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 07:55:27 GMT + Pragma: + - no-cache + RequestId: + - 75f6b30c-46f0-4cab-899d-30bbf55ba83b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b7945519-3184-48e4-8d42-8b7ee977816d/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 07:55:30 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/0cd7f2e0-630e-403c-92ef-13197f90ae57 + Pragma: + - no-cache + RequestId: + - 1201b24b-ef7e-43f6-949e-36c62625c8a9 + 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: + - 0cd7f2e0-630e-403c-92ef-13197f90ae57 + 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/0cd7f2e0-630e-403c-92ef-13197f90ae57 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T07:55:29.0122265", + "lastUpdatedTimeUtc": "2026-02-03T07:55:37.717943", "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 07:55:52 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/0cd7f2e0-630e-403c-92ef-13197f90ae57/result + Pragma: + - no-cache + RequestId: + - f1a8b397-2449-4a96-a972-c6870ed39b43 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 0cd7f2e0-630e-403c-92ef-13197f90ae57 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/0cd7f2e0-630e-403c-92ef-13197f90ae57/result + response: + body: + string: '{"id": "7530d6f9-3ad6-4811-833f-95444f16e551", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}' + 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 07:55:53 GMT + Pragma: + - no-cache + RequestId: + - 66578b11-a219-444f-ba8c-d83807bb3f0c + 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": "b7945519-3184-48e4-8d42-8b7ee977816d", + "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: + - '2336' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 07:55:54 GMT + Pragma: + - no-cache + RequestId: + - 7a626a10-d28d-4731-914f-f1b6dd2c0730 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "7530d6f9-3ad6-4811-833f-95444f16e551", + "type": "DigitalTwinBuilder", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "d738d906-9c5b-4849-b5dc-0e60dc06277b", "type": "DigitalTwinBuilderFlow", + "displayName": "fabcli000001OnDemand", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '499' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 07:55:55 GMT + Pragma: + - no-cache + RequestId: + - a4bc2cf5-1b74-43b2-b017-6756b9c1bd1c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b7945519-3184-48e4-8d42-8b7ee977816d", + "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: + - '2336' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 07:55:56 GMT + Pragma: + - no-cache + RequestId: + - 0d6f474c-8bcf-4e75-b599-5b24e115696c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "7530d6f9-3ad6-4811-833f-95444f16e551", + "type": "DigitalTwinBuilder", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "d738d906-9c5b-4849-b5dc-0e60dc06277b", "type": "DigitalTwinBuilderFlow", + "displayName": "fabcli000001OnDemand", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '499' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 07:55:57 GMT + Pragma: + - no-cache + RequestId: + - ae9506ff-2e4a-4c80-8c97-4bf606d14697 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b7945519-3184-48e4-8d42-8b7ee977816d/items/7530d6f9-3ad6-4811-833f-95444f16e551 + 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 07:55:58 GMT + Pragma: + - no-cache + RequestId: + - 7eeb71f4-2a89-49a2-910e-574ba6e463c0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_exists_success[Environment].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Environment].yaml index a079c654..38919fc6 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Environment].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Environment].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:52 GMT + - Tue, 03 Feb 2026 07:48:33 GMT Pragma: - no-cache RequestId: - - edd52e7b-1e11-450b-a30d-0c5b4ce89fef + - b661d367-9b8c-400f-9052-748faf2cbf00 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,16 +64,10 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "3b040332-b777-497c-8b40-272bcccf3953", - "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128120637", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": []}' headers: Access-Control-Expose-Headers: - RequestId @@ -82,15 +76,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '286' + - '32' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:54 GMT + - Tue, 03 Feb 2026 07:48:35 GMT Pragma: - no-cache RequestId: - - 08b34c51-a868-4fd8-8b0d-d6d049a6e1c4 + - 6d7dcbaa-236a-4257-90ba-3f94015c4711 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -118,16 +112,10 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "3b040332-b777-497c-8b40-272bcccf3953", - "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128120637", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": []}' headers: Access-Control-Expose-Headers: - RequestId @@ -136,15 +124,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '286' + - '32' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:54 GMT + - Tue, 03 Feb 2026 07:48:36 GMT Pragma: - no-cache RequestId: - - 5efd5dd4-e853-4294-a912-668a66f19e54 + - 997f7230-095b-412b-b271-b0145481fee3 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -175,12 +163,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/environments + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/environments response: body: - string: '{"id": "bdd5fe35-fe95-4b40-b72f-32f9550623c8", "type": "Environment", + string: '{"id": "c68aec1d-26f5-4182-b4cb-cda5eef954fd", "type": "Environment", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}' + "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId,ETag @@ -193,13 +181,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:56 GMT + - Tue, 03 Feb 2026 07:48:37 GMT ETag: - '""' Pragma: - no-cache RequestId: - - ec45a9d8-bec1-4921-9719-fab03ab6b61b + - d0920ebc-f988-4131-b620-ef67f2d440a0 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -231,7 +219,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -242,15 +230,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:56 GMT + - Tue, 03 Feb 2026 07:48:38 GMT Pragma: - no-cache RequestId: - - 6b793682-fa83-41d1-a383-3ee7e31cab41 + - 709321ad-3e4b-40df-aeef-cc9a1d6ec42e Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -278,18 +266,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "3b040332-b777-497c-8b40-272bcccf3953", - "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128120637", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "bdd5fe35-fe95-4b40-b72f-32f9550623c8", "type": "Environment", "displayName": - "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "c68aec1d-26f5-4182-b4cb-cda5eef954fd", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -298,15 +280,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '349' + - '180' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:58 GMT + - Tue, 03 Feb 2026 07:48:39 GMT Pragma: - no-cache RequestId: - - 5ac425e2-1c9c-41f4-b0e6-79cf54530207 + - bd93061b-07bf-418a-b0e0-b06426f31946 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -338,7 +320,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -349,15 +331,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:58 GMT + - Tue, 03 Feb 2026 07:48:39 GMT Pragma: - no-cache RequestId: - - cc0529ca-a4a8-4e7c-98b1-3e7ceaac4389 + - 4401ec87-9abe-4bb0-8d14-7de9dcbbdf6d Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -385,18 +367,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "3b040332-b777-497c-8b40-272bcccf3953", - "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128120637", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "bdd5fe35-fe95-4b40-b72f-32f9550623c8", "type": "Environment", "displayName": - "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "c68aec1d-26f5-4182-b4cb-cda5eef954fd", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -405,15 +381,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '349' + - '180' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:59 GMT + - Tue, 03 Feb 2026 07:48:41 GMT Pragma: - no-cache RequestId: - - 0427e77d-7be3-4800-8e2e-46e540c6c7e3 + - 0982d713-c9dd-44ca-881e-72d1be269b4d Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -443,7 +419,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/bdd5fe35-fe95-4b40-b72f-32f9550623c8 + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/c68aec1d-26f5-4182-b4cb-cda5eef954fd response: body: string: '' @@ -459,11 +435,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:06:59 GMT + - Tue, 03 Feb 2026 07:48:42 GMT Pragma: - no-cache RequestId: - - 1e52361f-c18b-4c19-9779-7feac50d0602 + - bcfc66d1-f005-4886-be0f-de8c5d54f994 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Eventhouse].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Eventhouse].yaml index 97232660..ea9291aa 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Eventhouse].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Eventhouse].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:06:59 GMT + - Tue, 03 Feb 2026 07:48:43 GMT Pragma: - no-cache RequestId: - - ef51d6d7-ce1f-4c62-a2b4-48115b86d6e3 + - acd8d7b9-117e-4321-bd26-3ba4eb78e633 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,16 +64,10 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "3b040332-b777-497c-8b40-272bcccf3953", - "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128120637", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": []}' headers: Access-Control-Expose-Headers: - RequestId @@ -82,15 +76,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '286' + - '32' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:01 GMT + - Tue, 03 Feb 2026 07:48:43 GMT Pragma: - no-cache RequestId: - - b3b6adb2-3053-43f4-b4a1-26ef63b47560 + - e9da6426-dc1f-4d50-87d9-55d0934fc468 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -118,16 +112,10 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "3b040332-b777-497c-8b40-272bcccf3953", - "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128120637", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": []}' headers: Access-Control-Expose-Headers: - RequestId @@ -136,15 +124,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '286' + - '32' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:01 GMT + - Tue, 03 Feb 2026 07:48:44 GMT Pragma: - no-cache RequestId: - - e0bb4cab-0d44-450c-812f-ac11548c746d + - ea69a3e0-9479-43f1-a692-806ad7db7ce9 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -175,12 +163,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/eventhouses + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/eventhouses response: body: - string: '{"id": "7ec43337-86a9-4bb0-a062-3ab44e231c8e", "type": "Eventhouse", + string: '{"id": "b7b160e8-9af3-4b82-80db-54f230d0663d", "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}' + "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId,ETag @@ -193,13 +181,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:06 GMT + - Tue, 03 Feb 2026 07:48:47 GMT ETag: - '""' Pragma: - no-cache RequestId: - - af9e8a30-e34e-4deb-be42-ee25e76dece5 + - 0a121884-8d01-4591-bee3-c5b3391b8319 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -231,7 +219,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -242,15 +230,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:06 GMT + - Tue, 03 Feb 2026 07:48:49 GMT Pragma: - no-cache RequestId: - - 90a3a353-8cd5-4c0c-8ebe-0c0886c2bb15 + - b5238a68-a6da-4081-bc7e-feb1dcc322fa Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -278,20 +266,14 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "3b040332-b777-497c-8b40-272bcccf3953", - "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128120637", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "7ec43337-86a9-4bb0-a062-3ab44e231c8e", "type": "Eventhouse", "displayName": - "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "d30e3d1c-de79-4c27-92f9-5592179ac2f2", "type": "KQLDatabase", "displayName": - "fabcli000001", "description": "fabcli000001", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b7b160e8-9af3-4b82-80db-54f230d0663d", "type": "Eventhouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "0c10a998-d428-4f91-8b11-1d4500c0fd1f", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -300,15 +282,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '386' + - '228' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:08 GMT + - Tue, 03 Feb 2026 07:48:49 GMT Pragma: - no-cache RequestId: - - 4189ff9b-734e-4014-93c2-fe0cdb5c6b5e + - 081093e7-eb41-45a1-a316-764e398fbda8 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -340,7 +322,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -351,15 +333,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:08 GMT + - Tue, 03 Feb 2026 07:48:50 GMT Pragma: - no-cache RequestId: - - 834e463e-6be7-49b9-a955-856858c51724 + - 3aee1fc5-444f-4572-aa94-bc1591a8175a Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -387,23 +369,14 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "7ec43337-86a9-4bb0-a062-3ab44e231c8e", - "type": "Eventhouse", "displayName": "fabcli000001", "description": "Created - by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "d30e3d1c-de79-4c27-92f9-5592179ac2f2", + string: '{"value": [{"id": "b7b160e8-9af3-4b82-80db-54f230d0663d", "type": "Eventhouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "0c10a998-d428-4f91-8b11-1d4500c0fd1f", "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", - "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -412,15 +385,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '426' + - '228' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:09 GMT + - Tue, 03 Feb 2026 07:48:51 GMT Pragma: - no-cache RequestId: - - 42405d45-2a9a-4c28-bcda-ef01c3ff8cbe + - 0622443c-df9c-4754-a842-d3633a0a3a86 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -450,7 +423,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/7ec43337-86a9-4bb0-a062-3ab44e231c8e + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/b7b160e8-9af3-4b82-80db-54f230d0663d response: body: string: '' @@ -466,11 +439,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:07:10 GMT + - Tue, 03 Feb 2026 07:48:51 GMT Pragma: - no-cache RequestId: - - 6a66f623-ed61-4fd7-9e54-0772ffde9f7a + - 2f858c6f-8bbd-4669-b66f-43ccdbb4c69f Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Eventstream].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Eventstream].yaml index da4a2e9d..9e5233a2 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Eventstream].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Eventstream].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:10 GMT + - Tue, 03 Feb 2026 07:48:52 GMT Pragma: - no-cache RequestId: - - 48680966-edd0-48db-b8d8-49c744474145 + - cd8fcd96-7e7a-4063-a97b-bd5ea450c660 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,19 +64,10 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": []}' headers: Access-Control-Expose-Headers: - RequestId @@ -85,15 +76,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '328' + - '32' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:11 GMT + - Tue, 03 Feb 2026 07:48:53 GMT Pragma: - no-cache RequestId: - - 9ec04fb7-31c3-450c-bdd3-ae1b20ab4875 + - 97722316-ebe2-4083-b9e5-de89b7759367 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -121,19 +112,10 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": []}' headers: Access-Control-Expose-Headers: - RequestId @@ -142,15 +124,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '328' + - '32' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:12 GMT + - Tue, 03 Feb 2026 07:48:54 GMT Pragma: - no-cache RequestId: - - 2b0052af-64a6-4681-a9b7-20abd291dfb4 + - 10550f5a-2d4a-4ba0-a0e0-11b4c2cfc398 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -181,7 +163,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/eventstreams + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/eventstreams response: body: string: 'null' @@ -197,15 +179,15 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:13 GMT + - Tue, 03 Feb 2026 07:48:55 GMT ETag: - '""' Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/9ed51826-0e09-4c62-8f47-018a3a0c44df + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/0f979093-45fd-4d46-9700-19222f51b598 Pragma: - no-cache RequestId: - - f0a35c71-a597-47f7-ba3a-dd73db31fe0c + - 2380427d-b3e1-45fb-90be-c9d08f567549 Retry-After: - '20' Strict-Transport-Security: @@ -219,7 +201,7 @@ interactions: request-redirected: - 'true' x-ms-operation-id: - - 9ed51826-0e09-4c62-8f47-018a3a0c44df + - 0f979093-45fd-4d46-9700-19222f51b598 status: code: 202 message: Accepted @@ -237,11 +219,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/9ed51826-0e09-4c62-8f47-018a3a0c44df + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/0f979093-45fd-4d46-9700-19222f51b598 response: body: - string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:07:13.6429339", - "lastUpdatedTimeUtc": "2026-01-28T12:07:16.5822732", "percentComplete": 100, + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T07:48:55.6835945", + "lastUpdatedTimeUtc": "2026-02-03T07:49:00.1380006", "percentComplete": 100, "error": null}' headers: Access-Control-Expose-Headers: @@ -251,17 +233,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '131' + - '132' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:35 GMT + - Tue, 03 Feb 2026 07:49:17 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/9ed51826-0e09-4c62-8f47-018a3a0c44df/result + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/0f979093-45fd-4d46-9700-19222f51b598/result Pragma: - no-cache RequestId: - - 717358bd-7659-4e7c-b1e8-50bb62e87df2 + - e5be16ec-c000-48ce-8ed1-ca9926c3e0c8 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -269,7 +251,7 @@ interactions: X-Frame-Options: - deny x-ms-operation-id: - - 9ed51826-0e09-4c62-8f47-018a3a0c44df + - 0f979093-45fd-4d46-9700-19222f51b598 status: code: 200 message: OK @@ -287,12 +269,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/9ed51826-0e09-4c62-8f47-018a3a0c44df/result + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/0f979093-45fd-4d46-9700-19222f51b598/result response: body: - string: '{"id": "323ab190-32ec-4583-a71f-ef3184c91eb8", "type": "Eventstream", + string: '{"id": "c26ff661-26a5-4632-9072-35357e25c25b", "type": "Eventstream", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}' + "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId @@ -303,11 +285,11 @@ interactions: Content-Type: - application/json Date: - - Wed, 28 Jan 2026 12:07:36 GMT + - Tue, 03 Feb 2026 07:49:18 GMT Pragma: - no-cache RequestId: - - bae34636-9b6d-4a8d-a57d-a11b29e7d2fd + - 54bbbc71-401a-4a15-b8e7-58e8a2ff6476 Strict-Transport-Security: - max-age=31536000; includeSubDomains Transfer-Encoding: @@ -337,7 +319,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -348,15 +330,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:37 GMT + - Tue, 03 Feb 2026 07:49:19 GMT Pragma: - no-cache RequestId: - - aec05f76-cce7-4030-9ae3-58bfd41db392 + - 03023ad2-8c9c-41b5-a4f0-da321e391336 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -384,21 +366,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "323ab190-32ec-4583-a71f-ef3184c91eb8", - "type": "Eventstream", "displayName": "fabcli000001", "description": "Created - by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "c26ff661-26a5-4632-9072-35357e25c25b", "type": "Eventstream", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -407,15 +380,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '390' + - '179' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:38 GMT + - Tue, 03 Feb 2026 07:49:19 GMT Pragma: - no-cache RequestId: - - 27fc83f2-7637-4ef2-83fc-40b07c40ec1a + - 681e7183-103e-425a-91d3-418a8f2a4474 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -447,7 +420,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -458,15 +431,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:38 GMT + - Tue, 03 Feb 2026 07:49:20 GMT Pragma: - no-cache RequestId: - - df1b0265-2d2b-4c32-b1f3-c169097d586c + - eda04c06-6514-4221-96c9-5de914de85cc Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -494,21 +467,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "323ab190-32ec-4583-a71f-ef3184c91eb8", - "type": "Eventstream", "displayName": "fabcli000001", "description": "Created - by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "c26ff661-26a5-4632-9072-35357e25c25b", "type": "Eventstream", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -517,15 +481,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '390' + - '179' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:39 GMT + - Tue, 03 Feb 2026 07:49:21 GMT Pragma: - no-cache RequestId: - - be6a0070-e23a-4a3c-ae15-17be936a7861 + - c5f91254-b728-4840-88a3-3b82449f118a Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -555,7 +519,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/323ab190-32ec-4583-a71f-ef3184c91eb8 + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/c26ff661-26a5-4632-9072-35357e25c25b response: body: string: '' @@ -571,11 +535,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:07:40 GMT + - Tue, 03 Feb 2026 07:49:21 GMT Pragma: - no-cache RequestId: - - 7c1f7201-b025-4ab6-a860-f185e6a56533 + - 8bb6cd6f-f92d-49a6-8f40-ff1740cc2aac Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[GraphQLApi].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[GraphQLApi].yaml index 975d7783..907cb41d 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[GraphQLApi].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[GraphQLApi].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:51 GMT + - Tue, 03 Feb 2026 07:54:28 GMT Pragma: - no-cache RequestId: - - 646723d4-b983-4a05-905f-bbc10637e6aa + - aa399002-0c1a-4687-80b2-a126bdeec513 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,21 +64,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": - "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -87,15 +77,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '363' + - '175' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:51 GMT + - Tue, 03 Feb 2026 07:54:28 GMT Pragma: - no-cache RequestId: - - 62bdc886-8d6f-49c3-9017-4d9258680a43 + - e1285de3-8975-485f-be96-13f3ba727dd6 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -123,21 +113,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": - "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -146,15 +126,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '363' + - '175' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:52 GMT + - Tue, 03 Feb 2026 07:54:29 GMT Pragma: - no-cache RequestId: - - c8fd545b-c45e-4cfa-bc9b-97d8e685afaa + - 0f56765f-b17b-4b36-9e0a-128743d4186b Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -185,12 +165,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/graphqlapis + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/graphqlapis response: body: - string: '{"id": "d31fa244-e8c2-455e-ab50-f4261bec83a3", "type": "GraphQLApi", + string: '{"id": "a4f4eced-1087-4978-ab31-02bf21af5654", "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}' + "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId,ETag @@ -203,13 +183,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:53 GMT + - Tue, 03 Feb 2026 07:54:31 GMT ETag: - '""' Pragma: - no-cache RequestId: - - 9def16eb-d167-4512-a2a6-f22a1d2d7300 + - 54498515-799b-41e4-93ba-ad3bd73f767e Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -241,7 +221,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -252,15 +232,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:54 GMT + - Tue, 03 Feb 2026 07:54:32 GMT Pragma: - no-cache RequestId: - - 0b0868b6-7bda-409c-a3df-d4818cdb260b + - 8cf19e29-ef00-4823-af56-add13db90871 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -288,23 +268,13 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": - "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "d31fa244-e8c2-455e-ab50-f4261bec83a3", - "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created - by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a4f4eced-1087-4978-ab31-02bf21af5654", "type": "GraphQLApi", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -313,15 +283,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '428' + - '244' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:55 GMT + - Tue, 03 Feb 2026 07:54:33 GMT Pragma: - no-cache RequestId: - - 19426341-ee5e-4c43-9c3f-b96c5eb23e5d + - df934b73-9f1e-45e7-b4e5-8578df45775d Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -353,7 +323,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -364,15 +334,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:56 GMT + - Tue, 03 Feb 2026 07:54:34 GMT Pragma: - no-cache RequestId: - - f8746d0e-f42b-4c77-affd-3065bb4a9c98 + - 93e70b0f-c5c1-4b00-9dc5-d400aa219ddc Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -400,23 +370,13 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": - "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "d31fa244-e8c2-455e-ab50-f4261bec83a3", - "type": "GraphQLApi", "displayName": "fabcli000001", "description": "Created - by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a4f4eced-1087-4978-ab31-02bf21af5654", "type": "GraphQLApi", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -425,15 +385,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '428' + - '244' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:57 GMT + - Tue, 03 Feb 2026 07:54:34 GMT Pragma: - no-cache RequestId: - - fac26774-bf9b-47f7-8a90-f4f8995e25a3 + - ff5a22e9-c9f6-4aaa-9ca0-2da94d2846eb Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -463,7 +423,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/d31fa244-e8c2-455e-ab50-f4261bec83a3 + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/a4f4eced-1087-4978-ab31-02bf21af5654 response: body: string: '' @@ -479,11 +439,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:12:58 GMT + - Tue, 03 Feb 2026 07:54:36 GMT Pragma: - no-cache RequestId: - - 25d892d3-95c7-40aa-a9d7-150b20b1045d + - b3b83e27-5d1a-4131-b10b-8a50aadb815d Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[GraphQuerySet].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[GraphQuerySet].yaml new file mode 100644 index 00000000..b25ce3b9 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[GraphQuerySet].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": "b7945519-3184-48e4-8d42-8b7ee977816d", + "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: + - '2336' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 07:55:58 GMT + Pragma: + - no-cache + RequestId: + - 8d4a8141-c70d-4616-99b5-c616a71cb140 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '399' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 07:56:00 GMT + Pragma: + - no-cache + RequestId: + - 025e7e84-9bfd-4080-8a05-2017c4ba8fc2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '399' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 07:56:00 GMT + Pragma: + - no-cache + RequestId: + - 8a73459b-a8ee-48fc-baad-516527900605 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b7945519-3184-48e4-8d42-8b7ee977816d/GraphQuerySets + response: + body: + string: '{"id": "dfed119e-56f1-45d4-8393-da5a3cf5853e", "type": "GraphQuerySet", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}' + 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 07:56:02 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - d679254d-992d-416e-b0e7-d30f81d00401 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b7945519-3184-48e4-8d42-8b7ee977816d", + "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: + - '2336' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 07:56:02 GMT + Pragma: + - no-cache + RequestId: + - 4b79541f-3d2b-4ccd-9bef-be43a17e4ff1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "dfed119e-56f1-45d4-8393-da5a3cf5853e", + "type": "GraphQuerySet", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '459' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 07:56:03 GMT + Pragma: + - no-cache + RequestId: + - 517caa08-fffc-4c7f-9e6b-8bacd0242c79 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b7945519-3184-48e4-8d42-8b7ee977816d", + "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: + - '2336' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 07:56:04 GMT + Pragma: + - no-cache + RequestId: + - 976d98a5-4fd5-4ff4-b734-9f0ec64f3238 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "39c996ce-6e23-4bb5-b6af-1b7db4e86822", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "48e61c44-b669-4e71-82f1-76be4fe2cdbd", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "dfed119e-56f1-45d4-8393-da5a3cf5853e", + "type": "GraphQuerySet", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '459' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 07:56:05 GMT + Pragma: + - no-cache + RequestId: + - 896e8073-b8d4-42db-aaae-d4225e0e26af + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b7945519-3184-48e4-8d42-8b7ee977816d/items/dfed119e-56f1-45d4-8393-da5a3cf5853e + 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 07:56:06 GMT + Pragma: + - no-cache + RequestId: + - 85ec4354-0669-47cd-ad83-f3a24be2cbc8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_exists_success[KQLDashboard].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[KQLDashboard].yaml index 691c64ce..d7738792 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[KQLDashboard].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[KQLDashboard].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:41 GMT + - Tue, 03 Feb 2026 07:49:22 GMT Pragma: - no-cache RequestId: - - 8d868b98-d6d9-4c3c-9140-a1b1fb15a81f + - f1dae235-6fb9-42fa-a744-e0c6238b9dd2 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,19 +64,10 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": []}' headers: Access-Control-Expose-Headers: - RequestId @@ -85,15 +76,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '328' + - '32' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:42 GMT + - Tue, 03 Feb 2026 07:49:22 GMT Pragma: - no-cache RequestId: - - 97884d3d-dae8-4d11-bc12-4e7e6cf57e50 + - 6cf02b23-6eae-46d1-ae3d-e5a9a6da1060 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -121,19 +112,10 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": []}' headers: Access-Control-Expose-Headers: - RequestId @@ -142,15 +124,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '328' + - '32' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:43 GMT + - Tue, 03 Feb 2026 07:49:23 GMT Pragma: - no-cache RequestId: - - b3dd3a7f-aeee-45c2-bf51-fa2f84700c0f + - 7f6de05e-13dc-465f-9957-e85036e62358 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -181,12 +163,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/kqlDashboards + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/kqlDashboards response: body: - string: '{"id": "d0cd4046-990d-4d93-973b-daac861c5e95", "type": "KQLDashboard", + string: '{"id": "55f64103-80cf-4417-9b07-015677052ce6", "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}' + "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId,ETag @@ -195,17 +177,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '171' + - '173' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:45 GMT + - Tue, 03 Feb 2026 07:49:25 GMT ETag: - '""' Pragma: - no-cache RequestId: - - 4b587591-f4a1-46ab-af9f-c6b965a6d429 + - 28b626e9-f841-4cc9-b88a-9e30a80cd0df Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -237,7 +219,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -248,15 +230,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:46 GMT + - Tue, 03 Feb 2026 07:49:26 GMT Pragma: - no-cache RequestId: - - 6b57ff43-1b42-47a6-a829-f1911b331b53 + - 1cd3ebc8-f24f-4985-8241-ca1d90eaff94 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -284,21 +266,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "d0cd4046-990d-4d93-973b-daac861c5e95", - "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created - by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "55f64103-80cf-4417-9b07-015677052ce6", "type": "KQLDashboard", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -307,15 +280,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '390' + - '183' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:46 GMT + - Tue, 03 Feb 2026 07:49:26 GMT Pragma: - no-cache RequestId: - - c50e9311-b616-4c6f-9d78-b91cd62928b0 + - 63be8120-27f6-4080-a227-0f6d650e4c38 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -347,7 +320,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -358,15 +331,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:47 GMT + - Tue, 03 Feb 2026 07:49:27 GMT Pragma: - no-cache RequestId: - - fea9d2f8-c5b9-4b83-82bc-d6f9355979fb + - d2528284-e5fb-459e-94ab-89c6b5fb88cf Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -394,21 +367,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "d0cd4046-990d-4d93-973b-daac861c5e95", - "type": "KQLDashboard", "displayName": "fabcli000001", "description": "Created - by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "55f64103-80cf-4417-9b07-015677052ce6", "type": "KQLDashboard", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -417,15 +381,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '390' + - '183' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:47 GMT + - Tue, 03 Feb 2026 07:49:27 GMT Pragma: - no-cache RequestId: - - 92f2746e-524e-4dc9-8665-0360dc0ea4f5 + - eeb2bc5f-6714-46c2-905f-c557b207cfd0 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -455,7 +419,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/d0cd4046-990d-4d93-973b-daac861c5e95 + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/55f64103-80cf-4417-9b07-015677052ce6 response: body: string: '' @@ -471,11 +435,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:07:48 GMT + - Tue, 03 Feb 2026 07:49:27 GMT Pragma: - no-cache RequestId: - - d91b7307-667a-43c9-8387-c23ff1c6ca2c + - 3d78512f-a683-4b9f-885b-51fd109cc24c Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[KQLQueryset].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[KQLQueryset].yaml index ccc795f0..8a214cf6 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[KQLQueryset].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[KQLQueryset].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:49 GMT + - Tue, 03 Feb 2026 07:49:29 GMT Pragma: - no-cache RequestId: - - 32cecf0d-0c06-44a9-aa51-c975172121da + - 651cbdcd-f6bd-4142-bc7a-55db40d3b5da Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,19 +64,10 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": []}' headers: Access-Control-Expose-Headers: - RequestId @@ -85,15 +76,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '328' + - '32' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:50 GMT + - Tue, 03 Feb 2026 07:49:29 GMT Pragma: - no-cache RequestId: - - 9420f777-9b71-46f3-b61c-68a207396387 + - 42c6b99b-77b9-4025-8ec4-8fae7fe1cc4b Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -121,19 +112,10 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": []}' headers: Access-Control-Expose-Headers: - RequestId @@ -142,15 +124,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '328' + - '32' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:51 GMT + - Tue, 03 Feb 2026 07:49:30 GMT Pragma: - no-cache RequestId: - - ba755c46-60bf-4e7c-9036-d2b31a528b98 + - 9ea0f42d-d32c-49d2-a191-8de42c6f0352 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -181,12 +163,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/kqlQuerysets + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/kqlQuerysets response: body: - string: '{"id": "e4d8cbed-c11f-49c6-bc19-fa618be1b012", "type": "KQLQueryset", + string: '{"id": "f1be0333-14ae-4ebe-8dde-b43c3a5158e5", "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}' + "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId,ETag @@ -195,17 +177,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '167' + - '169' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:52 GMT + - Tue, 03 Feb 2026 07:49:32 GMT ETag: - '""' Pragma: - no-cache RequestId: - - 4182fc45-51e4-40d5-8c53-a0f631175274 + - f6952f14-61a0-4da6-af94-4c09d065eadc Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -237,7 +219,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -248,15 +230,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:53 GMT + - Tue, 03 Feb 2026 07:49:33 GMT Pragma: - no-cache RequestId: - - 0323510f-5f11-4be6-9458-34fcad0fae0a + - 4988bd07-f177-4868-9c04-d02db5005d6d Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -284,21 +266,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "e4d8cbed-c11f-49c6-bc19-fa618be1b012", - "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created - by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "f1be0333-14ae-4ebe-8dde-b43c3a5158e5", "type": "KQLQueryset", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -307,15 +280,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '394' + - '180' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:54 GMT + - Tue, 03 Feb 2026 07:49:33 GMT Pragma: - no-cache RequestId: - - bd990753-04d4-48ae-bce1-3781ba81b0b0 + - eb4d005b-73af-4cc0-92c9-d1eaa63c551f Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -347,7 +320,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -358,15 +331,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:55 GMT + - Tue, 03 Feb 2026 07:49:34 GMT Pragma: - no-cache RequestId: - - b0edd04d-3b8a-4cea-a358-e252eb263bd3 + - b8e7eba8-1775-43f4-8f23-028b2f34d353 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -394,21 +367,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "e4d8cbed-c11f-49c6-bc19-fa618be1b012", - "type": "KQLQueryset", "displayName": "fabcli000001", "description": "Created - by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "f1be0333-14ae-4ebe-8dde-b43c3a5158e5", "type": "KQLQueryset", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -417,15 +381,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '394' + - '180' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:56 GMT + - Tue, 03 Feb 2026 07:49:35 GMT Pragma: - no-cache RequestId: - - 339d7cfe-c268-4edb-8c47-68e3762fd5b9 + - 2e3c7e68-c454-4021-b766-62da496dd38d Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -455,7 +419,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/e4d8cbed-c11f-49c6-bc19-fa618be1b012 + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/f1be0333-14ae-4ebe-8dde-b43c3a5158e5 response: body: string: '' @@ -471,11 +435,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:07:57 GMT + - Tue, 03 Feb 2026 07:49:37 GMT Pragma: - no-cache RequestId: - - d300ff11-f53c-4693-aa20-3982aef910a5 + - 6eabfb59-b1d0-4090-a759-12bd9f481d26 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Lakehouse].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Lakehouse].yaml index fb45d3af..e30f0054 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Lakehouse].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Lakehouse].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:57 GMT + - Tue, 03 Feb 2026 07:49:37 GMT Pragma: - no-cache RequestId: - - 8a5185b6-2b2a-49be-a7db-64aacc52631c + - 4bbd8988-18f3-4ae8-a4b3-fa2329765782 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,19 +64,10 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": []}' headers: Access-Control-Expose-Headers: - RequestId @@ -85,15 +76,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '328' + - '32' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:58 GMT + - Tue, 03 Feb 2026 07:49:38 GMT Pragma: - no-cache RequestId: - - ae9a0b65-17f4-4c3f-99bf-f792d178f449 + - 5847f834-1cbb-42a0-8bb5-c0aa7bdb7a35 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -121,19 +112,10 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": []}' headers: Access-Control-Expose-Headers: - RequestId @@ -142,15 +124,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '328' + - '32' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:07:59 GMT + - Tue, 03 Feb 2026 07:49:38 GMT Pragma: - no-cache RequestId: - - 7ed9fe61-c6be-46bc-bef1-cb74df16f46f + - df361199-f536-42d9-9f46-c44479f6831d Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -181,12 +163,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/lakehouses + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/lakehouses response: body: - string: '{"id": "39326df9-3976-4df1-adb2-4a6bddf70f30", "type": "Lakehouse", + string: '{"id": "b97c8213-9637-4821-a94b-9140c44ac6eb", "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}' + "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId,ETag @@ -199,13 +181,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:08:04 GMT + - Tue, 03 Feb 2026 07:49:42 GMT ETag: - '""' Pragma: - no-cache RequestId: - - fba7e20c-b5c5-4f04-8d62-719d5dfe5da8 + - 026fbc68-ac72-4116-94d9-f3333be7b390 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -237,7 +219,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -248,15 +230,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:08:05 GMT + - Tue, 03 Feb 2026 07:49:43 GMT Pragma: - no-cache RequestId: - - 6a20f94b-74ce-4de2-bd58-c4c4a91cfcf2 + - 044dff07-4a97-4e0d-9aac-006cfa5943f6 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -284,21 +266,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "39326df9-3976-4df1-adb2-4a6bddf70f30", - "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created - by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b97c8213-9637-4821-a94b-9140c44ac6eb", "type": "Lakehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -307,15 +280,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '383' + - '179' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:08:05 GMT + - Tue, 03 Feb 2026 07:49:43 GMT Pragma: - no-cache RequestId: - - 0fb42d09-ecd7-45ff-9c9b-093d8f01d11a + - b9d18bdc-b9af-4474-885e-583fd1c9bdf1 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -347,7 +320,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -358,15 +331,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:08:06 GMT + - Tue, 03 Feb 2026 07:49:45 GMT Pragma: - no-cache RequestId: - - badbd6ae-f352-4e0d-a915-2492b4e0ba01 + - c04aaf4b-2128-41b4-b21f-e15eb2c754fc Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -394,21 +367,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "39326df9-3976-4df1-adb2-4a6bddf70f30", - "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created - by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b97c8213-9637-4821-a94b-9140c44ac6eb", "type": "Lakehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -417,15 +381,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '383' + - '179' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:08:07 GMT + - Tue, 03 Feb 2026 07:49:45 GMT Pragma: - no-cache RequestId: - - 64e64971-599a-45b7-80eb-82160b16d880 + - d29470a0-a314-4d1e-97f9-3e7670d80a03 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -455,7 +419,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/39326df9-3976-4df1-adb2-4a6bddf70f30 + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/b97c8213-9637-4821-a94b-9140c44ac6eb response: body: string: '' @@ -471,11 +435,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:08:09 GMT + - Tue, 03 Feb 2026 07:49:46 GMT Pragma: - no-cache RequestId: - - f735fb02-c236-4c89-81ce-91a09a9dc4f4 + - 6644df2c-9f33-4e97-a8fd-08295c7cb45e Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[MLExperiment].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[MLExperiment].yaml index 7fc19378..1358daf2 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[MLExperiment].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[MLExperiment].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:08:09 GMT + - Tue, 03 Feb 2026 07:49:47 GMT Pragma: - no-cache RequestId: - - ecf6b6f0-e38c-4247-a0cb-e1c968df353e + - 5201f177-fa1e-4425-9001-6b2f7cb111f0 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,19 +64,10 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": []}' headers: Access-Control-Expose-Headers: - RequestId @@ -85,15 +76,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '328' + - '32' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:08:10 GMT + - Tue, 03 Feb 2026 07:49:48 GMT Pragma: - no-cache RequestId: - - b14cdf23-b99a-4bfa-81cd-1c116602d20d + - dc475c3b-8271-4551-86b2-c8162a88fb77 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -121,19 +112,10 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": []}' headers: Access-Control-Expose-Headers: - RequestId @@ -142,15 +124,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '328' + - '32' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:08:10 GMT + - Tue, 03 Feb 2026 07:49:49 GMT Pragma: - no-cache RequestId: - - a075817f-4577-455d-b8f5-d057788d2e5f + - 5da865a9-77ca-43dc-adec-3ba0cc5ec1d5 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -181,7 +163,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/mlExperiments + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/mlExperiments response: body: string: 'null' @@ -197,15 +179,15 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:08:12 GMT + - Tue, 03 Feb 2026 07:49:50 GMT ETag: - '""' Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/dd495f8c-5c43-41ff-b66d-32f9afed8a42 + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b12a0bbc-1e5a-4b57-9125-d8e7b74b59ce Pragma: - no-cache RequestId: - - 924b5b8b-9d2e-4ade-92a0-8562a2c7ffda + - 481ee22f-b613-484b-bced-6434f663dbc3 Retry-After: - '20' Strict-Transport-Security: @@ -219,7 +201,7 @@ interactions: request-redirected: - 'true' x-ms-operation-id: - - dd495f8c-5c43-41ff-b66d-32f9afed8a42 + - b12a0bbc-1e5a-4b57-9125-d8e7b74b59ce status: code: 202 message: Accepted @@ -237,11 +219,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/dd495f8c-5c43-41ff-b66d-32f9afed8a42 + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b12a0bbc-1e5a-4b57-9125-d8e7b74b59ce response: body: - string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:08:12.51763", - "lastUpdatedTimeUtc": "2026-01-28T12:08:13.5332901", "percentComplete": 100, + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T07:49:50.3080847", + "lastUpdatedTimeUtc": "2026-02-03T07:49:51.1686255", "percentComplete": 100, "error": null}' headers: Access-Control-Expose-Headers: @@ -251,17 +233,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '130' + - '131' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:08:34 GMT + - Tue, 03 Feb 2026 07:50:12 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/dd495f8c-5c43-41ff-b66d-32f9afed8a42/result + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b12a0bbc-1e5a-4b57-9125-d8e7b74b59ce/result Pragma: - no-cache RequestId: - - d91b3f1e-320f-4f93-b8c0-8b55a5d2658f + - 69687085-afce-4365-86f3-7b555972aa45 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -269,7 +251,7 @@ interactions: X-Frame-Options: - deny x-ms-operation-id: - - dd495f8c-5c43-41ff-b66d-32f9afed8a42 + - b12a0bbc-1e5a-4b57-9125-d8e7b74b59ce status: code: 200 message: OK @@ -287,12 +269,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/dd495f8c-5c43-41ff-b66d-32f9afed8a42/result + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b12a0bbc-1e5a-4b57-9125-d8e7b74b59ce/result response: body: - string: '{"id": "e16e8c1f-1c86-431c-b7f1-44e5314e4a4f", "type": "MLExperiment", + string: '{"id": "5f62cf0d-fa18-42b9-9968-e5b4df4d3efd", "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}' + "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId @@ -303,11 +285,11 @@ interactions: Content-Type: - application/json Date: - - Wed, 28 Jan 2026 12:08:35 GMT + - Tue, 03 Feb 2026 07:50:13 GMT Pragma: - no-cache RequestId: - - 95dd884d-5a81-4529-8eb5-ca88ebf19c15 + - 5c5f01b7-0279-48bd-8f09-f8ca10b1e4c4 Strict-Transport-Security: - max-age=31536000; includeSubDomains Transfer-Encoding: @@ -337,7 +319,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -348,15 +330,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:08:35 GMT + - Tue, 03 Feb 2026 07:50:14 GMT Pragma: - no-cache RequestId: - - 5bcc7d7e-a54f-4f09-8b69-93d5527d82d0 + - 15a72bd7-add4-4117-8981-016350114fc2 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -384,21 +366,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "e16e8c1f-1c86-431c-b7f1-44e5314e4a4f", - "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created - by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "5f62cf0d-fa18-42b9-9968-e5b4df4d3efd", "type": "MLExperiment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -407,15 +380,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '391' + - '183' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:08:37 GMT + - Tue, 03 Feb 2026 07:50:14 GMT Pragma: - no-cache RequestId: - - 7dbf98d7-88d6-48a0-97a5-44676f432d3a + - 2486401f-56c1-4625-a827-91c12b03bd7b Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -447,7 +420,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -458,15 +431,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:08:38 GMT + - Tue, 03 Feb 2026 07:50:15 GMT Pragma: - no-cache RequestId: - - e3c89b21-7406-4fd1-87bb-7d62131a0c6f + - 05525f12-fd7d-4e1d-b1a9-f646dec63c13 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -494,21 +467,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "e16e8c1f-1c86-431c-b7f1-44e5314e4a4f", - "type": "MLExperiment", "displayName": "fabcli000001", "description": "Created - by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "5f62cf0d-fa18-42b9-9968-e5b4df4d3efd", "type": "MLExperiment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -517,15 +481,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '391' + - '183' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:08:38 GMT + - Tue, 03 Feb 2026 07:50:16 GMT Pragma: - no-cache RequestId: - - e9161345-9917-4c20-8548-dda3da95d11d + - 0bcb1ef8-6c7b-4e65-8fc3-9e8c62cd80c6 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -555,7 +519,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/e16e8c1f-1c86-431c-b7f1-44e5314e4a4f + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/5f62cf0d-fa18-42b9-9968-e5b4df4d3efd response: body: string: '' @@ -571,11 +535,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:08:39 GMT + - Tue, 03 Feb 2026 07:50:17 GMT Pragma: - no-cache RequestId: - - e84c6d1c-b991-4277-a958-15e6cff2db61 + - 65520e86-4a2d-40de-b14c-643d6ced9831 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[MLModel].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[MLModel].yaml index 4e8a9949..818cf1be 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[MLModel].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[MLModel].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:08:40 GMT + - Tue, 03 Feb 2026 07:50:18 GMT Pragma: - no-cache RequestId: - - b5e0f797-821e-4a60-93b8-627ba612f4a1 + - 30566cc1-f472-4955-aaba-d1a5a1400221 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,19 +64,10 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": []}' headers: Access-Control-Expose-Headers: - RequestId @@ -85,15 +76,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '328' + - '32' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:08:41 GMT + - Tue, 03 Feb 2026 07:50:19 GMT Pragma: - no-cache RequestId: - - 3c400500-a463-4a4b-bb86-9c42763e27a0 + - a68b836d-67cd-4795-9515-3a489c0808b4 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -121,19 +112,10 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": []}' headers: Access-Control-Expose-Headers: - RequestId @@ -142,15 +124,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '328' + - '32' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:08:42 GMT + - Tue, 03 Feb 2026 07:50:19 GMT Pragma: - no-cache RequestId: - - 258d278c-6d64-4069-a537-5277db858a3c + - e6114659-c136-4170-998a-7ce10684944a Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -181,7 +163,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/mlModels + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/mlModels response: body: string: 'null' @@ -197,15 +179,15 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:08:42 GMT + - Tue, 03 Feb 2026 07:50:21 GMT ETag: - '""' Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/17d519db-5f9b-43f3-9a28-472b603205dd + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/d1015597-909d-469c-b06c-7362c50dddd2 Pragma: - no-cache RequestId: - - 3b011543-7ffa-4e93-9e24-da7647c48c33 + - 57fc0e94-c2fa-45a4-893f-ff0fe8f51de4 Retry-After: - '20' Strict-Transport-Security: @@ -219,7 +201,7 @@ interactions: request-redirected: - 'true' x-ms-operation-id: - - 17d519db-5f9b-43f3-9a28-472b603205dd + - d1015597-909d-469c-b06c-7362c50dddd2 status: code: 202 message: Accepted @@ -237,11 +219,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/17d519db-5f9b-43f3-9a28-472b603205dd + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/d1015597-909d-469c-b06c-7362c50dddd2 response: body: - string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:08:43.4468279", - "lastUpdatedTimeUtc": "2026-01-28T12:08:43.963184", "percentComplete": 100, + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T07:50:21.3184627", + "lastUpdatedTimeUtc": "2026-02-03T07:50:21.8184485", "percentComplete": 100, "error": null}' headers: Access-Control-Expose-Headers: @@ -255,13 +237,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:09:05 GMT + - Tue, 03 Feb 2026 07:50:43 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/17d519db-5f9b-43f3-9a28-472b603205dd/result + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/d1015597-909d-469c-b06c-7362c50dddd2/result Pragma: - no-cache RequestId: - - 04147655-ea34-4f64-a3e6-980fccd82e34 + - 8eb7755e-e5ee-41c5-a47d-78884e7aaac8 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -269,7 +251,7 @@ interactions: X-Frame-Options: - deny x-ms-operation-id: - - 17d519db-5f9b-43f3-9a28-472b603205dd + - d1015597-909d-469c-b06c-7362c50dddd2 status: code: 200 message: OK @@ -287,11 +269,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/17d519db-5f9b-43f3-9a28-472b603205dd/result + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/d1015597-909d-469c-b06c-7362c50dddd2/result response: body: - string: '{"id": "4983bd1e-e351-4279-88ca-628de4871384", "type": "MLModel", "displayName": - "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}' + string: '{"id": "9c89180a-5d36-4efb-816a-4c4161205732", "type": "MLModel", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId @@ -302,11 +284,11 @@ interactions: Content-Type: - application/json Date: - - Wed, 28 Jan 2026 12:09:05 GMT + - Tue, 03 Feb 2026 07:50:44 GMT Pragma: - no-cache RequestId: - - 7b6bb832-2342-4670-a117-bf108432ef55 + - e471b7de-a03b-4e48-946e-ff59109d8ae6 Strict-Transport-Security: - max-age=31536000; includeSubDomains Transfer-Encoding: @@ -336,7 +318,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -347,15 +329,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:09:07 GMT + - Tue, 03 Feb 2026 07:50:45 GMT Pragma: - no-cache RequestId: - - bb6c1e59-89e8-43be-9be7-3f3384dc349a + - 52d434b6-1500-410b-bc7c-54bafc594701 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -383,21 +365,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "4983bd1e-e351-4279-88ca-628de4871384", - "type": "MLModel", "displayName": "fabcli000001", "description": "Created - by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "9c89180a-5d36-4efb-816a-4c4161205732", "type": "MLModel", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -406,15 +379,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '383' + - '177' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:09:07 GMT + - Tue, 03 Feb 2026 07:50:46 GMT Pragma: - no-cache RequestId: - - f48bc75d-7f91-452b-9fc9-2e688d84cb2d + - 7943fdb2-8613-4f65-a524-a2a6a6d7ddc1 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -446,7 +419,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -457,15 +430,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:09:08 GMT + - Tue, 03 Feb 2026 07:50:47 GMT Pragma: - no-cache RequestId: - - 6db2b094-0822-4419-9333-a1ff82a72d07 + - f604e460-970e-4f04-aee1-dc0e86ea641b Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -493,21 +466,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "4983bd1e-e351-4279-88ca-628de4871384", - "type": "MLModel", "displayName": "fabcli000001", "description": "Created - by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "9c89180a-5d36-4efb-816a-4c4161205732", "type": "MLModel", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -516,15 +480,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '383' + - '177' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:09:09 GMT + - Tue, 03 Feb 2026 07:50:47 GMT Pragma: - no-cache RequestId: - - 3b001a3d-0110-478e-b1b5-270b92d88a4a + - c1bff69f-42f0-4262-b4e3-9f0770e581d8 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -554,7 +518,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/4983bd1e-e351-4279-88ca-628de4871384 + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/9c89180a-5d36-4efb-816a-4c4161205732 response: body: string: '' @@ -570,11 +534,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:09:10 GMT + - Tue, 03 Feb 2026 07:50:49 GMT Pragma: - no-cache RequestId: - - 6e831b2c-a826-4c68-b0a8-2242d55778e2 + - cd9dc233-23d2-46b3-9815-3a9e9dda46cc Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[MirroredDatabase].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[MirroredDatabase].yaml index 86724841..7e54c5e2 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[MirroredDatabase].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[MirroredDatabase].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:09:11 GMT + - Tue, 03 Feb 2026 07:50:49 GMT Pragma: - no-cache RequestId: - - 200e5461-7c9a-4d76-b532-c9b00196be59 + - 45323343-1045-4f85-807d-4008803cfd1d Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,19 +64,10 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": []}' headers: Access-Control-Expose-Headers: - RequestId @@ -85,15 +76,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '328' + - '32' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:09:12 GMT + - Tue, 03 Feb 2026 07:50:50 GMT Pragma: - no-cache RequestId: - - 7bd3337f-e616-4d10-8c20-69fd0bcc7978 + - 9c34cff8-43d8-4a2a-913a-3a1d087f4e3f Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -121,19 +112,10 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": []}' headers: Access-Control-Expose-Headers: - RequestId @@ -142,15 +124,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '328' + - '32' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:09:13 GMT + - Tue, 03 Feb 2026 07:50:50 GMT Pragma: - no-cache RequestId: - - 42581add-70d2-420f-ba13-5cbc0452188e + - e9d85cc6-d58e-45e8-842c-c00cbbc2567c Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -183,12 +165,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/mirroredDatabases + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/mirroredDatabases response: body: - string: '{"id": "c766e0cd-8a4d-432c-9a9f-903d72a23c9e", "type": "MirroredDatabase", + string: '{"id": "8dcf7c4e-84ce-4e5a-8fdc-e3f37abd1ead", "type": "MirroredDatabase", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}' + "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId,ETag @@ -197,17 +179,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '170' + - '168' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:09:15 GMT + - Tue, 03 Feb 2026 07:50:53 GMT ETag: - '""' Pragma: - no-cache RequestId: - - 864d7ed4-622d-4133-9bf4-b73c1ea46842 + - 351471df-1a5b-4348-bc5d-9561454ae9e8 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -239,7 +221,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -250,15 +232,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:09:16 GMT + - Tue, 03 Feb 2026 07:50:54 GMT Pragma: - no-cache RequestId: - - b6fcc487-78cf-4a58-a2e2-c22dd3b3be5b + - 8c56f790-261a-4724-a1d2-660789e72d79 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -286,21 +268,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "c766e0cd-8a4d-432c-9a9f-903d72a23c9e", - "type": "MirroredDatabase", "displayName": "fabcli000001", "description": - "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "8dcf7c4e-84ce-4e5a-8fdc-e3f37abd1ead", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -309,15 +282,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '392' + - '181' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:09:16 GMT + - Tue, 03 Feb 2026 07:50:55 GMT Pragma: - no-cache RequestId: - - 9b9fcd68-3bb5-48b5-b0d4-bde938bb4352 + - bd973812-900d-40d7-aa11-91cacfe0ad62 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -349,7 +322,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -360,15 +333,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:09:17 GMT + - Tue, 03 Feb 2026 07:50:56 GMT Pragma: - no-cache RequestId: - - 7dcdffa9-2298-4ebd-82d6-099eef0d0f2c + - 20c9b20a-1925-4394-9c0e-6b71e240a41e Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -396,21 +369,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "c766e0cd-8a4d-432c-9a9f-903d72a23c9e", - "type": "MirroredDatabase", "displayName": "fabcli000001", "description": - "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "8dcf7c4e-84ce-4e5a-8fdc-e3f37abd1ead", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -419,15 +383,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '392' + - '181' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:09:18 GMT + - Tue, 03 Feb 2026 07:50:57 GMT Pragma: - no-cache RequestId: - - 9183d4a5-8db3-4269-aed2-fc6a5b922fca + - 2d0270ba-bc3f-45ea-98f7-7bfd51e98340 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -457,7 +421,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/c766e0cd-8a4d-432c-9a9f-903d72a23c9e + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/8dcf7c4e-84ce-4e5a-8fdc-e3f37abd1ead response: body: string: '' @@ -473,11 +437,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:09:18 GMT + - Tue, 03 Feb 2026 07:50:57 GMT Pragma: - no-cache RequestId: - - 47b1e937-5861-415b-bc44-1728a00e060a + - 819f920a-7c3c-4f40-b0a5-39a22a98ee32 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Notebook].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Notebook].yaml index 7ff2fc60..6f18645a 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Notebook].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Notebook].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:09:19 GMT + - Tue, 03 Feb 2026 07:50:59 GMT Pragma: - no-cache RequestId: - - 0aacc751-0cde-462a-a349-71021e1ba69f + - 2ad9e5ec-8a65-4543-8452-5e8047e0057b Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,19 +64,10 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": []}' headers: Access-Control-Expose-Headers: - RequestId @@ -85,15 +76,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '328' + - '32' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:09:20 GMT + - Tue, 03 Feb 2026 07:51:00 GMT Pragma: - no-cache RequestId: - - edd1263b-3de1-430d-a351-a36f8a3e2e48 + - 2bc8916f-f51d-415e-a537-9ddb0ef2a53c Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -121,19 +112,10 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": []}' headers: Access-Control-Expose-Headers: - RequestId @@ -142,15 +124,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '328' + - '32' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:09:20 GMT + - Tue, 03 Feb 2026 07:51:00 GMT Pragma: - no-cache RequestId: - - a2ae32e7-857e-4063-925f-9ad383d70339 + - e2994236-c697-4c5b-9b17-140f57577f06 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -183,7 +165,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/notebooks + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/notebooks response: body: string: 'null' @@ -199,15 +181,15 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:09:23 GMT + - Tue, 03 Feb 2026 07:51:01 GMT ETag: - '""' Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/aa105289-c4cb-47ef-b802-4bee1ddd33ef + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/3decddda-d213-4fb3-bff3-1f42f0ec32f1 Pragma: - no-cache RequestId: - - 519f8d33-940f-47ac-af1d-8da4c7e01780 + - e0a2636b-7f4d-4843-904a-de006c249832 Retry-After: - '20' Strict-Transport-Security: @@ -221,7 +203,7 @@ interactions: request-redirected: - 'true' x-ms-operation-id: - - aa105289-c4cb-47ef-b802-4bee1ddd33ef + - 3decddda-d213-4fb3-bff3-1f42f0ec32f1 status: code: 202 message: Accepted @@ -239,11 +221,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/aa105289-c4cb-47ef-b802-4bee1ddd33ef + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/3decddda-d213-4fb3-bff3-1f42f0ec32f1 response: body: - string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:09:22.7072171", - "lastUpdatedTimeUtc": "2026-01-28T12:09:24.1140015", "percentComplete": 100, + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T07:51:01.8748752", + "lastUpdatedTimeUtc": "2026-02-03T07:51:03.234263", "percentComplete": 100, "error": null}' headers: Access-Control-Expose-Headers: @@ -257,13 +239,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:09:44 GMT + - Tue, 03 Feb 2026 07:51:24 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/aa105289-c4cb-47ef-b802-4bee1ddd33ef/result + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/3decddda-d213-4fb3-bff3-1f42f0ec32f1/result Pragma: - no-cache RequestId: - - 6fd6fae0-02b3-4a08-84a4-233b42640550 + - 02763369-c096-4822-9760-cf8e65d44ea9 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -271,7 +253,7 @@ interactions: X-Frame-Options: - deny x-ms-operation-id: - - aa105289-c4cb-47ef-b802-4bee1ddd33ef + - 3decddda-d213-4fb3-bff3-1f42f0ec32f1 status: code: 200 message: OK @@ -289,12 +271,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/aa105289-c4cb-47ef-b802-4bee1ddd33ef/result + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/3decddda-d213-4fb3-bff3-1f42f0ec32f1/result response: body: - string: '{"id": "bda4af07-0877-4d61-b4c0-6d80eba85a33", "type": "Notebook", + string: '{"id": "c89a77f4-c1f2-4f9b-83c8-e28744340d33", "type": "Notebook", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}' + "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId @@ -305,11 +287,11 @@ interactions: Content-Type: - application/json Date: - - Wed, 28 Jan 2026 12:09:45 GMT + - Tue, 03 Feb 2026 07:51:25 GMT Pragma: - no-cache RequestId: - - 706cddcc-9709-4f85-bc16-34439281a89b + - c5245d05-8c28-4dc1-b5ef-5050bda4175e Strict-Transport-Security: - max-age=31536000; includeSubDomains Transfer-Encoding: @@ -339,7 +321,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -350,15 +332,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:09:46 GMT + - Tue, 03 Feb 2026 07:51:25 GMT Pragma: - no-cache RequestId: - - d081e26e-b0ab-4573-9663-616a90b77aa4 + - 6e1db967-df12-4d0e-994d-320b2f4bc39a Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -386,21 +368,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "bda4af07-0877-4d61-b4c0-6d80eba85a33", - "type": "Notebook", "displayName": "fabcli000001", "description": "Created - by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "c89a77f4-c1f2-4f9b-83c8-e28744340d33", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -409,15 +382,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '386' + - '178' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:09:47 GMT + - Tue, 03 Feb 2026 07:51:26 GMT Pragma: - no-cache RequestId: - - 85b7c323-6699-4d58-aef2-99d688504b6b + - ef1579a2-3a54-4023-abba-e2aa694a2b7d Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -449,7 +422,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -460,15 +433,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:09:47 GMT + - Tue, 03 Feb 2026 07:51:27 GMT Pragma: - no-cache RequestId: - - 182443a8-09bc-49d9-b41c-cc84a3865dfa + - e5f1cc26-be07-407d-8c9f-2a8d7bde5bff Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -496,21 +469,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "bda4af07-0877-4d61-b4c0-6d80eba85a33", - "type": "Notebook", "displayName": "fabcli000001", "description": "Created - by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "c89a77f4-c1f2-4f9b-83c8-e28744340d33", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -519,15 +483,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '386' + - '178' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:09:48 GMT + - Tue, 03 Feb 2026 07:51:28 GMT Pragma: - no-cache RequestId: - - 358eb71a-c617-4689-b266-30139a71835f + - d95dd360-20e4-451e-ae5f-d8562b673d89 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -557,7 +521,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/bda4af07-0877-4d61-b4c0-6d80eba85a33 + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/c89a77f4-c1f2-4f9b-83c8-e28744340d33 response: body: string: '' @@ -573,11 +537,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:09:49 GMT + - Tue, 03 Feb 2026 07:51:29 GMT Pragma: - no-cache RequestId: - - b8bb40ae-1362-44e9-970a-000d5173e60f + - 3a0ad69b-85c0-4704-acfa-f5277c3bd173 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Reflex].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Reflex].yaml index 6fd46081..04ccf80a 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Reflex].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Reflex].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:09:50 GMT + - Tue, 03 Feb 2026 07:51:30 GMT Pragma: - no-cache RequestId: - - 058c0f12-7e3e-4987-96b1-d96f5414611e + - d02932a7-4327-46b4-a353-c1b193690d46 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,19 +64,10 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": []}' headers: Access-Control-Expose-Headers: - RequestId @@ -85,15 +76,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '328' + - '32' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:09:51 GMT + - Tue, 03 Feb 2026 07:51:31 GMT Pragma: - no-cache RequestId: - - 4881316f-ba2b-4673-8180-3b4e7f4a9382 + - 1f40a50a-20de-4aae-843b-fa6ddd960d43 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -121,19 +112,10 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": []}' headers: Access-Control-Expose-Headers: - RequestId @@ -142,15 +124,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '328' + - '32' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:09:51 GMT + - Tue, 03 Feb 2026 07:51:32 GMT Pragma: - no-cache RequestId: - - 2c97a96f-e530-422a-9d59-64905db3345e + - 04885f89-2f77-4b26-81c9-63843de89a66 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -181,11 +163,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/reflexes + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/reflexes response: body: - string: '{"id": "e6e79f5b-383c-4045-a730-309dd2c29f9b", "type": "Reflex", "displayName": - "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}' + string: '{"id": "a210925f-617c-4bad-8f92-06189caead38", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId,ETag @@ -198,13 +180,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:09:53 GMT + - Tue, 03 Feb 2026 07:51:34 GMT ETag: - '""' Pragma: - no-cache RequestId: - - 5f58342f-eb21-4256-98c9-74714fb11856 + - 1595f1e6-6878-44ef-886e-6c5d320317b2 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -236,7 +218,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -247,15 +229,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:09:54 GMT + - Tue, 03 Feb 2026 07:51:35 GMT Pragma: - no-cache RequestId: - - 1c79da8e-f812-445c-b97d-754dcd8cf27e + - e0e6b272-2cd7-4f07-a590-7f20ef1dd8f2 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -283,21 +265,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "e6e79f5b-383c-4045-a730-309dd2c29f9b", - "type": "Reflex", "displayName": "fabcli000001", "description": "Created by - fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "a210925f-617c-4bad-8f92-06189caead38", "type": "Reflex", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -306,15 +279,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '386' + - '178' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:09:55 GMT + - Tue, 03 Feb 2026 07:51:36 GMT Pragma: - no-cache RequestId: - - 456c6bfe-12f9-42eb-b0c5-72cbf7eecee8 + - 204b7c25-48d3-478e-a664-1953b2a8ea40 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -346,7 +319,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -357,15 +330,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:09:55 GMT + - Tue, 03 Feb 2026 07:51:36 GMT Pragma: - no-cache RequestId: - - 7f87a65c-d8da-43c6-9a43-1f8feb807fb3 + - 00eb06d0-38a5-42d1-86cf-49f999c06378 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -393,21 +366,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "e6e79f5b-383c-4045-a730-309dd2c29f9b", - "type": "Reflex", "displayName": "fabcli000001", "description": "Created by - fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "a210925f-617c-4bad-8f92-06189caead38", "type": "Reflex", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -416,15 +380,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '386' + - '178' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:09:56 GMT + - Tue, 03 Feb 2026 07:51:37 GMT Pragma: - no-cache RequestId: - - 0a0eb2bc-0253-4f84-9fd4-f803bee91015 + - fb49558d-bb8d-4809-8372-56a8cd012ea0 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -454,7 +418,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/e6e79f5b-383c-4045-a730-309dd2c29f9b + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/a210925f-617c-4bad-8f92-06189caead38 response: body: string: '' @@ -470,11 +434,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:09:58 GMT + - Tue, 03 Feb 2026 07:51:37 GMT Pragma: - no-cache RequestId: - - 44757d24-17e9-41f4-ac1d-87b9907a2a80 + - 74de3e1b-21aa-4a56-9f6f-4a8700c51709 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Report].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Report].yaml index a789c7a9..03822b92 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Report].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Report].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:09:59 GMT + - Tue, 03 Feb 2026 07:51:38 GMT Pragma: - no-cache RequestId: - - 90d5a4ea-7fbd-48aa-8352-df73c9f06aa7 + - 0ea84f74-e866-4d5a-96d2-5c6ac50706ae Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,19 +64,10 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": []}' headers: Access-Control-Expose-Headers: - RequestId @@ -85,15 +76,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '328' + - '32' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:09:59 GMT + - Tue, 03 Feb 2026 07:51:38 GMT Pragma: - no-cache RequestId: - - 73de82b8-fdd0-4ce8-91ca-7a3a94b10625 + - 296a700c-2a0f-420a-b95a-593b9d4df118 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -121,19 +112,10 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": []}' headers: Access-Control-Expose-Headers: - RequestId @@ -142,15 +124,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '328' + - '32' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:10:00 GMT + - Tue, 03 Feb 2026 07:51:40 GMT Pragma: - no-cache RequestId: - - 0a7028dc-a6fb-4c5c-9b94-950802199223 + - 0b3b4dbd-f7ed-410e-9d20-9cac56bdba23 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -189,7 +171,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/semanticModels + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/semanticModels response: body: string: 'null' @@ -205,13 +187,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:10:01 GMT + - Tue, 03 Feb 2026 07:51:41 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/1af93ce8-db3e-49e4-aae5-b3fb189b1a87 + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/2ff9b8da-299b-4b49-96c7-200bf9121493 Pragma: - no-cache RequestId: - - 279238b9-6dd8-41d1-b5c2-40e17c372edd + - b6f853d8-9429-4129-b0d5-7d7cfc250a15 Retry-After: - '20' Strict-Transport-Security: @@ -225,7 +207,7 @@ interactions: request-redirected: - 'true' x-ms-operation-id: - - 1af93ce8-db3e-49e4-aae5-b3fb189b1a87 + - 2ff9b8da-299b-4b49-96c7-200bf9121493 status: code: 202 message: Accepted @@ -243,11 +225,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/1af93ce8-db3e-49e4-aae5-b3fb189b1a87 + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/2ff9b8da-299b-4b49-96c7-200bf9121493 response: body: - string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:10:02.1661727", - "lastUpdatedTimeUtc": "2026-01-28T12:10:12.9507309", "percentComplete": 100, + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T07:51:41.4602099", + "lastUpdatedTimeUtc": "2026-02-03T07:51:52.2905203", "percentComplete": 100, "error": null}' headers: Access-Control-Expose-Headers: @@ -261,13 +243,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:10:23 GMT + - Tue, 03 Feb 2026 07:52:03 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/1af93ce8-db3e-49e4-aae5-b3fb189b1a87/result + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/2ff9b8da-299b-4b49-96c7-200bf9121493/result Pragma: - no-cache RequestId: - - be746a94-495c-4855-9a84-9522b7d85cca + - 1dc21f65-9386-4103-a3f1-46256c9e7597 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -275,7 +257,7 @@ interactions: X-Frame-Options: - deny x-ms-operation-id: - - 1af93ce8-db3e-49e4-aae5-b3fb189b1a87 + - 2ff9b8da-299b-4b49-96c7-200bf9121493 status: code: 200 message: OK @@ -293,11 +275,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/1af93ce8-db3e-49e4-aae5-b3fb189b1a87/result + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/2ff9b8da-299b-4b49-96c7-200bf9121493/result response: body: - string: '{"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}' + string: '{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId @@ -308,11 +290,11 @@ interactions: Content-Type: - application/json Date: - - Wed, 28 Jan 2026 12:10:24 GMT + - Tue, 03 Feb 2026 07:52:04 GMT Pragma: - no-cache RequestId: - - 30ad2550-30ee-411b-b4b3-356cf4f07cfe + - a6b3b176-02a1-4d93-8c32-563e854592f3 Strict-Transport-Security: - max-age=31536000; includeSubDomains Transfer-Encoding: @@ -328,7 +310,7 @@ interactions: body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": "Report", "folderId": null, "definition": {"parts": [{"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIlJlcG9ydCIsCiAgICAiZGlzcGxheU5hbWUiOiAiQmxhbmsiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", - "payloadType": "InlineBase64"}, {"path": "definition.pbir", "payload": "eyJ2ZXJzaW9uIjogIjQuMCIsICJkYXRhc2V0UmVmZXJlbmNlIjogeyJieVBhdGgiOiBudWxsLCAiYnlDb25uZWN0aW9uIjogeyJjb25uZWN0aW9uU3RyaW5nIjogIkRhdGEgU291cmNlPXBvd2VyYmk6Ly9hcGkucG93ZXJiaS5jb20vdjEuMC9teW9yZy9ta2RpcjtJbml0aWFsIENhdGFsb2c9cjM7SW50ZWdyYXRlZCBTZWN1cml0eT1DbGFpbXNUb2tlbiIsICJwYmlTZXJ2aWNlTW9kZWxJZCI6IG51bGwsICJwYmlNb2RlbFZpcnR1YWxTZXJ2ZXJOYW1lIjogInNvYmVfd293dmlydHVhbHNlcnZlciIsICJwYmlNb2RlbERhdGFiYXNlTmFtZSI6ICIyZGYzODY2Ny0zODU4LTQ5ODItYmFhMS1jYzhlYzg1MTM3MGIiLCAibmFtZSI6ICJFbnRpdHlEYXRhU291cmNlIiwgImNvbm5lY3Rpb25UeXBlIjogInBiaVNlcnZpY2VYbWxhU3R5bGVMaXZlIn19fQ==", + "payloadType": "InlineBase64"}, {"path": "definition.pbir", "payload": "eyJ2ZXJzaW9uIjogIjQuMCIsICJkYXRhc2V0UmVmZXJlbmNlIjogeyJieVBhdGgiOiBudWxsLCAiYnlDb25uZWN0aW9uIjogeyJjb25uZWN0aW9uU3RyaW5nIjogIkRhdGEgU291cmNlPXBvd2VyYmk6Ly9hcGkucG93ZXJiaS5jb20vdjEuMC9teW9yZy9ta2RpcjtJbml0aWFsIENhdGFsb2c9cjM7SW50ZWdyYXRlZCBTZWN1cml0eT1DbGFpbXNUb2tlbiIsICJwYmlTZXJ2aWNlTW9kZWxJZCI6IG51bGwsICJwYmlNb2RlbFZpcnR1YWxTZXJ2ZXJOYW1lIjogInNvYmVfd293dmlydHVhbHNlcnZlciIsICJwYmlNb2RlbERhdGFiYXNlTmFtZSI6ICJiNGI0OGIxMy1jMTYzLTQ0ZjktYmE1Ny00YzFlM2M3MzM1OTAiLCAibmFtZSI6ICJFbnRpdHlEYXRhU291cmNlIiwgImNvbm5lY3Rpb25UeXBlIjogInBiaVNlcnZpY2VYbWxhU3R5bGVMaXZlIn19fQ==", "payloadType": "InlineBase64"}, {"path": "definition/report.json", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL3JlcG9ydC9kZWZpbml0aW9uL3JlcG9ydC8xLjIuMC9zY2hlbWEuanNvbiIsCiAgInRoZW1lQ29sbGVjdGlvbiI6IHsKICAgICJiYXNlVGhlbWUiOiB7CiAgICAgICJuYW1lIjogIkNZMjRTVTEwIiwKICAgICAgInJlcG9ydFZlcnNpb25BdEltcG9ydCI6ICI1LjYxIiwKICAgICAgInR5cGUiOiAiU2hhcmVkUmVzb3VyY2VzIgogICAgfQogIH0sCiAgImxheW91dE9wdGltaXphdGlvbiI6ICJOb25lIiwKICAib2JqZWN0cyI6IHsKICAgICJzZWN0aW9uIjogWwogICAgICB7CiAgICAgICAgInByb3BlcnRpZXMiOiB7CiAgICAgICAgICAidmVydGljYWxBbGlnbm1lbnQiOiB7CiAgICAgICAgICAgICJleHByIjogewogICAgICAgICAgICAgICJMaXRlcmFsIjogewogICAgICAgICAgICAgICAgIlZhbHVlIjogIidUb3AnIgogICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgICAgfQogICAgICAgIH0KICAgICAgfQogICAgXQogIH0sCiAgInJlc291cmNlUGFja2FnZXMiOiBbCiAgICB7CiAgICAgICJuYW1lIjogIlNoYXJlZFJlc291cmNlcyIsCiAgICAgICJ0eXBlIjogIlNoYXJlZFJlc291cmNlcyIsCiAgICAgICJpdGVtcyI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJDWTI0U1UxMCIsCiAgICAgICAgICAicGF0aCI6ICJCYXNlVGhlbWVzL0NZMjRTVTEwLmpzb24iLAogICAgICAgICAgInR5cGUiOiAiQmFzZVRoZW1lIgogICAgICAgIH0KICAgICAgXQogICAgfQogIF0sCiAgInNldHRpbmdzIjogewogICAgInVzZVN0eWxhYmxlVmlzdWFsQ29udGFpbmVySGVhZGVyIjogdHJ1ZSwKICAgICJkZWZhdWx0RHJpbGxGaWx0ZXJPdGhlclZpc3VhbHMiOiB0cnVlLAogICAgImFsbG93Q2hhbmdlRmlsdGVyVHlwZXMiOiB0cnVlLAogICAgInVzZUVuaGFuY2VkVG9vbHRpcHMiOiB0cnVlLAogICAgInVzZURlZmF1bHRBZ2dyZWdhdGVEaXNwbGF5TmFtZSI6IHRydWUKICB9Cn0=", "payloadType": "InlineBase64"}, {"path": "definition/version.json", "payload": @@ -354,7 +336,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/reports + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/reports response: body: string: 'null' @@ -370,13 +352,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:10:27 GMT + - Tue, 03 Feb 2026 07:52:06 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/67772710-fa9e-402a-b755-1fb660f51d86 + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/809e1e8f-b6d6-4a35-b0ef-b8827a6d8d1c Pragma: - no-cache RequestId: - - e79737f7-02bb-49f7-add6-bf3758bb77b5 + - f9ae42e5-b083-48da-83b8-60882525477c Retry-After: - '20' Strict-Transport-Security: @@ -390,7 +372,7 @@ interactions: request-redirected: - 'true' x-ms-operation-id: - - 67772710-fa9e-402a-b755-1fb660f51d86 + - 809e1e8f-b6d6-4a35-b0ef-b8827a6d8d1c status: code: 202 message: Accepted @@ -408,11 +390,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/67772710-fa9e-402a-b755-1fb660f51d86 + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/809e1e8f-b6d6-4a35-b0ef-b8827a6d8d1c response: body: - string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:10:27.0935805", - "lastUpdatedTimeUtc": "2026-01-28T12:10:27.7342402", "percentComplete": 100, + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T07:52:07.0961592", + "lastUpdatedTimeUtc": "2026-02-03T07:52:07.5644867", "percentComplete": 100, "error": null}' headers: Access-Control-Expose-Headers: @@ -422,17 +404,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '129' + - '130' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:10:48 GMT + - Tue, 03 Feb 2026 07:52:29 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/67772710-fa9e-402a-b755-1fb660f51d86/result + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/809e1e8f-b6d6-4a35-b0ef-b8827a6d8d1c/result Pragma: - no-cache RequestId: - - 12bfcf0c-9d6d-4b0b-985c-61510fd2cdb8 + - 30b7ed8c-eb78-4478-bc96-a5a22821f79a Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -440,7 +422,7 @@ interactions: X-Frame-Options: - deny x-ms-operation-id: - - 67772710-fa9e-402a-b755-1fb660f51d86 + - 809e1e8f-b6d6-4a35-b0ef-b8827a6d8d1c status: code: 200 message: OK @@ -458,11 +440,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/67772710-fa9e-402a-b755-1fb660f51d86/result + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/809e1e8f-b6d6-4a35-b0ef-b8827a6d8d1c/result response: body: - string: '{"id": "59f9a742-0052-451c-8692-9fcdc8b61e96", "type": "Report", "displayName": - "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}' + string: '{"id": "bb3b2252-42b6-4796-866b-15b082e85005", "type": "Report", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId @@ -473,11 +455,11 @@ interactions: Content-Type: - application/json Date: - - Wed, 28 Jan 2026 12:10:50 GMT + - Tue, 03 Feb 2026 07:52:30 GMT Pragma: - no-cache RequestId: - - c98c3f67-b187-47ae-b106-65b67d7f2fe1 + - 9e59a01c-ada7-4e92-a4cb-075b4564166e Strict-Transport-Security: - max-age=31536000; includeSubDomains Transfer-Encoding: @@ -507,7 +489,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -518,15 +500,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:10:51 GMT + - Tue, 03 Feb 2026 07:52:31 GMT Pragma: - no-cache RequestId: - - 7c6132de-afeb-4025-a7a9-672d8177c2c5 + - 80d6d97a-d07c-4c76-b552-b76b56c65366 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -554,23 +536,14 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "59f9a742-0052-451c-8692-9fcdc8b61e96", "type": "Report", + string: '{"value": [{"id": "bb3b2252-42b6-4796-866b-15b082e85005", "type": "Report", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": - "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "2df38667-3858-4982-baa1-cc8ec851370b", - "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": - "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", - "type": "SQLEndpoint", "displayName": "StagingLakehouseForDataflows_20260128120637", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", "type": "Warehouse", "displayName": - "StagingWarehouseForDataflows_20260128120702", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "3b040332-b777-497c-8b40-272bcccf3953", - "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128120637", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -579,15 +552,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '420' + - '232' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:10:51 GMT + - Tue, 03 Feb 2026 07:52:31 GMT Pragma: - no-cache RequestId: - - 2a2ac251-b827-4f43-8950-ce993cea332b + - ce975a5d-2260-4f0c-89bc-2f4508084ea9 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -619,7 +592,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -630,15 +603,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:10:53 GMT + - Tue, 03 Feb 2026 07:52:33 GMT Pragma: - no-cache RequestId: - - bf19edcc-da9b-4425-bd74-2beebd93c7ed + - 5b8e197b-527e-4c14-8b6f-0e0f220d63bd Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -666,23 +639,14 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "59f9a742-0052-451c-8692-9fcdc8b61e96", "type": "Report", + string: '{"value": [{"id": "bb3b2252-42b6-4796-866b-15b082e85005", "type": "Report", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", - "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": - "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "2df38667-3858-4982-baa1-cc8ec851370b", + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": - "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", - "type": "SQLEndpoint", "displayName": "StagingLakehouseForDataflows_20260128120637", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", "type": "Warehouse", "displayName": - "StagingWarehouseForDataflows_20260128120702", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "3b040332-b777-497c-8b40-272bcccf3953", - "type": "Lakehouse", "displayName": "StagingLakehouseForDataflows_20260128120637", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -691,15 +655,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '420' + - '232' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:10:53 GMT + - Tue, 03 Feb 2026 07:52:33 GMT Pragma: - no-cache RequestId: - - 60f3f4df-2d50-4e9a-b0e4-e17c9883b4ef + - 0810678c-f7d6-4901-abf9-68a098ca8001 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -729,7 +693,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/59f9a742-0052-451c-8692-9fcdc8b61e96 + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/bb3b2252-42b6-4796-866b-15b082e85005 response: body: string: '' @@ -745,11 +709,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:10:54 GMT + - Tue, 03 Feb 2026 07:52:35 GMT Pragma: - no-cache RequestId: - - 8da0f1d9-8281-4886-a840-61c5f0c6b089 + - cba9d3e0-8ae0-4110-967f-bb84c3654da1 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[SQLDatabase].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[SQLDatabase].yaml index 46b543ad..a49c9b75 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[SQLDatabase].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[SQLDatabase].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:10:56 GMT + - Tue, 03 Feb 2026 07:52:35 GMT Pragma: - no-cache RequestId: - - ba6fc89b-cbc8-40a4-89cc-349377636f18 + - c8344a55-71e8-44bd-93d1-9ad950029e23 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,21 +64,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": - "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -87,15 +77,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '363' + - '175' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:10:57 GMT + - Tue, 03 Feb 2026 07:52:36 GMT Pragma: - no-cache RequestId: - - adb6591b-e7a0-49af-b73e-82dc31fb8765 + - 9331835b-e5a3-4219-80b2-3f56baeaf5c4 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -123,21 +113,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": - "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -146,15 +126,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '363' + - '175' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:10:57 GMT + - Tue, 03 Feb 2026 07:52:37 GMT Pragma: - no-cache RequestId: - - 0cd63699-0e0a-466d-8e73-48860e2f706a + - f1fd5785-9a5e-4577-a5ff-92b3776ff351 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -185,7 +165,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/sqlDatabases + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/sqlDatabases response: body: string: 'null' @@ -201,15 +181,15 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:10:59 GMT + - Tue, 03 Feb 2026 07:52:39 GMT ETag: - '""' Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/5247b843-783d-4eed-9598-4148c816b705 + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c18b58e0-6119-4aed-8f25-72ac06bae636 Pragma: - no-cache RequestId: - - f49fd631-e1c9-4f1d-8e5b-bf5287ffbdad + - 526a1f3a-b6be-4a3a-aacf-b013bfc8ea46 Retry-After: - '20' Strict-Transport-Security: @@ -223,7 +203,7 @@ interactions: request-redirected: - 'true' x-ms-operation-id: - - 5247b843-783d-4eed-9598-4148c816b705 + - c18b58e0-6119-4aed-8f25-72ac06bae636 status: code: 202 message: Accepted @@ -241,11 +221,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/5247b843-783d-4eed-9598-4148c816b705 + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c18b58e0-6119-4aed-8f25-72ac06bae636 response: body: - string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:10:58.8971296", - "lastUpdatedTimeUtc": "2026-01-28T12:11:12.4146815", "percentComplete": 100, + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T07:52:38.5716762", + "lastUpdatedTimeUtc": "2026-02-03T07:52:55.9041942", "percentComplete": 100, "error": null}' headers: Access-Control-Expose-Headers: @@ -259,13 +239,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:11:21 GMT + - Tue, 03 Feb 2026 07:53:01 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/5247b843-783d-4eed-9598-4148c816b705/result + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c18b58e0-6119-4aed-8f25-72ac06bae636/result Pragma: - no-cache RequestId: - - 2981871a-9041-465a-9695-5439d52ae3ff + - 6d4ec1a0-94bf-4c4c-9dcb-0603c8ba3660 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -273,7 +253,7 @@ interactions: X-Frame-Options: - deny x-ms-operation-id: - - 5247b843-783d-4eed-9598-4148c816b705 + - c18b58e0-6119-4aed-8f25-72ac06bae636 status: code: 200 message: OK @@ -291,12 +271,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/5247b843-783d-4eed-9598-4148c816b705/result + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c18b58e0-6119-4aed-8f25-72ac06bae636/result response: body: - string: '{"id": "8da54052-2c09-4114-b595-06cac32c2236", "type": "SQLDatabase", + string: '{"id": "ab2adb62-c623-4a89-823a-d49c91a99425", "type": "SQLDatabase", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}' + "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId @@ -307,11 +287,11 @@ interactions: Content-Type: - application/json Date: - - Wed, 28 Jan 2026 12:11:22 GMT + - Tue, 03 Feb 2026 07:53:02 GMT Pragma: - no-cache RequestId: - - 4b5deffa-01a1-446d-8753-bef0ee346447 + - 0157d931-f2bf-45bc-99fe-1a89feafc2c0 Strict-Transport-Security: - max-age=31536000; includeSubDomains Transfer-Encoding: @@ -341,7 +321,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -352,15 +332,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:11:23 GMT + - Tue, 03 Feb 2026 07:53:03 GMT Pragma: - no-cache RequestId: - - 34f0b489-5e26-42b2-a3b7-259bed4480cc + - 8fd45f9b-70e7-4123-98c9-bd4828f87084 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -388,25 +368,15 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": - "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "328f6bac-34d1-4357-9681-1f2544145d11", "type": "SQLEndpoint", "displayName": - "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "8da54052-2c09-4114-b595-06cac32c2236", - "type": "SQLDatabase", "displayName": "fabcli000001", "description": "Created - by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "60299826-dc9d-4d9c-9f5c-486a5c1db5e7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "ab2adb62-c623-4a89-823a-d49c91a99425", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -415,15 +385,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '451' + - '277' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:11:24 GMT + - Tue, 03 Feb 2026 07:53:04 GMT Pragma: - no-cache RequestId: - - e4e72e30-dc53-4b52-b22a-441c825a9145 + - 3cdfeb43-1172-4099-9762-6aa03d49e4ee Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -455,7 +425,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -466,15 +436,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:11:25 GMT + - Tue, 03 Feb 2026 07:53:05 GMT Pragma: - no-cache RequestId: - - 014a9772-3b74-4737-9d49-a7da57eb43a4 + - 575aa349-00ce-4332-a086-25028e565f13 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -502,25 +472,15 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": - "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "328f6bac-34d1-4357-9681-1f2544145d11", "type": "SQLEndpoint", "displayName": - "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "8da54052-2c09-4114-b595-06cac32c2236", - "type": "SQLDatabase", "displayName": "fabcli000001", "description": "Created - by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "60299826-dc9d-4d9c-9f5c-486a5c1db5e7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "ab2adb62-c623-4a89-823a-d49c91a99425", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -529,15 +489,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '451' + - '277' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:11:26 GMT + - Tue, 03 Feb 2026 07:53:06 GMT Pragma: - no-cache RequestId: - - f8db4525-deb7-4eca-afe6-fd3df3128a3b + - 7f5529c8-1fa3-46d6-8a64-d93e4ac2c5b9 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -567,7 +527,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/8da54052-2c09-4114-b595-06cac32c2236 + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/ab2adb62-c623-4a89-823a-d49c91a99425 response: body: string: '' @@ -583,11 +543,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:11:26 GMT + - Tue, 03 Feb 2026 07:53:06 GMT Pragma: - no-cache RequestId: - - df332678-44a0-4690-ae94-21515ede14fb + - edb6e38f-1143-4cdc-b0a8-60d36b1b68de Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[SemanticModel].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[SemanticModel].yaml index dbc07451..9a702c99 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[SemanticModel].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[SemanticModel].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:11:28 GMT + - Tue, 03 Feb 2026 07:53:07 GMT Pragma: - no-cache RequestId: - - 3c3325f0-098d-497b-9c7f-ec89ab6cc289 + - 8e498bf5-3bf3-465b-b87d-a5966198d955 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,21 +64,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": - "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -87,15 +77,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '363' + - '175' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:11:28 GMT + - Tue, 03 Feb 2026 07:53:08 GMT Pragma: - no-cache RequestId: - - 204e846c-7f98-4d06-b5a7-bf3b66a96924 + - 61bb2142-a39e-4c7b-97fc-55a72ceab8ed Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -123,21 +113,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": - "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -146,15 +126,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '363' + - '175' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:11:30 GMT + - Tue, 03 Feb 2026 07:53:09 GMT Pragma: - no-cache RequestId: - - f1ad6bc8-7cb9-4e42-b46c-3d89760f0f28 + - 0904415f-0802-4150-ab21-100f3b263c6c Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -193,7 +173,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/semanticModels + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/semanticModels response: body: string: 'null' @@ -209,13 +189,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:11:31 GMT + - Tue, 03 Feb 2026 07:53:10 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/53f378c9-a104-4302-beed-101d01591428 + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/a0324122-4baa-4c0d-9c57-70afc20ffbef Pragma: - no-cache RequestId: - - a23ab742-3337-4fa9-b88b-c14270d1f257 + - 979c6a07-5bf1-4c49-a01c-9e86324564c5 Retry-After: - '20' Strict-Transport-Security: @@ -229,7 +209,7 @@ interactions: request-redirected: - 'true' x-ms-operation-id: - - 53f378c9-a104-4302-beed-101d01591428 + - a0324122-4baa-4c0d-9c57-70afc20ffbef status: code: 202 message: Accepted @@ -247,11 +227,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/53f378c9-a104-4302-beed-101d01591428 + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/a0324122-4baa-4c0d-9c57-70afc20ffbef response: body: - string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:11:31.2834961", - "lastUpdatedTimeUtc": "2026-01-28T12:11:42.113814", "percentComplete": 100, + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T07:53:10.9834944", + "lastUpdatedTimeUtc": "2026-02-03T07:53:22.7826901", "percentComplete": 100, "error": null}' headers: Access-Control-Expose-Headers: @@ -261,17 +241,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '130' + - '131' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:11:52 GMT + - Tue, 03 Feb 2026 07:53:33 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/53f378c9-a104-4302-beed-101d01591428/result + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/a0324122-4baa-4c0d-9c57-70afc20ffbef/result Pragma: - no-cache RequestId: - - ee13be05-2551-44f7-ba41-e0a2939f85f9 + - 5fc34ebe-9f89-4fb9-a36c-4d45d1548561 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -279,7 +259,7 @@ interactions: X-Frame-Options: - deny x-ms-operation-id: - - 53f378c9-a104-4302-beed-101d01591428 + - a0324122-4baa-4c0d-9c57-70afc20ffbef status: code: 200 message: OK @@ -297,11 +277,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/53f378c9-a104-4302-beed-101d01591428/result + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/a0324122-4baa-4c0d-9c57-70afc20ffbef/result response: body: - string: '{"id": "6748a56c-2232-46ae-86ca-4013e0134c3f", "type": "SemanticModel", - "displayName": "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}' + string: '{"id": "ec9c3f49-e749-47eb-b6a4-32ee7aa0bd9e", "type": "SemanticModel", + "displayName": "fabcli000001", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId @@ -312,11 +292,11 @@ interactions: Content-Type: - application/json Date: - - Wed, 28 Jan 2026 12:11:53 GMT + - Tue, 03 Feb 2026 07:53:34 GMT Pragma: - no-cache RequestId: - - 3f3f27a1-c6f5-406e-911e-aac5499dc04a + - 653834b8-0646-46d5-bca1-618d71cf2b8a Strict-Transport-Security: - max-age=31536000; includeSubDomains Transfer-Encoding: @@ -346,7 +326,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -357,15 +337,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:11:54 GMT + - Tue, 03 Feb 2026 07:53:34 GMT Pragma: - no-cache RequestId: - - f876a5aa-1c82-4c5a-afeb-bbbb810aa60d + - 39bec70b-e7a2-45aa-8b3b-3674bdc6375e Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -393,23 +373,13 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": - "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "6748a56c-2232-46ae-86ca-4013e0134c3f", "type": "SemanticModel", "displayName": - "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "ec9c3f49-e749-47eb-b6a4-32ee7aa0bd9e", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -418,15 +388,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '402' + - '219' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:11:55 GMT + - Tue, 03 Feb 2026 07:53:35 GMT Pragma: - no-cache RequestId: - - 5befa1e5-719a-4ff8-be15-3c940748594a + - 2a241cce-ba50-48cd-9038-b595b62db1ad Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -458,7 +428,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -469,15 +439,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:11:55 GMT + - Tue, 03 Feb 2026 07:53:37 GMT Pragma: - no-cache RequestId: - - b9d15e40-1e8a-4612-b9c2-0af62a841f77 + - c3cf056f-05fa-4b36-bf5c-08a6567369f5 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -505,23 +475,13 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": - "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "6748a56c-2232-46ae-86ca-4013e0134c3f", "type": "SemanticModel", "displayName": - "fabcli000001", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "ec9c3f49-e749-47eb-b6a4-32ee7aa0bd9e", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -530,15 +490,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '402' + - '219' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:11:56 GMT + - Tue, 03 Feb 2026 07:53:37 GMT Pragma: - no-cache RequestId: - - dd155bfa-2c7f-4991-b35f-a77cf82f9985 + - 8bc3c4cb-c7be-4287-bc64-489c801b5e90 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -568,7 +528,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/6748a56c-2232-46ae-86ca-4013e0134c3f + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/ec9c3f49-e749-47eb-b6a4-32ee7aa0bd9e response: body: string: '' @@ -584,11 +544,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:11:58 GMT + - Tue, 03 Feb 2026 07:53:39 GMT Pragma: - no-cache RequestId: - - e6c52683-1a02-43d2-986e-c34030e8187a + - a6f78a1f-f687-4454-aa5b-b605ac192984 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[SparkJobDefinition].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[SparkJobDefinition].yaml index f750ba20..6b11bbbd 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[SparkJobDefinition].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[SparkJobDefinition].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:11:59 GMT + - Tue, 03 Feb 2026 07:53:39 GMT Pragma: - no-cache RequestId: - - 32b02cd0-5596-46e6-b50a-931cc7c76b5f + - 056c8ac4-1bea-453e-b828-cf44e578e1e7 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,21 +64,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": - "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -87,15 +77,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '363' + - '175' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:00 GMT + - Tue, 03 Feb 2026 07:53:40 GMT Pragma: - no-cache RequestId: - - 9b242db4-2a8e-47fa-b95e-b16b11cbccf5 + - 76191ca0-c2dd-459c-9d8a-5df5d5cf3888 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -123,21 +113,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": - "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -146,15 +126,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '363' + - '175' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:02 GMT + - Tue, 03 Feb 2026 07:53:41 GMT Pragma: - no-cache RequestId: - - 7d72e12f-8fbb-441b-9818-ec36491e98b4 + - ca44f5f7-2b94-4dab-95b2-c2752a5edaf6 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -185,12 +165,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/sparkJobDefinitions + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/sparkJobDefinitions response: body: - string: '{"id": "38c609c7-acfa-42b9-a814-16dbec5b6898", "type": "SparkJobDefinition", + string: '{"id": "d1e20945-41c7-4e57-812a-3ac2eef24eb6", "type": "SparkJobDefinition", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}' + "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId,ETag @@ -199,17 +179,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '173' + - '172' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:04 GMT + - Tue, 03 Feb 2026 07:53:43 GMT ETag: - '""' Pragma: - no-cache RequestId: - - 46994ac5-e675-4169-a297-733599e97049 + - dd7450a1-5aa3-44b9-a2e5-ed734125c4f9 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -241,7 +221,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -252,15 +232,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:05 GMT + - Tue, 03 Feb 2026 07:53:43 GMT Pragma: - no-cache RequestId: - - 96e9470a-3099-4e6d-9794-a78e078ad3d8 + - d78d707f-b839-46a9-b184-56df2f99f51c Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -288,23 +268,14 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": - "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "38c609c7-acfa-42b9-a814-16dbec5b6898", - "type": "SparkJobDefinition", "displayName": "fabcli000001", "description": - "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "d1e20945-41c7-4e57-812a-3ac2eef24eb6", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -313,15 +284,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '431' + - '245' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:07 GMT + - Tue, 03 Feb 2026 07:53:44 GMT Pragma: - no-cache RequestId: - - 2e14c2d4-c1bf-48a4-85df-dad532df1773 + - 577ec097-2309-4803-ad62-447a7de808ab Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -353,7 +324,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -364,15 +335,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:08 GMT + - Tue, 03 Feb 2026 07:53:45 GMT Pragma: - no-cache RequestId: - - dcc3a25c-8696-4d9f-8abe-71b648d04792 + - 0afb9b22-f81b-4e78-84f6-8e6c108617a0 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -400,23 +371,14 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": - "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "38c609c7-acfa-42b9-a814-16dbec5b6898", - "type": "SparkJobDefinition", "displayName": "fabcli000001", "description": - "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "d1e20945-41c7-4e57-812a-3ac2eef24eb6", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -425,15 +387,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '431' + - '245' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:09 GMT + - Tue, 03 Feb 2026 07:53:46 GMT Pragma: - no-cache RequestId: - - 56103698-4726-4501-924a-64e61b65496f + - e9134c72-f2e7-43a0-9c53-b459a9837fa3 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -463,7 +425,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/38c609c7-acfa-42b9-a814-16dbec5b6898 + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/d1e20945-41c7-4e57-812a-3ac2eef24eb6 response: body: string: '' @@ -479,11 +441,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:12:10 GMT + - Tue, 03 Feb 2026 07:53:47 GMT Pragma: - no-cache RequestId: - - 51b13f45-e6c8-4640-bc30-b02da15fa5d6 + - 8c5268c6-2ac7-4573-8566-deae0c9f6574 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[UserDataFunction].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[UserDataFunction].yaml new file mode 100644 index 00000000..c15df207 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[UserDataFunction].yaml @@ -0,0 +1,492 @@ +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": "b7945519-3184-48e4-8d42-8b7ee977816d", + "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: + - '2336' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 07:55:18 GMT + Pragma: + - no-cache + RequestId: + - 5b5f3c10-88bb-4156-801a-a3e684739dd3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '330' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 07:55:18 GMT + Pragma: + - no-cache + RequestId: + - 27eed0c7-b4a9-42f1-bb4c-43e80c7ed746 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '330' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 07:55:19 GMT + Pragma: + - no-cache + RequestId: + - cc2c18ee-8389-41ac-8efc-112e1171203b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/b7945519-3184-48e4-8d42-8b7ee977816d/userdatafunctions + response: + body: + string: '{"id": "f89c66e3-eac6-4855-9962-f0f82fd86564", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}' + 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 07:55:21 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 243c5fc1-3feb-4128-b8d6-d7a9f2a13768 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "b7945519-3184-48e4-8d42-8b7ee977816d", + "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: + - '2336' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 07:55:21 GMT + Pragma: + - no-cache + RequestId: + - 3a9094e0-a0cf-4193-908a-a6a9a839d37f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "f89c66e3-eac6-4855-9962-f0f82fd86564", + "type": "UserDataFunction", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '391' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 07:55:23 GMT + Pragma: + - no-cache + RequestId: + - aece0002-917c-43d7-8f6b-fc6605f1c2e1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-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": "b7945519-3184-48e4-8d42-8b7ee977816d", + "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: + - '2336' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 07:55:23 GMT + Pragma: + - no-cache + RequestId: + - f48a3793-2ce0-4531-a510-83d06e10ddc8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items + response: + body: + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "9797d176-4e05-4505-b702-92eb11623ef8", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "d4b12cbc-7628-4748-9a01-e175de6f7f55", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260203075454", + "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "a56d2f37-110e-403e-8d54-74104ad96f65", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260203075441", "description": "", "workspaceId": + "b7945519-3184-48e4-8d42-8b7ee977816d"}, {"id": "f89c66e3-eac6-4855-9962-f0f82fd86564", + "type": "UserDataFunction", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '391' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 07:55:24 GMT + Pragma: + - no-cache + RequestId: + - 626421ee-fccb-4036-98bf-5baa763ef286 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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/b7945519-3184-48e4-8d42-8b7ee977816d/items/f89c66e3-eac6-4855-9962-f0f82fd86564 + 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 07:55:24 GMT + Pragma: + - no-cache + RequestId: + - 790727da-5752-47db-8d69-e6903bca3520 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_exists/test_exists_item_exists_success[Warehouse].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Warehouse].yaml index 9d4f1555..2c3b1170 100644 --- a/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Warehouse].yaml +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[Warehouse].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:10 GMT + - Tue, 03 Feb 2026 07:53:48 GMT Pragma: - no-cache RequestId: - - dd9ec94f-8984-44b5-bfb5-c2237569822d + - e1afc652-d627-4c6d-9f6d-af902aee4086 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,21 +64,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": - "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -87,15 +77,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '363' + - '175' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:11 GMT + - Tue, 03 Feb 2026 07:53:49 GMT Pragma: - no-cache RequestId: - - e9632777-eb6c-4a73-bffc-dbf0347caa62 + - 34e27837-b46f-4598-a8e9-7f739f1ca0a9 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -123,21 +113,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": - "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -146,15 +126,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '363' + - '175' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:12 GMT + - Tue, 03 Feb 2026 07:53:50 GMT Pragma: - no-cache RequestId: - - 9f01c785-d8ea-46c4-a8d7-6eecd6f9c718 + - 04237dcf-9a7b-4ebb-a66e-72cc44043883 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -185,7 +165,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/warehouses + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/warehouses response: body: string: 'null' @@ -201,15 +181,15 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:13 GMT + - Tue, 03 Feb 2026 07:53:51 GMT ETag: - '""' Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/59a53e39-516b-424d-945e-ac277003ed81 + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/415930a4-489b-4b4e-bbba-543fb51076cf Pragma: - no-cache RequestId: - - 45edab44-49fe-4bf8-afd3-314785740907 + - 68e0635d-4938-4caa-ac98-33fe61a2d831 Retry-After: - '20' Strict-Transport-Security: @@ -223,7 +203,7 @@ interactions: request-redirected: - 'true' x-ms-operation-id: - - 59a53e39-516b-424d-945e-ac277003ed81 + - 415930a4-489b-4b4e-bbba-543fb51076cf status: code: 202 message: Accepted @@ -241,11 +221,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/59a53e39-516b-424d-945e-ac277003ed81 + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/415930a4-489b-4b4e-bbba-543fb51076cf response: body: - string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T12:12:13.842156", - "lastUpdatedTimeUtc": "2026-01-28T12:12:22.2194224", "percentComplete": 100, + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T07:53:51.4282747", + "lastUpdatedTimeUtc": "2026-02-03T07:54:03.6342417", "percentComplete": 100, "error": null}' headers: Access-Control-Expose-Headers: @@ -255,17 +235,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '130' + - '133' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:34 GMT + - Tue, 03 Feb 2026 07:54:13 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/59a53e39-516b-424d-945e-ac277003ed81/result + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/415930a4-489b-4b4e-bbba-543fb51076cf/result Pragma: - no-cache RequestId: - - 2712c9e2-5f0d-487e-8021-0f95f702fd9c + - a1f2f88f-854b-4995-9760-76c081fde2a2 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -273,7 +253,7 @@ interactions: X-Frame-Options: - deny x-ms-operation-id: - - 59a53e39-516b-424d-945e-ac277003ed81 + - 415930a4-489b-4b4e-bbba-543fb51076cf status: code: 200 message: OK @@ -291,12 +271,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/59a53e39-516b-424d-945e-ac277003ed81/result + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/415930a4-489b-4b4e-bbba-543fb51076cf/result response: body: - string: '{"id": "fddb18a7-8fb9-4fa4-bab0-dc498831649e", "type": "Warehouse", + string: '{"id": "f5fd71c9-e360-4c05-a7a1-c5fa1c98b644", "type": "Warehouse", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}' + "b7945519-3184-48e4-8d42-8b7ee977816d"}' headers: Access-Control-Expose-Headers: - RequestId @@ -307,11 +287,11 @@ interactions: Content-Type: - application/json Date: - - Wed, 28 Jan 2026 12:12:35 GMT + - Tue, 03 Feb 2026 07:54:13 GMT Pragma: - no-cache RequestId: - - d97cc2f9-3228-4f0c-a370-2a5107ab73a3 + - 15142871-aedc-422d-a213-737f5c013df2 Strict-Transport-Security: - max-age=31536000; includeSubDomains Transfer-Encoding: @@ -341,7 +321,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -352,15 +332,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:36 GMT + - Tue, 03 Feb 2026 07:54:14 GMT Pragma: - no-cache RequestId: - - 68b413fa-01ab-4c9b-89f0-fec8b931c291 + - 8dc345b0-41a3-470e-b6aa-9032646a85eb Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -388,23 +368,13 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": - "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "fddb18a7-8fb9-4fa4-bab0-dc498831649e", "type": "Warehouse", "displayName": - "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f5fd71c9-e360-4c05-a7a1-c5fa1c98b644", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -413,15 +383,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '416' + - '241' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:37 GMT + - Tue, 03 Feb 2026 07:54:15 GMT Pragma: - no-cache RequestId: - - b39718fb-5a74-4f8d-a58b-46aa5b96e7c9 + - 0c991885-d404-4181-b437-3a68f6b6faee Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -453,7 +423,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "b285198e-e555-4618-9fb9-949cabcaafd4", + "My workspace", "description": "", "type": "Personal"}, {"id": "b7945519-3184-48e4-8d42-8b7ee977816d", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -464,15 +434,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2304' + - '2336' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:38 GMT + - Tue, 03 Feb 2026 07:54:16 GMT Pragma: - no-cache RequestId: - - d8343c08-54ac-4cf9-8600-800c7ed70656 + - b975a95c-506f-4646-8c5f-f8316c014c74 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -500,23 +470,13 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items response: body: - string: '{"value": [{"id": "311c021d-63ba-4d80-bb3f-74e9f821f989", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "2df38667-3858-4982-baa1-cc8ec851370b", "type": "SemanticModel", "displayName": - "fabcli000001_auto", "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "50721f66-f90f-4b82-98ea-f79569e56a5f", "type": "SQLEndpoint", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}, {"id": "1cebf3dd-89a3-405d-98e5-43ab4c957760", - "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128120702", - "description": "", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "fddb18a7-8fb9-4fa4-bab0-dc498831649e", "type": "Warehouse", "displayName": - "fabcli000001", "description": "Created by fab", "workspaceId": "b285198e-e555-4618-9fb9-949cabcaafd4"}, - {"id": "3b040332-b777-497c-8b40-272bcccf3953", "type": "Lakehouse", "displayName": - "StagingLakehouseForDataflows_20260128120637", "description": "", "workspaceId": - "b285198e-e555-4618-9fb9-949cabcaafd4"}]}' + string: '{"value": [{"id": "b4b48b13-c163-44f9-ba57-4c1e3c733590", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}, + {"id": "f5fd71c9-e360-4c05-a7a1-c5fa1c98b644", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "b7945519-3184-48e4-8d42-8b7ee977816d"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -525,15 +485,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '416' + - '241' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 28 Jan 2026 12:12:39 GMT + - Tue, 03 Feb 2026 07:54:16 GMT Pragma: - no-cache RequestId: - - 5c0a8052-4c81-47ff-8a47-00caae6c5140 + - ff8c9100-19c4-47a2-b4d7-ee4280e5c608 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -563,7 +523,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/b285198e-e555-4618-9fb9-949cabcaafd4/items/fddb18a7-8fb9-4fa4-bab0-dc498831649e + uri: https://api.fabric.microsoft.com/v1/workspaces/b7945519-3184-48e4-8d42-8b7ee977816d/items/f5fd71c9-e360-4c05-a7a1-c5fa1c98b644 response: body: string: '' @@ -579,11 +539,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 28 Jan 2026 12:12:40 GMT + - Tue, 03 Feb 2026 07:54:16 GMT Pragma: - no-cache RequestId: - - ace54ea5-b877-49a7-b9af-e93786494935 + - 881fb07a-cc29-4c49-b5dd-69ece65aadde Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: