diff --git a/.changes/unreleased/new-items-20261123-132500.yaml b/.changes/unreleased/new-items-20261123-132500.yaml new file mode 100644 index 000000000..90ce100ab --- /dev/null +++ b/.changes/unreleased/new-items-20261123-132500.yaml @@ -0,0 +1,6 @@ +kind: new-items +body: Add support for DeploymentPlan item type +time: 2026-11-23T13:25:00.000000000+02:00 +custom: + Author: aviatco + AuthorLink: https://github.com/aviatco diff --git a/docs/essentials/resource_types.md b/docs/essentials/resource_types.md index c8f4270d3..4eb3992e3 100644 --- a/docs/essentials/resource_types.md +++ b/docs/essentials/resource_types.md @@ -28,6 +28,7 @@ Item types are the primary content resources within Fabric workspaces. Each type | `.Eventstream` | Real-time data streams | | `.Dashboard` | Interactive dashboards | | `.Datamart` | Self-service data marts | +| `.DeploymentPlan` | Ordered deployments and actions | | `.CopyJob` | Data copy operations | | `.Environment` | Spark environments | | `.MLExperiment` | Machine learning experiments | diff --git a/docs/examples/item_examples.md b/docs/examples/item_examples.md index 51e0d7118..904e2c421 100644 --- a/docs/examples/item_examples.md +++ b/docs/examples/item_examples.md @@ -253,6 +253,7 @@ fab set ws1.Workspace/rep1.Report -q definition.parts[0].payload.datasetReferenc - `.Eventhouse`, `.Eventstream` - `.MirroredDatabase`, `.Reflex` - `.DigitalTwinBuilder`, `.DigitalTwinBuilderFlow`, `.Map`, `.MountedDataFactory`, `.CopyJob`, `.VariableLibrary` +- `.DeploymentPlan` #### Copy Item to Workspace @@ -330,6 +331,7 @@ fab export ws1.Workspace/nb1.Notebook -o /tmp - `.Reflex`, `.DigitalTwinBuilder`, `.DigitalTwinBuilderFlow`, `.Map`, `.MountedDataFactory`, `.CopyJob`, `.VariableLibrary` - `.GraphModel`, `.Ontology` - `.AnomalyDetector`, `.DataBuildToolJob`, `.EventSchemaSet`, `.OrgApp`, `.OrgAppAudience`, `.Plan` +- `.DeploymentPlan` #### Export to Lakehouse diff --git a/src/fabric_cli/core/fab_config/command_support.yaml b/src/fabric_cli/core/fab_config/command_support.yaml index 916c7058c..636bbacf3 100644 --- a/src/fabric_cli/core/fab_config/command_support.yaml +++ b/src/fabric_cli/core/fab_config/command_support.yaml @@ -150,6 +150,7 @@ commands: - folder - onelake supported_items: # same as export + - deployment_plan - report - spark_job_definition - semantic_model @@ -190,6 +191,7 @@ commands: - onelake - local_path supported_items: # same as export + - deployment_plan - report - spark_job_definition - semantic_model @@ -256,6 +258,7 @@ commands: supported_elements: - workspace supported_items: + - deployment_plan - report - spark_job_definition - semantic_model @@ -292,6 +295,7 @@ commands: - data_build_tool_job import: supported_items: + - deployment_plan - report - spark_job_definition - semantic_model diff --git a/src/fabric_cli/core/fab_types.py b/src/fabric_cli/core/fab_types.py index 629c2992c..a64432026 100644 --- a/src/fabric_cli/core/fab_types.py +++ b/src/fabric_cli/core/fab_types.py @@ -261,6 +261,7 @@ class ItemType(_BaseItemType): DATAMART = "Datamart" DATA_BUILD_TOOL_JOB = "DataBuildToolJob" DATA_PIPELINE = "DataPipeline" + DEPLOYMENT_PLAN = "DeploymentPlan" DIGITAL_TWIN_BUILDER = "DigitalTwinBuilder" DIGITAL_TWIN_BUILDER_FLOW = "DigitalTwinBuilderFlow" ENVIRONMENT = "Environment" @@ -513,6 +514,7 @@ class MirroredDatabaseFolders(Enum): ItemType.DATA_BUILD_TOOL_JOB: "dataBuildToolJobs", ItemType.DATA_PIPELINE: "dataPipelines", ItemType.DATAMART: "datamarts", + ItemType.DEPLOYMENT_PLAN: "deploymentPlans", ItemType.DIGITAL_TWIN_BUILDER: "digitalTwinBuilders", ItemType.DIGITAL_TWIN_BUILDER_FLOW: "digitalTwinBuilderFlows", ItemType.ENVIRONMENT: "environments", @@ -571,6 +573,7 @@ class MirroredDatabaseFolders(Enum): ItemType.DATAMART: "datamarts", ItemType.DATA_BUILD_TOOL_JOB: "dbtitems", ItemType.DATA_PIPELINE: "pipelines", + ItemType.DEPLOYMENT_PLAN: "deployment-plans", ItemType.DIGITAL_TWIN_BUILDER: "digital-twin-builder", ItemType.DIGITAL_TWIN_BUILDER_FLOW: "digital-twin-builder-flow", ItemType.ENVIRONMENT: "sparkenvironments", @@ -612,6 +615,10 @@ class MirroredDatabaseFolders(Enum): # Item Payload definition definition_format_mapping = { + ItemType.DEPLOYMENT_PLAN: { + "default": "", + "DeploymentPlanFormat": "DeploymentPlanFormat", + }, ItemType.SPARK_JOB_DEFINITION: { "default": "SparkJobDefinitionV1", "SparkJobDefinitionV1": "SparkJobDefinitionV1", diff --git a/tests/test_commands/conftest.py b/tests/test_commands/conftest.py index d0fb4b427..9c9c7eeb3 100644 --- a/tests/test_commands/conftest.py +++ b/tests/test_commands/conftest.py @@ -78,6 +78,7 @@ ItemType.ORG_APP, # ItemType.PLAN, ItemType.DATA_BUILD_TOOL_JOB, + ItemType.DEPLOYMENT_PLAN, ] item_type_paramerter = pytest.mark.parametrize("item_type", ALL_ITEM_TYPES) @@ -85,6 +86,7 @@ basic_item_parametrize = pytest.mark.parametrize( "item_type", [ + ItemType.DEPLOYMENT_PLAN, ItemType.DATA_PIPELINE, ItemType.ENVIRONMENT, ItemType.EVENTSTREAM, @@ -116,6 +118,7 @@ import_update_existing_item_success_params = pytest.mark.parametrize( "item_type", [ + ItemType.DEPLOYMENT_PLAN, ItemType.DATA_PIPELINE, ItemType.ENVIRONMENT, ItemType.EVENTSTREAM, @@ -168,6 +171,7 @@ ItemType.EVENT_SCHEMA_SET, ItemType.ORG_APP, # ItemType.PLAN, + ItemType.DEPLOYMENT_PLAN, ], ) @@ -234,6 +238,7 @@ mv_item_to_item_success_params = pytest.mark.parametrize( "item_type", [ + ItemType.DEPLOYMENT_PLAN, ItemType.DATA_PIPELINE, ItemType.KQL_DASHBOARD, ItemType.KQL_QUERYSET, @@ -276,6 +281,7 @@ mv_item_within_workspace_rename_success_params = pytest.mark.parametrize( "item_type", [ + ItemType.DEPLOYMENT_PLAN, ItemType.DATA_PIPELINE, ItemType.KQL_DASHBOARD, ItemType.KQL_QUERYSET, @@ -360,6 +366,7 @@ set_item_metadata_for_all_types_success_item_params = pytest.mark.parametrize( "item_type", [ + ItemType.DEPLOYMENT_PLAN, ItemType.DATA_PIPELINE, ItemType.ENVIRONMENT, ItemType.EVENTSTREAM, @@ -437,6 +444,7 @@ export_item_with_extension_parameters = pytest.mark.parametrize( "item_type,expected_file_extension", [ + (ItemType.DEPLOYMENT_PLAN, ".yml"), (ItemType.NOTEBOOK, ".ipynb"), (ItemType.SPARK_JOB_DEFINITION, ".json"), (ItemType.DATA_PIPELINE, ".json"), @@ -461,6 +469,7 @@ export_item_types_parameters = pytest.mark.parametrize( "item_type", [ + ItemType.DEPLOYMENT_PLAN, ItemType.NOTEBOOK, ItemType.SPARK_JOB_DEFINITION, ItemType.DATA_PIPELINE, @@ -495,12 +504,20 @@ (ItemType.SPARK_JOB_DEFINITION, "SparkJobDefinitionV2", [".json"], []), (ItemType.SEMANTIC_MODEL, "TMDL", [".pbism"], ["definition"]), (ItemType.SEMANTIC_MODEL, "TMSL", [".pbism", ".bim"], []), + pytest.param( + ItemType.DEPLOYMENT_PLAN, + "DeploymentPlanFormat", + [".yml"], + [], + id="DeploymentPlan-DeploymentPlanFormat", + ), ], ) export_item_default_format_parameters = pytest.mark.parametrize( "item_type,expected_file_count", [ + (ItemType.DEPLOYMENT_PLAN, 2), (ItemType.NOTEBOOK, 2), # Default format for notebook is ipynb (ItemType.SPARK_JOB_DEFINITION, 2), (ItemType.DATA_PIPELINE, 2), @@ -528,6 +545,7 @@ export_item_invalid_format_parameters = pytest.mark.parametrize( "item_type,invalid_format", [ + (ItemType.DEPLOYMENT_PLAN, ".txt"), (ItemType.NOTEBOOK, ".txt"), (ItemType.SPARK_JOB_DEFINITION, ".txt"), (ItemType.SEMANTIC_MODEL, ".txt"), @@ -561,6 +579,7 @@ cp_item_types_success_params = pytest.mark.parametrize( "item_type", [ + ItemType.DEPLOYMENT_PLAN, ItemType.DATA_PIPELINE, ItemType.KQL_DASHBOARD, ItemType.KQL_QUERYSET, @@ -586,6 +605,7 @@ cp_folder_item_types_success_params = pytest.mark.parametrize( "item_type", [ + ItemType.DEPLOYMENT_PLAN, ItemType.DATA_PIPELINE, ItemType.KQL_DASHBOARD, ItemType.KQL_QUERYSET, @@ -632,6 +652,7 @@ ls_folder_content_success_params = pytest.mark.parametrize( "item_type", [ + ItemType.DEPLOYMENT_PLAN, ItemType.DATA_PIPELINE, ItemType.ENVIRONMENT, ItemType.EVENTHOUSE, diff --git a/tests/test_commands/recordings/test_commands/test_cd/test_cd_item_all_types_success[DeploymentPlan].yaml b/tests/test_commands/recordings/test_commands/test_cd/test_cd_item_all_types_success[DeploymentPlan].yaml new file mode 100644 index 000000000..3d1a3f02a --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_cd/test_cd_item_all_types_success[DeploymentPlan].yaml @@ -0,0 +1,443 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "fb88565d-b840-4eb7-9f8c-87e34c2c8cdc", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:17 GMT + Pragma: + - no-cache + RequestId: + - e736a4d1-32b6-5c54-b77f-5cad52288710 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/fb88565d-b840-4eb7-9f8c-87e34c2c8cdc/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:18 GMT + Pragma: + - no-cache + RequestId: + - 0107c27e-0785-5938-9cc6-ae33e0c59e93 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/fb88565d-b840-4eb7-9f8c-87e34c2c8cdc/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:19 GMT + Pragma: + - no-cache + RequestId: + - c75843c9-2cad-556f-ad9b-e81b8dfbb4b0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001", "type": "DeploymentPlan", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '79' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/fb88565d-b840-4eb7-9f8c-87e34c2c8cdc/deploymentPlans + response: + body: + string: '{"id": "e784dd67-975c-54c5-b72e-64ae771dee09", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "fb88565d-b840-4eb7-9f8c-87e34c2c8cdc", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:22 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 37f42085-f6b8-54dd-bb77-028d6620cea9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "fb88565d-b840-4eb7-9f8c-87e34c2c8cdc", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:22 GMT + Pragma: + - no-cache + RequestId: + - cbe56a87-ae49-5441-8f9c-b2857d11a1ed + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/fb88565d-b840-4eb7-9f8c-87e34c2c8cdc/items + response: + body: + string: '{"value": [{"id": "e784dd67-975c-54c5-b72e-64ae771dee09", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "fb88565d-b840-4eb7-9f8c-87e34c2c8cdc", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:23 GMT + Pragma: + - no-cache + RequestId: + - e7bd549f-5277-590a-af75-0d0d035e04ef + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "fb88565d-b840-4eb7-9f8c-87e34c2c8cdc", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:23 GMT + Pragma: + - no-cache + RequestId: + - b38af38e-a907-5241-ba98-149ba19724de + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/fb88565d-b840-4eb7-9f8c-87e34c2c8cdc/items + response: + body: + string: '{"value": [{"id": "e784dd67-975c-54c5-b72e-64ae771dee09", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "fb88565d-b840-4eb7-9f8c-87e34c2c8cdc", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:23 GMT + Pragma: + - no-cache + RequestId: + - 3a37b92f-7df3-5e05-8c7d-5f1f443e05f5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/fb88565d-b840-4eb7-9f8c-87e34c2c8cdc/items/e784dd67-975c-54c5-b72e-64ae771dee09 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:01:24 GMT + Pragma: + - no-cache + RequestId: + - da122546-fa5b-586b-8604-9aec68e5f7cb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_cp/test_cp_folder_with_different_item_types_success[DeploymentPlan].yaml b/tests/test_commands/recordings/test_commands/test_cp/test_cp_folder_with_different_item_types_success[DeploymentPlan].yaml new file mode 100644 index 000000000..6ed8e201c --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_cp/test_cp_folder_with_different_item_types_success[DeploymentPlan].yaml @@ -0,0 +1,3586 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "6515d338-3aec-46ba-b72f-d8a88ed43bff", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4027' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:16 GMT + Pragma: + - no-cache + RequestId: + - a59f5448-4357-5cef-bbab-5f9c463b78cd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "6515d338-3aec-46ba-b72f-d8a88ed43bff", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4027' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:16 GMT + Pragma: + - no-cache + RequestId: + - d171f82f-2fcf-58cb-9a03-5a0ae49d62e9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + 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": "Central US", "state": + "Active"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '594' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:19 GMT + Pragma: + - no-cache + RequestId: + - 88cc6dfb-83ba-500a-a85f-aa7fa187bcfa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001", "capacityId": "00000000-0000-0000-0000-000000000004"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '89' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"id": "1715e4a6-093b-58d2-be0d-f5e0229794f9", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '198' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:26 GMT + Location: + - https://api.fabric.microsoft.com/v1/workspaces/1715e4a6-093b-58d2-be0d-f5e0229794f9 + Pragma: + - no-cache + RequestId: + - 1fc15d71-4aaf-50ee-9b88-2ef7e3364a94 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "6515d338-3aec-46ba-b72f-d8a88ed43bff", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "1715e4a6-093b-58d2-be0d-f5e0229794f9", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4064' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:26 GMT + Pragma: + - no-cache + RequestId: + - 5eb602b1-0ee1-5b3a-afa7-6cc43ddf64ee + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "6515d338-3aec-46ba-b72f-d8a88ed43bff", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "1715e4a6-093b-58d2-be0d-f5e0229794f9", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4064' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:27 GMT + Pragma: + - no-cache + RequestId: + - 383723e8-86a0-5ffc-a994-127172202e2c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + 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": "Central US", "state": + "Active"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '590' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:30 GMT + Pragma: + - no-cache + RequestId: + - 96cc7c80-7836-5b18-ba3e-afe448e5b5cc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000002", "capacityId": "00000000-0000-0000-0000-000000000004"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '89' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"id": "fa1aa495-dee7-5ef4-af23-8d6527ef5592", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '197' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:38 GMT + Location: + - https://api.fabric.microsoft.com/v1/workspaces/fa1aa495-dee7-5ef4-af23-8d6527ef5592 + Pragma: + - no-cache + RequestId: + - 96376242-77da-5083-863d-b7c2f8a55ba6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "6515d338-3aec-46ba-b72f-d8a88ed43bff", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "1715e4a6-093b-58d2-be0d-f5e0229794f9", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "fa1aa495-dee7-5ef4-af23-8d6527ef5592", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4101' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:38 GMT + Pragma: + - no-cache + RequestId: + - 773366fa-d316-5bb6-8c8d-aca3b545e612 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1715e4a6-093b-58d2-be0d-f5e0229794f9/folders?recursive=True + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:39 GMT + Pragma: + - no-cache + RequestId: + - c9e9ffcd-bf50-5a2c-8587-f223dbaefc37 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1715e4a6-093b-58d2-be0d-f5e0229794f9/folders?recursive=True + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:39 GMT + Pragma: + - no-cache + RequestId: + - 881ef0cb-eace-5470-9473-11db8c6ce423 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000003"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '35' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/1715e4a6-093b-58d2-be0d-f5e0229794f9/folders + response: + body: + string: '{"id": "dadab1e3-db21-5611-93aa-aeab78742433", "displayName": "fabcli000003", + "workspaceId": "1715e4a6-093b-58d2-be0d-f5e0229794f9"}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '132' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:39 GMT + Location: + - https://api.fabric.microsoft.com/v1/workspaces/1715e4a6-093b-58d2-be0d-f5e0229794f9/folders/dadab1e3-db21-5611-93aa-aeab78742433 + Pragma: + - no-cache + RequestId: + - a8ccd36b-43c8-5de7-90ec-8a300f716cf6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "6515d338-3aec-46ba-b72f-d8a88ed43bff", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "1715e4a6-093b-58d2-be0d-f5e0229794f9", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "fa1aa495-dee7-5ef4-af23-8d6527ef5592", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4101' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:40 GMT + Pragma: + - no-cache + RequestId: + - 34f70e86-7ff8-5db5-a957-5427f8264ee3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1715e4a6-093b-58d2-be0d-f5e0229794f9/folders?recursive=True + response: + body: + string: '{"value": [{"id": "dadab1e3-db21-5611-93aa-aeab78742433", "displayName": + "fabcli000003", "workspaceId": "1715e4a6-093b-58d2-be0d-f5e0229794f9"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '143' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:40 GMT + Pragma: + - no-cache + RequestId: + - 9cc72d1d-9748-5df0-a7bb-0ced72678eab + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1715e4a6-093b-58d2-be0d-f5e0229794f9/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:40 GMT + Pragma: + - no-cache + RequestId: + - 60ee6e65-3c8e-5849-a86e-b9bd74cc5934 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1715e4a6-093b-58d2-be0d-f5e0229794f9/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:42 GMT + Pragma: + - no-cache + RequestId: + - dbc4f49a-4c68-5501-b70b-3b6f2f5b0de7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000004", "type": "DeploymentPlan", "folderId": "dadab1e3-db21-5611-93aa-aeab78742433"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '113' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/1715e4a6-093b-58d2-be0d-f5e0229794f9/deploymentPlans + response: + body: + string: '{"id": "989acb34-44b2-5228-8315-06dd2932c407", "type": "DeploymentPlan", + "displayName": "fabcli000004", "description": "", "workspaceId": "1715e4a6-093b-58d2-be0d-f5e0229794f9", + "logicalId": null, "folderId": "dadab1e3-db21-5611-93aa-aeab78742433"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '204' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:44 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 02b5fd3b-7dc3-57fc-b88e-b14b08ae200f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "6515d338-3aec-46ba-b72f-d8a88ed43bff", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "1715e4a6-093b-58d2-be0d-f5e0229794f9", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "fa1aa495-dee7-5ef4-af23-8d6527ef5592", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4101' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:45 GMT + Pragma: + - no-cache + RequestId: + - fa2e405d-08bc-567f-ab6b-c9b859743d19 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1715e4a6-093b-58d2-be0d-f5e0229794f9/folders?recursive=True + response: + body: + string: '{"value": [{"id": "dadab1e3-db21-5611-93aa-aeab78742433", "displayName": + "fabcli000003", "workspaceId": "1715e4a6-093b-58d2-be0d-f5e0229794f9"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '143' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:45 GMT + Pragma: + - no-cache + RequestId: + - c5980c20-de9b-576d-ad5f-bba82c3e4d88 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "6515d338-3aec-46ba-b72f-d8a88ed43bff", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "1715e4a6-093b-58d2-be0d-f5e0229794f9", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "fa1aa495-dee7-5ef4-af23-8d6527ef5592", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4101' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:45 GMT + Pragma: + - no-cache + RequestId: + - 9815256e-9949-5c7b-8a10-7a82d087dfc3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "6515d338-3aec-46ba-b72f-d8a88ed43bff", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "1715e4a6-093b-58d2-be0d-f5e0229794f9", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "fa1aa495-dee7-5ef4-af23-8d6527ef5592", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4101' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:46 GMT + Pragma: + - no-cache + RequestId: + - 88feacaf-0e35-5a62-a97d-f12c81b26d81 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/fa1aa495-dee7-5ef4-af23-8d6527ef5592/folders?recursive=True + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:46 GMT + Pragma: + - no-cache + RequestId: + - d67f33d9-4d8b-5bf4-8d63-9d80e46088a5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/fa1aa495-dee7-5ef4-af23-8d6527ef5592/folders?recursive=True + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:46 GMT + Pragma: + - no-cache + RequestId: + - adb1d3ed-bac7-55d0-a5d7-d5e15e9d8178 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000003"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '35' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/fa1aa495-dee7-5ef4-af23-8d6527ef5592/folders + response: + body: + string: '{"id": "d8e782c3-fb2d-5273-8d84-473aca2b72df", "displayName": "fabcli000003", + "workspaceId": "fa1aa495-dee7-5ef4-af23-8d6527ef5592"}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '134' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:46 GMT + Location: + - https://api.fabric.microsoft.com/v1/workspaces/fa1aa495-dee7-5ef4-af23-8d6527ef5592/folders/d8e782c3-fb2d-5273-8d84-473aca2b72df + Pragma: + - no-cache + RequestId: + - 875ce727-46f4-503c-879c-9b7d542f5b87 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1715e4a6-093b-58d2-be0d-f5e0229794f9/items + response: + body: + string: '{"value": [{"id": "989acb34-44b2-5228-8315-06dd2932c407", "type": "DeploymentPlan", + "displayName": "fabcli000004", "description": "", "workspaceId": "1715e4a6-093b-58d2-be0d-f5e0229794f9", + "logicalId": null, "folderId": "dadab1e3-db21-5611-93aa-aeab78742433"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '215' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:47 GMT + Pragma: + - no-cache + RequestId: + - c5c57e85-1305-5c1d-a177-f06c40363651 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1715e4a6-093b-58d2-be0d-f5e0229794f9/folders?recursive=True + response: + body: + string: '{"value": [{"id": "dadab1e3-db21-5611-93aa-aeab78742433", "displayName": + "fabcli000003", "workspaceId": "1715e4a6-093b-58d2-be0d-f5e0229794f9"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '143' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:47 GMT + Pragma: + - no-cache + RequestId: + - f8734d75-117d-5bae-ae22-501d0270aa48 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1715e4a6-093b-58d2-be0d-f5e0229794f9/folders?recursive=True + response: + body: + string: '{"value": [{"id": "dadab1e3-db21-5611-93aa-aeab78742433", "displayName": + "fabcli000003", "workspaceId": "1715e4a6-093b-58d2-be0d-f5e0229794f9"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '143' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:47 GMT + Pragma: + - no-cache + RequestId: + - e3af6834-6991-5825-afd0-52389069d8fb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1715e4a6-093b-58d2-be0d-f5e0229794f9/items + response: + body: + string: '{"value": [{"id": "989acb34-44b2-5228-8315-06dd2932c407", "type": "DeploymentPlan", + "displayName": "fabcli000004", "description": "", "workspaceId": "1715e4a6-093b-58d2-be0d-f5e0229794f9", + "logicalId": null, "folderId": "dadab1e3-db21-5611-93aa-aeab78742433"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '215' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:48 GMT + Pragma: + - no-cache + RequestId: + - 1eca92a4-72f7-5317-af60-1c9c6a1d876f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1715e4a6-093b-58d2-be0d-f5e0229794f9/folders?recursive=True + response: + body: + string: '{"value": [{"id": "dadab1e3-db21-5611-93aa-aeab78742433", "displayName": + "fabcli000003", "workspaceId": "1715e4a6-093b-58d2-be0d-f5e0229794f9"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '143' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:48 GMT + Pragma: + - no-cache + RequestId: + - 82542afc-8cca-5637-885d-07582a317ec6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1715e4a6-093b-58d2-be0d-f5e0229794f9/folders?recursive=True + response: + body: + string: '{"value": [{"id": "dadab1e3-db21-5611-93aa-aeab78742433", "displayName": + "fabcli000003", "workspaceId": "1715e4a6-093b-58d2-be0d-f5e0229794f9"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '143' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:48 GMT + Pragma: + - no-cache + RequestId: + - 8af1bfc1-7f6a-58e1-9ea7-9aabd121950a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "6515d338-3aec-46ba-b72f-d8a88ed43bff", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "1715e4a6-093b-58d2-be0d-f5e0229794f9", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "fa1aa495-dee7-5ef4-af23-8d6527ef5592", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4101' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:49 GMT + Pragma: + - no-cache + RequestId: + - 4d6ba4b3-6fc3-5fda-bdc7-ea14b6811815 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/fa1aa495-dee7-5ef4-af23-8d6527ef5592/folders?recursive=True + response: + body: + string: '{"value": [{"id": "d8e782c3-fb2d-5273-8d84-473aca2b72df", "displayName": + "fabcli000003", "workspaceId": "fa1aa495-dee7-5ef4-af23-8d6527ef5592"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '145' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:49 GMT + Pragma: + - no-cache + RequestId: + - c01cc597-1a0a-513e-a35e-6a6573c79935 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/fa1aa495-dee7-5ef4-af23-8d6527ef5592/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:50 GMT + Pragma: + - no-cache + RequestId: + - 23c34cf2-6f61-5f6d-9a08-c084de783a03 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/fa1aa495-dee7-5ef4-af23-8d6527ef5592/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:49 GMT + Pragma: + - no-cache + RequestId: + - e5492f1e-583d-5071-95f9-4a1904b13e4c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/fa1aa495-dee7-5ef4-af23-8d6527ef5592/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:50 GMT + Pragma: + - no-cache + RequestId: + - 33b9266a-1dcd-54dc-b9b4-efacd466dc47 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1715e4a6-093b-58d2-be0d-f5e0229794f9/items/989acb34-44b2-5228-8315-06dd2932c407 + response: + body: + string: '{"id": "989acb34-44b2-5228-8315-06dd2932c407", "type": "DeploymentPlan", + "displayName": "fabcli000004", "description": "", "workspaceId": "1715e4a6-093b-58d2-be0d-f5e0229794f9", + "logicalId": null, "folderId": "dadab1e3-db21-5611-93aa-aeab78742433"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '204' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:51 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - f322aac9-ce1d-5d50-b318-aa3455fad4d0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/1715e4a6-093b-58d2-be0d-f5e0229794f9/items/989acb34-44b2-5228-8315-06dd2932c407/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "plan.yml", "payload": "JHNjaGVtYTogaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vZGVwbG95bWVudFBsYW4vZGVmaW5pdGlvbi9wbGFuLzEuMC4wL3NjaGVtYS5qc29uCnZlcnNpb246IDEuMC4w", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkRlcGxveW1lbnRQbGFuIiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDQiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '500' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:51 GMT + Pragma: + - no-cache + RequestId: + - 41f74a1e-5827-50d4-adf4-756b4aa32147 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"type": "DeploymentPlan", "displayName": "fabcli000004", "definition": + {"parts": [{"path": "plan.yml", "payload": "JHNjaGVtYTogaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vZGVwbG95bWVudFBsYW4vZGVmaW5pdGlvbi9wbGFuLzEuMC4wL3NjaGVtYS5qc29uCnZlcnNpb246IDEuMC4w", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkRlcGxveW1lbnRQbGFuIiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDQiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}, "folderId": "d8e782c3-fb2d-5273-8d84-473aca2b72df"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '861' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/fa1aa495-dee7-5ef4-af23-8d6527ef5592/items + response: + body: + string: '{"id": "2db616b4-b42d-5e39-83cf-c55b589ab11c", "type": "DeploymentPlan", + "displayName": "fabcli000004", "description": "", "workspaceId": "fa1aa495-dee7-5ef4-af23-8d6527ef5592", + "logicalId": null, "folderId": "d8e782c3-fb2d-5273-8d84-473aca2b72df"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '205' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:53 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 4cda153a-1f8d-5550-a92d-39d8fa271bcf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1715e4a6-093b-58d2-be0d-f5e0229794f9/items + response: + body: + string: '{"value": [{"id": "989acb34-44b2-5228-8315-06dd2932c407", "type": "DeploymentPlan", + "displayName": "fabcli000004", "description": "", "workspaceId": "1715e4a6-093b-58d2-be0d-f5e0229794f9", + "logicalId": null, "folderId": "dadab1e3-db21-5611-93aa-aeab78742433"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '215' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:54 GMT + Pragma: + - no-cache + RequestId: + - 2e75200f-3257-542d-bd44-1d49f30f76a1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1715e4a6-093b-58d2-be0d-f5e0229794f9/folders?recursive=True + response: + body: + string: '{"value": [{"id": "dadab1e3-db21-5611-93aa-aeab78742433", "displayName": + "fabcli000003", "workspaceId": "1715e4a6-093b-58d2-be0d-f5e0229794f9"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '143' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:54 GMT + Pragma: + - no-cache + RequestId: + - 8ab8df2b-fa44-5944-bbaf-e3349fd38711 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1715e4a6-093b-58d2-be0d-f5e0229794f9/folders?recursive=True + response: + body: + string: '{"value": [{"id": "dadab1e3-db21-5611-93aa-aeab78742433", "displayName": + "fabcli000003", "workspaceId": "1715e4a6-093b-58d2-be0d-f5e0229794f9"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '143' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:54 GMT + Pragma: + - no-cache + RequestId: + - 38253f42-98b6-5e78-8065-b2295ea66469 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "6515d338-3aec-46ba-b72f-d8a88ed43bff", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "1715e4a6-093b-58d2-be0d-f5e0229794f9", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "fa1aa495-dee7-5ef4-af23-8d6527ef5592", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4101' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:55 GMT + Pragma: + - no-cache + RequestId: + - ab9cece8-5ad2-5f52-b5be-9b7b91e50e1d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/fa1aa495-dee7-5ef4-af23-8d6527ef5592/items + response: + body: + string: '{"value": [{"id": "2db616b4-b42d-5e39-83cf-c55b589ab11c", "type": "DeploymentPlan", + "displayName": "fabcli000004", "description": "", "workspaceId": "fa1aa495-dee7-5ef4-af23-8d6527ef5592", + "logicalId": null, "folderId": "d8e782c3-fb2d-5273-8d84-473aca2b72df"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '215' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:56 GMT + Pragma: + - no-cache + RequestId: + - 2b2c39ff-e51d-511b-a143-d1aeea732bc3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/fa1aa495-dee7-5ef4-af23-8d6527ef5592/folders?recursive=True + response: + body: + string: '{"value": [{"id": "d8e782c3-fb2d-5273-8d84-473aca2b72df", "displayName": + "fabcli000003", "workspaceId": "fa1aa495-dee7-5ef4-af23-8d6527ef5592"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '145' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:56 GMT + Pragma: + - no-cache + RequestId: + - 846458b7-f162-5088-9f78-e15c0d045330 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/fa1aa495-dee7-5ef4-af23-8d6527ef5592/folders?recursive=True + response: + body: + string: '{"value": [{"id": "d8e782c3-fb2d-5273-8d84-473aca2b72df", "displayName": + "fabcli000003", "workspaceId": "fa1aa495-dee7-5ef4-af23-8d6527ef5592"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '145' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:56 GMT + Pragma: + - no-cache + RequestId: + - 6a450715-6987-5494-b199-e21e8f8ec0bd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "6515d338-3aec-46ba-b72f-d8a88ed43bff", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "1715e4a6-093b-58d2-be0d-f5e0229794f9", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "fa1aa495-dee7-5ef4-af23-8d6527ef5592", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4101' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:56 GMT + Pragma: + - no-cache + RequestId: + - b890bb22-4f55-5584-a700-d83c282a03e7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/fa1aa495-dee7-5ef4-af23-8d6527ef5592/folders?recursive=True + response: + body: + string: '{"value": [{"id": "d8e782c3-fb2d-5273-8d84-473aca2b72df", "displayName": + "fabcli000003", "workspaceId": "fa1aa495-dee7-5ef4-af23-8d6527ef5592"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '145' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:56 GMT + Pragma: + - no-cache + RequestId: + - dc3e4120-cdce-5ff7-91ff-51729caea4f0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/fa1aa495-dee7-5ef4-af23-8d6527ef5592/items + response: + body: + string: '{"value": [{"id": "2db616b4-b42d-5e39-83cf-c55b589ab11c", "type": "DeploymentPlan", + "displayName": "fabcli000004", "description": "", "workspaceId": "fa1aa495-dee7-5ef4-af23-8d6527ef5592", + "logicalId": null, "folderId": "d8e782c3-fb2d-5273-8d84-473aca2b72df"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '215' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:57 GMT + Pragma: + - no-cache + RequestId: + - 43137d44-cf7a-55ad-a3b6-ac371f72c307 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/fa1aa495-dee7-5ef4-af23-8d6527ef5592/folders?recursive=True + response: + body: + string: '{"value": [{"id": "d8e782c3-fb2d-5273-8d84-473aca2b72df", "displayName": + "fabcli000003", "workspaceId": "fa1aa495-dee7-5ef4-af23-8d6527ef5592"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '145' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:57 GMT + Pragma: + - no-cache + RequestId: + - 839b4434-d9d5-5f18-b61b-7619da8df748 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/fa1aa495-dee7-5ef4-af23-8d6527ef5592/folders?recursive=True + response: + body: + string: '{"value": [{"id": "d8e782c3-fb2d-5273-8d84-473aca2b72df", "displayName": + "fabcli000003", "workspaceId": "fa1aa495-dee7-5ef4-af23-8d6527ef5592"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '145' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:58 GMT + Pragma: + - no-cache + RequestId: + - 014f1ae2-eb8f-5bb5-bf9e-e988a9ef73a4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "6515d338-3aec-46ba-b72f-d8a88ed43bff", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "1715e4a6-093b-58d2-be0d-f5e0229794f9", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "fa1aa495-dee7-5ef4-af23-8d6527ef5592", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4101' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:57 GMT + Pragma: + - no-cache + RequestId: + - 74b57492-cd94-55f2-9453-432d98227de2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/fa1aa495-dee7-5ef4-af23-8d6527ef5592/folders?recursive=True + response: + body: + string: '{"value": [{"id": "d8e782c3-fb2d-5273-8d84-473aca2b72df", "displayName": + "fabcli000003", "workspaceId": "fa1aa495-dee7-5ef4-af23-8d6527ef5592"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '145' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:58 GMT + Pragma: + - no-cache + RequestId: + - 72484381-24e0-5544-aabe-c555ff7b7bb6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/fa1aa495-dee7-5ef4-af23-8d6527ef5592/items + response: + body: + string: '{"value": [{"id": "2db616b4-b42d-5e39-83cf-c55b589ab11c", "type": "DeploymentPlan", + "displayName": "fabcli000004", "description": "", "workspaceId": "fa1aa495-dee7-5ef4-af23-8d6527ef5592", + "logicalId": null, "folderId": "d8e782c3-fb2d-5273-8d84-473aca2b72df"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '215' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:59 GMT + Pragma: + - no-cache + RequestId: + - 84ca5eb2-dd92-5920-8bc8-acd432d066cd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/fa1aa495-dee7-5ef4-af23-8d6527ef5592/folders?recursive=True + response: + body: + string: '{"value": [{"id": "d8e782c3-fb2d-5273-8d84-473aca2b72df", "displayName": + "fabcli000003", "workspaceId": "fa1aa495-dee7-5ef4-af23-8d6527ef5592"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '145' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:58 GMT + Pragma: + - no-cache + RequestId: + - e756c84d-dc0d-59ad-a08d-426a2c596c9e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/fa1aa495-dee7-5ef4-af23-8d6527ef5592/items/2db616b4-b42d-5e39-83cf-c55b589ab11c + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:06:59 GMT + Pragma: + - no-cache + RequestId: + - 7ab7694a-4044-508a-b0e2-33d90501382e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "6515d338-3aec-46ba-b72f-d8a88ed43bff", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "1715e4a6-093b-58d2-be0d-f5e0229794f9", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "fa1aa495-dee7-5ef4-af23-8d6527ef5592", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4101' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:00 GMT + Pragma: + - no-cache + RequestId: + - cd951c85-6fb6-5237-9696-0189d0639c9b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/fa1aa495-dee7-5ef4-af23-8d6527ef5592/folders?recursive=True + response: + body: + string: '{"value": [{"id": "d8e782c3-fb2d-5273-8d84-473aca2b72df", "displayName": + "fabcli000003", "workspaceId": "fa1aa495-dee7-5ef4-af23-8d6527ef5592"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '145' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:00 GMT + Pragma: + - no-cache + RequestId: + - 6de8aae0-0b8f-5777-9e18-e7a36ae3d8a0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/fa1aa495-dee7-5ef4-af23-8d6527ef5592/folders/d8e782c3-fb2d-5273-8d84-473aca2b72df + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:07:01 GMT + Pragma: + - no-cache + RequestId: + - 3f6e6ca9-9ab0-50cf-afed-ce1c09514ba7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "6515d338-3aec-46ba-b72f-d8a88ed43bff", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "1715e4a6-093b-58d2-be0d-f5e0229794f9", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "fa1aa495-dee7-5ef4-af23-8d6527ef5592", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4101' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:01 GMT + Pragma: + - no-cache + RequestId: + - c9178266-90fc-59f3-8c2a-0a65d142b8bc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1715e4a6-093b-58d2-be0d-f5e0229794f9/folders?recursive=True + response: + body: + string: '{"value": [{"id": "dadab1e3-db21-5611-93aa-aeab78742433", "displayName": + "fabcli000003", "workspaceId": "1715e4a6-093b-58d2-be0d-f5e0229794f9"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '143' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:01 GMT + Pragma: + - no-cache + RequestId: + - 53f94203-9760-543d-9a28-229b3a8f74b6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1715e4a6-093b-58d2-be0d-f5e0229794f9/items + response: + body: + string: '{"value": [{"id": "989acb34-44b2-5228-8315-06dd2932c407", "type": "DeploymentPlan", + "displayName": "fabcli000004", "description": "", "workspaceId": "1715e4a6-093b-58d2-be0d-f5e0229794f9", + "logicalId": null, "folderId": "dadab1e3-db21-5611-93aa-aeab78742433"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '215' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:01 GMT + Pragma: + - no-cache + RequestId: + - 897ddcdd-5a6e-54ef-a283-b584bf83d2f7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1715e4a6-093b-58d2-be0d-f5e0229794f9/folders?recursive=True + response: + body: + string: '{"value": [{"id": "dadab1e3-db21-5611-93aa-aeab78742433", "displayName": + "fabcli000003", "workspaceId": "1715e4a6-093b-58d2-be0d-f5e0229794f9"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '143' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:01 GMT + Pragma: + - no-cache + RequestId: + - 3fecde24-d184-5a57-8c5c-6aaca3ddb33a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/1715e4a6-093b-58d2-be0d-f5e0229794f9/items/989acb34-44b2-5228-8315-06dd2932c407 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:07:02 GMT + Pragma: + - no-cache + RequestId: + - 683740f3-63df-51a3-ba85-a5f88be9b07c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "6515d338-3aec-46ba-b72f-d8a88ed43bff", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "1715e4a6-093b-58d2-be0d-f5e0229794f9", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "fa1aa495-dee7-5ef4-af23-8d6527ef5592", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4101' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:02 GMT + Pragma: + - no-cache + RequestId: + - 55f2ce6d-6546-5a15-8cec-95f4f1c4a251 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1715e4a6-093b-58d2-be0d-f5e0229794f9/folders?recursive=True + response: + body: + string: '{"value": [{"id": "dadab1e3-db21-5611-93aa-aeab78742433", "displayName": + "fabcli000003", "workspaceId": "1715e4a6-093b-58d2-be0d-f5e0229794f9"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '143' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:03 GMT + Pragma: + - no-cache + RequestId: + - d1e637e6-e33b-592e-b6e5-d13678b78b2c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/1715e4a6-093b-58d2-be0d-f5e0229794f9/folders/dadab1e3-db21-5611-93aa-aeab78742433 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:07:03 GMT + Pragma: + - no-cache + RequestId: + - 8abfae93-c1e4-5f3b-a34b-db0de0f5d674 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "6515d338-3aec-46ba-b72f-d8a88ed43bff", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "1715e4a6-093b-58d2-be0d-f5e0229794f9", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "fa1aa495-dee7-5ef4-af23-8d6527ef5592", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4101' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:04 GMT + Pragma: + - no-cache + RequestId: + - a6ab6067-e4db-5aed-b99c-dedd2f18b7cb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1715e4a6-093b-58d2-be0d-f5e0229794f9/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:04 GMT + Pragma: + - no-cache + RequestId: + - 92b377b6-ef08-5ccc-b1b9-931098023739 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/1715e4a6-093b-58d2-be0d-f5e0229794f9 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:07:05 GMT + Pragma: + - no-cache + RequestId: + - 95cf127a-ceaf-59cd-8ecb-32de7b5a795f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "6515d338-3aec-46ba-b72f-d8a88ed43bff", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "fa1aa495-dee7-5ef4-af23-8d6527ef5592", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4063' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:05 GMT + Pragma: + - no-cache + RequestId: + - 6161ff0d-f36b-5d8c-80c4-ab4c28985257 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/fa1aa495-dee7-5ef4-af23-8d6527ef5592/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:05 GMT + Pragma: + - no-cache + RequestId: + - 589e6769-7a66-568a-9ebd-ce2ef0d75b8f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/fa1aa495-dee7-5ef4-af23-8d6527ef5592 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:07:05 GMT + Pragma: + - no-cache + RequestId: + - bda5cd4e-0060-51a8-a343-d34151955cf2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_cp/test_cp_item_to_item_success[DeploymentPlan].yaml b/tests/test_commands/recordings/test_commands/test_cp/test_cp_item_to_item_success[DeploymentPlan].yaml new file mode 100644 index 000000000..73f4b131f --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_cp/test_cp_item_to_item_success[DeploymentPlan].yaml @@ -0,0 +1,1732 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "6515d338-3aec-46ba-b72f-d8a88ed43bff", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4027' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:31 GMT + Pragma: + - no-cache + RequestId: + - c501e84a-47df-59ed-8071-240965baa251 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "6515d338-3aec-46ba-b72f-d8a88ed43bff", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4027' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:31 GMT + Pragma: + - no-cache + RequestId: + - 27d08c7c-d882-5e42-9386-b184c3c32d96 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + 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": "Central US", "state": + "Active"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '590' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:37 GMT + Pragma: + - no-cache + RequestId: + - 622523f6-1df4-5cb5-809e-2754d9c908bb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001", "capacityId": "00000000-0000-0000-0000-000000000004"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '89' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"id": "df280e01-3b8f-5202-a16d-af4c6643fd0d", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '197' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:44 GMT + Location: + - https://api.fabric.microsoft.com/v1/workspaces/df280e01-3b8f-5202-a16d-af4c6643fd0d + Pragma: + - no-cache + RequestId: + - 5dc9c155-530c-59cc-881c-65ed0766a3df + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "6515d338-3aec-46ba-b72f-d8a88ed43bff", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "df280e01-3b8f-5202-a16d-af4c6643fd0d", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4066' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:44 GMT + Pragma: + - no-cache + RequestId: + - ae57b111-8d3e-58d0-9f92-e312295b5ce2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "6515d338-3aec-46ba-b72f-d8a88ed43bff", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "df280e01-3b8f-5202-a16d-af4c6643fd0d", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4066' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:44 GMT + Pragma: + - no-cache + RequestId: + - b9ee14a2-0e90-50a6-a52e-a5de08de2d40 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + 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": "Central US", "state": + "Active"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '590' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:50 GMT + Pragma: + - no-cache + RequestId: + - 7a00983a-7a4a-50cc-bfcd-b0c9b0a60853 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000002", "capacityId": "00000000-0000-0000-0000-000000000004"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '89' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"id": "b5a27be1-8d33-5a95-bf3f-f2fe89b13d03", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '197' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:57 GMT + Location: + - https://api.fabric.microsoft.com/v1/workspaces/b5a27be1-8d33-5a95-bf3f-f2fe89b13d03 + Pragma: + - no-cache + RequestId: + - 7abefb16-d395-5020-a3fb-044dbedbeec3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "6515d338-3aec-46ba-b72f-d8a88ed43bff", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "df280e01-3b8f-5202-a16d-af4c6643fd0d", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "b5a27be1-8d33-5a95-bf3f-f2fe89b13d03", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4102' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:58 GMT + Pragma: + - no-cache + RequestId: + - 86e8b449-d329-5dfc-ad91-35775333542b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/df280e01-3b8f-5202-a16d-af4c6643fd0d/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:58 GMT + Pragma: + - no-cache + RequestId: + - 046b4a92-977b-5999-ab8b-54fc9585bf77 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/df280e01-3b8f-5202-a16d-af4c6643fd0d/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:59 GMT + Pragma: + - no-cache + RequestId: + - ce93a92b-6e5e-511a-82f1-f1478f713f99 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000003", "type": "DeploymentPlan", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '79' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/df280e01-3b8f-5202-a16d-af4c6643fd0d/deploymentPlans + response: + body: + string: '{"id": "0e7c58e9-6d3d-5b6a-9878-bf8abc0c60d6", "type": "DeploymentPlan", + "displayName": "fabcli000003", "description": "", "workspaceId": "df280e01-3b8f-5202-a16d-af4c6643fd0d", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:01 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - b824336d-0e6d-5f0a-9d5b-563d6b7a50f5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "6515d338-3aec-46ba-b72f-d8a88ed43bff", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "df280e01-3b8f-5202-a16d-af4c6643fd0d", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "b5a27be1-8d33-5a95-bf3f-f2fe89b13d03", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4102' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:02 GMT + Pragma: + - no-cache + RequestId: + - 044850bc-ef04-5d8b-bc70-312a8fdbbce3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/df280e01-3b8f-5202-a16d-af4c6643fd0d/items + response: + body: + string: '{"value": [{"id": "0e7c58e9-6d3d-5b6a-9878-bf8abc0c60d6", "type": "DeploymentPlan", + "displayName": "fabcli000003", "description": "", "workspaceId": "df280e01-3b8f-5202-a16d-af4c6643fd0d", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:03 GMT + Pragma: + - no-cache + RequestId: + - bd2a08f3-9a30-5179-a850-00f9544486e0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "6515d338-3aec-46ba-b72f-d8a88ed43bff", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "df280e01-3b8f-5202-a16d-af4c6643fd0d", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "b5a27be1-8d33-5a95-bf3f-f2fe89b13d03", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4102' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:02 GMT + Pragma: + - no-cache + RequestId: + - 79e300c7-6fdc-5f40-94d4-8a12679ab6fb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b5a27be1-8d33-5a95-bf3f-f2fe89b13d03/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:04 GMT + Pragma: + - no-cache + RequestId: + - 0f278b93-97bb-5f80-8b14-3f4be318394e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b5a27be1-8d33-5a95-bf3f-f2fe89b13d03/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:04 GMT + Pragma: + - no-cache + RequestId: + - 1fb51fe1-60ba-51c1-af36-313253db0e39 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b5a27be1-8d33-5a95-bf3f-f2fe89b13d03/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:05 GMT + Pragma: + - no-cache + RequestId: + - 3d62e405-c39e-5655-bcec-535d23c8b2c5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/df280e01-3b8f-5202-a16d-af4c6643fd0d/items/0e7c58e9-6d3d-5b6a-9878-bf8abc0c60d6 + response: + body: + string: '{"id": "0e7c58e9-6d3d-5b6a-9878-bf8abc0c60d6", "type": "DeploymentPlan", + "displayName": "fabcli000003", "description": "", "workspaceId": "df280e01-3b8f-5202-a16d-af4c6643fd0d", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:05 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 58b29f9d-94d5-5f87-888c-d6cb7e3b8d25 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/df280e01-3b8f-5202-a16d-af4c6643fd0d/items/0e7c58e9-6d3d-5b6a-9878-bf8abc0c60d6/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "plan.yml", "payload": "JHNjaGVtYTogaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vZGVwbG95bWVudFBsYW4vZGVmaW5pdGlvbi9wbGFuLzEuMC4wL3NjaGVtYS5qc29uCnZlcnNpb246IDEuMC4w", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkRlcGxveW1lbnRQbGFuIiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDMiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '500' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:06 GMT + Pragma: + - no-cache + RequestId: + - f1464062-77e4-5479-8a8f-f6fb076a0bf0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"type": "DeploymentPlan", "displayName": "fabcli000003", "definition": + {"parts": [{"path": "plan.yml", "payload": "JHNjaGVtYTogaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vZGVwbG95bWVudFBsYW4vZGVmaW5pdGlvbi9wbGFuLzEuMC4wL3NjaGVtYS5qc29uCnZlcnNpb246IDEuMC4w", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkRlcGxveW1lbnRQbGFuIiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDMiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}, "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '827' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/b5a27be1-8d33-5a95-bf3f-f2fe89b13d03/items + response: + body: + string: '{"id": "a295cac8-7881-5bc9-b00a-2660dd1aa4f0", "type": "DeploymentPlan", + "displayName": "fabcli000003", "description": "", "workspaceId": "b5a27be1-8d33-5a95-bf3f-f2fe89b13d03", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '169' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:09 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 4941de8d-a14d-5d6f-a349-c806133a23ee + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "6515d338-3aec-46ba-b72f-d8a88ed43bff", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "df280e01-3b8f-5202-a16d-af4c6643fd0d", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "b5a27be1-8d33-5a95-bf3f-f2fe89b13d03", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4102' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:09 GMT + Pragma: + - no-cache + RequestId: + - 8fb11018-ee0c-55b3-900d-c0e57abe2d1d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/df280e01-3b8f-5202-a16d-af4c6643fd0d/items + response: + body: + string: '{"value": [{"id": "0e7c58e9-6d3d-5b6a-9878-bf8abc0c60d6", "type": "DeploymentPlan", + "displayName": "fabcli000003", "description": "", "workspaceId": "df280e01-3b8f-5202-a16d-af4c6643fd0d", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:10 GMT + Pragma: + - no-cache + RequestId: + - 2d7d2f79-78f3-574e-8e61-a2866ee1b2e8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "6515d338-3aec-46ba-b72f-d8a88ed43bff", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "df280e01-3b8f-5202-a16d-af4c6643fd0d", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "b5a27be1-8d33-5a95-bf3f-f2fe89b13d03", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4102' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:10 GMT + Pragma: + - no-cache + RequestId: + - 8e9f2178-2a3f-59ba-8289-bb7b45cd0593 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b5a27be1-8d33-5a95-bf3f-f2fe89b13d03/items + response: + body: + string: '{"value": [{"id": "a295cac8-7881-5bc9-b00a-2660dd1aa4f0", "type": "DeploymentPlan", + "displayName": "fabcli000003", "description": "", "workspaceId": "b5a27be1-8d33-5a95-bf3f-f2fe89b13d03", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:11 GMT + Pragma: + - no-cache + RequestId: + - 0b770966-286d-5e05-9ddc-fc04ec017918 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "6515d338-3aec-46ba-b72f-d8a88ed43bff", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "df280e01-3b8f-5202-a16d-af4c6643fd0d", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "b5a27be1-8d33-5a95-bf3f-f2fe89b13d03", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4102' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:11 GMT + Pragma: + - no-cache + RequestId: + - 87ced8ce-8f51-5791-a9a4-619d54efc34e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/df280e01-3b8f-5202-a16d-af4c6643fd0d/items + response: + body: + string: '{"value": [{"id": "0e7c58e9-6d3d-5b6a-9878-bf8abc0c60d6", "type": "DeploymentPlan", + "displayName": "fabcli000003", "description": "", "workspaceId": "df280e01-3b8f-5202-a16d-af4c6643fd0d", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:11 GMT + Pragma: + - no-cache + RequestId: + - fb8603d1-2c5a-5845-9308-17373b8e4b40 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/df280e01-3b8f-5202-a16d-af4c6643fd0d/items/0e7c58e9-6d3d-5b6a-9878-bf8abc0c60d6 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:06:12 GMT + Pragma: + - no-cache + RequestId: + - f1145574-3bfc-5b4a-9003-4f111709d3ca + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "6515d338-3aec-46ba-b72f-d8a88ed43bff", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "df280e01-3b8f-5202-a16d-af4c6643fd0d", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "b5a27be1-8d33-5a95-bf3f-f2fe89b13d03", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4102' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:13 GMT + Pragma: + - no-cache + RequestId: + - af4c3b3c-9a6a-5cd8-b487-ce86ec16303e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/df280e01-3b8f-5202-a16d-af4c6643fd0d/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:12 GMT + Pragma: + - no-cache + RequestId: + - d7ce5f98-52ed-5157-bda0-325d9b5db250 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/df280e01-3b8f-5202-a16d-af4c6643fd0d + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:06:13 GMT + Pragma: + - no-cache + RequestId: + - 203c4686-e7c9-5ca0-afe8-2041daf3f064 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "6515d338-3aec-46ba-b72f-d8a88ed43bff", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "b5a27be1-8d33-5a95-bf3f-f2fe89b13d03", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4064' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:13 GMT + Pragma: + - no-cache + RequestId: + - f757b9e4-b6df-5d56-9eb3-12940bc00088 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/b5a27be1-8d33-5a95-bf3f-f2fe89b13d03/items + response: + body: + string: '{"value": [{"id": "a295cac8-7881-5bc9-b00a-2660dd1aa4f0", "type": "DeploymentPlan", + "displayName": "fabcli000003", "description": "", "workspaceId": "b5a27be1-8d33-5a95-bf3f-f2fe89b13d03", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:06:14 GMT + Pragma: + - no-cache + RequestId: + - 9a8849fa-7d36-5167-bafb-5c102026b63b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/b5a27be1-8d33-5a95-bf3f-f2fe89b13d03 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:06:14 GMT + Pragma: + - no-cache + RequestId: + - cf8ad3d1-3fa1-5082-9ea9-1d7f00a9574b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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[DeploymentPlan].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[DeploymentPlan].yaml new file mode 100644 index 000000000..70850cac7 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[DeploymentPlan].yaml @@ -0,0 +1,491 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1dde08fd-b958-444d-ad3f-ef2c31b2de5f", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4025' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:50 GMT + Pragma: + - no-cache + RequestId: + - 9f6da9ae-d75c-5ca2-9d90-c3c38958a0d7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1dde08fd-b958-444d-ad3f-ef2c31b2de5f/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:50 GMT + Pragma: + - no-cache + RequestId: + - 4bfc5099-8946-5831-b7ed-873d69a115bf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1dde08fd-b958-444d-ad3f-ef2c31b2de5f/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:51 GMT + Pragma: + - no-cache + RequestId: + - 80d8c1c4-559e-540a-87b4-0ed3da8e6d7c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001", "type": "DeploymentPlan", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '79' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/1dde08fd-b958-444d-ad3f-ef2c31b2de5f/deploymentPlans + response: + body: + string: '{"id": "cbb7f9f6-fed6-5af0-ad86-65eb7d9c88f1", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1dde08fd-b958-444d-ad3f-ef2c31b2de5f", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '169' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:52 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 613efbb5-5f00-5be8-9de1-a1d461187183 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1dde08fd-b958-444d-ad3f-ef2c31b2de5f", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4025' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:52 GMT + Pragma: + - no-cache + RequestId: + - effa04db-ae25-53cb-b84c-074052c7156e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1dde08fd-b958-444d-ad3f-ef2c31b2de5f/items + response: + body: + string: '{"value": [{"id": "cbb7f9f6-fed6-5af0-ad86-65eb7d9c88f1", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1dde08fd-b958-444d-ad3f-ef2c31b2de5f", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:52 GMT + Pragma: + - no-cache + RequestId: + - c64d8b0d-b2a3-5ef2-977f-4d133a81c6f7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1dde08fd-b958-444d-ad3f-ef2c31b2de5f/items + response: + body: + string: '{"value": [{"id": "cbb7f9f6-fed6-5af0-ad86-65eb7d9c88f1", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1dde08fd-b958-444d-ad3f-ef2c31b2de5f", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:53 GMT + Pragma: + - no-cache + RequestId: + - 96ac19c0-3773-5b37-8bf1-b61aa61dd3c8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1dde08fd-b958-444d-ad3f-ef2c31b2de5f", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4025' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:53 GMT + Pragma: + - no-cache + RequestId: + - 610c1cd9-8567-503a-9cc6-f59056239417 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1dde08fd-b958-444d-ad3f-ef2c31b2de5f/items + response: + body: + string: '{"value": [{"id": "cbb7f9f6-fed6-5af0-ad86-65eb7d9c88f1", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1dde08fd-b958-444d-ad3f-ef2c31b2de5f", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:54 GMT + Pragma: + - no-cache + RequestId: + - 2d0036cb-6c3b-5339-9a15-bac3e9eb9ce6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/1dde08fd-b958-444d-ad3f-ef2c31b2de5f/items/cbb7f9f6-fed6-5af0-ad86-65eb7d9c88f1 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:02:54 GMT + Pragma: + - no-cache + RequestId: + - 26d4ecb5-3657-5964-9303-7eb85ffbe794 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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[DeploymentPlan].yaml b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[DeploymentPlan].yaml new file mode 100644 index 000000000..53e67b84d --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[DeploymentPlan].yaml @@ -0,0 +1,443 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1dde08fd-b958-444d-ad3f-ef2c31b2de5f", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4025' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:44 GMT + Pragma: + - no-cache + RequestId: + - 1e16fc76-dd79-573b-af37-43934d84485b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1dde08fd-b958-444d-ad3f-ef2c31b2de5f/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:45 GMT + Pragma: + - no-cache + RequestId: + - a63c3f26-210e-59d6-af3f-0411e3921cd6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1dde08fd-b958-444d-ad3f-ef2c31b2de5f/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:45 GMT + Pragma: + - no-cache + RequestId: + - 53162cf1-0bd3-5905-9c95-ac476bd6121c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001", "type": "DeploymentPlan", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '79' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/1dde08fd-b958-444d-ad3f-ef2c31b2de5f/deploymentPlans + response: + body: + string: '{"id": "26e66d1e-4b6a-5605-9780-1fcf4d515b66", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1dde08fd-b958-444d-ad3f-ef2c31b2de5f", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:48 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 5e8566de-3a54-5d35-9667-1edc95480f12 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1dde08fd-b958-444d-ad3f-ef2c31b2de5f", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4025' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:47 GMT + Pragma: + - no-cache + RequestId: + - bd9e6587-5ee4-5aae-a075-42216ac6ed61 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1dde08fd-b958-444d-ad3f-ef2c31b2de5f/items + response: + body: + string: '{"value": [{"id": "26e66d1e-4b6a-5605-9780-1fcf4d515b66", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1dde08fd-b958-444d-ad3f-ef2c31b2de5f", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:49 GMT + Pragma: + - no-cache + RequestId: + - c7a74866-9901-5121-b63d-b95a059a3cfc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1dde08fd-b958-444d-ad3f-ef2c31b2de5f", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4025' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:49 GMT + Pragma: + - no-cache + RequestId: + - 8cc227d5-5a90-5397-825b-1883f90ae55e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1dde08fd-b958-444d-ad3f-ef2c31b2de5f/items + response: + body: + string: '{"value": [{"id": "26e66d1e-4b6a-5605-9780-1fcf4d515b66", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1dde08fd-b958-444d-ad3f-ef2c31b2de5f", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:49 GMT + Pragma: + - no-cache + RequestId: + - f8c05bc1-9323-5ff3-ac2d-e2cc989d338e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/1dde08fd-b958-444d-ad3f-ef2c31b2de5f/items/26e66d1e-4b6a-5605-9780-1fcf4d515b66 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:02:50 GMT + Pragma: + - no-cache + RequestId: + - 9822f6e7-cf8c-5d43-8ec8-fceb332b5888 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_export/test_export_item_default_format_success[DeploymentPlan-2].yaml b/tests/test_commands/recordings/test_commands/test_export/test_export_item_default_format_success[DeploymentPlan-2].yaml new file mode 100644 index 000000000..dc4df33c7 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_export/test_export_item_default_format_success[DeploymentPlan-2].yaml @@ -0,0 +1,543 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:41 GMT + Pragma: + - no-cache + RequestId: + - 342b56f2-4a8f-562d-a2d4-f96574ab7c1d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:41 GMT + Pragma: + - no-cache + RequestId: + - 1fcbbccc-a690-5b0d-948c-a8f405bf70e8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:42 GMT + Pragma: + - no-cache + RequestId: + - 095fcdcc-c545-56cd-ab3b-eebf45925096 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001", "type": "DeploymentPlan", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '79' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/deploymentPlans + response: + body: + string: '{"id": "7ebf7b2b-7b70-58e0-a4c0-ab905c2b833e", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '169' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:43 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 45f407d0-79b6-53f9-b7b4-720c19b4125b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:43 GMT + Pragma: + - no-cache + RequestId: + - 9a5a5ae8-03a5-5853-89ed-e53dbb106f5b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items + response: + body: + string: '{"value": [{"id": "7ebf7b2b-7b70-58e0-a4c0-ab905c2b833e", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:44 GMT + Pragma: + - no-cache + RequestId: + - f39a805c-f0d9-5676-a01f-73789f09b75b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items/7ebf7b2b-7b70-58e0-a4c0-ab905c2b833e + response: + body: + string: '{"id": "7ebf7b2b-7b70-58e0-a4c0-ab905c2b833e", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '169' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:44 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - fc77ec21-69b7-5f1d-9c8f-dac634fb1da3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items/7ebf7b2b-7b70-58e0-a4c0-ab905c2b833e/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "plan.yml", "payload": "JHNjaGVtYTogaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vZGVwbG95bWVudFBsYW4vZGVmaW5pdGlvbi9wbGFuLzEuMC4wL3NjaGVtYS5qc29uCnZlcnNpb246IDEuMC4w", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkRlcGxveW1lbnRQbGFuIiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '500' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:45 GMT + Pragma: + - no-cache + RequestId: + - 01b08fb4-a1fe-5f38-81f7-5d72c34d0ca4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:45 GMT + Pragma: + - no-cache + RequestId: + - a7997500-b79f-5c9b-a4cd-9ad73c2e1b98 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items + response: + body: + string: '{"value": [{"id": "7ebf7b2b-7b70-58e0-a4c0-ab905c2b833e", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:46 GMT + Pragma: + - no-cache + RequestId: + - b97c0e32-94c6-5308-b282-39c8b70c2764 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items/7ebf7b2b-7b70-58e0-a4c0-ab905c2b833e + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:04:46 GMT + Pragma: + - no-cache + RequestId: + - ad037186-fbcc-5d7d-8206-588cf09522f0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_export/test_export_item_format_success[DeploymentPlan-DeploymentPlanFormat].yaml b/tests/test_commands/recordings/test_commands/test_export/test_export_item_format_success[DeploymentPlan-DeploymentPlanFormat].yaml new file mode 100644 index 000000000..44aee7c1b --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_export/test_export_item_format_success[DeploymentPlan-DeploymentPlanFormat].yaml @@ -0,0 +1,544 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:35 GMT + Pragma: + - no-cache + RequestId: + - 58fdb357-e412-53d8-9577-823a01895a97 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:35 GMT + Pragma: + - no-cache + RequestId: + - a84467e5-3672-5751-836d-1a3fc63c7174 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:35 GMT + Pragma: + - no-cache + RequestId: + - 82801263-d5a2-5ded-8001-904229de0196 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001", "type": "DeploymentPlan", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '79' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/deploymentPlans + response: + body: + string: '{"id": "75b2954c-54c0-5e51-9658-046f9c3aec6a", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:38 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 6ccd25dc-7aac-54bf-ae43-df3fb5c2f5e5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:39 GMT + Pragma: + - no-cache + RequestId: + - 47044e5d-42a5-5fe8-9e75-10fd6edbd225 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items + response: + body: + string: '{"value": [{"id": "75b2954c-54c0-5e51-9658-046f9c3aec6a", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '182' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:39 GMT + Pragma: + - no-cache + RequestId: + - 68c10b7b-4c3b-5b11-a108-1d0f025724ee + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items/75b2954c-54c0-5e51-9658-046f9c3aec6a + response: + body: + string: '{"id": "75b2954c-54c0-5e51-9658-046f9c3aec6a", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:40 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 067aad11-f97c-53d8-b0a2-646fd4f6db33 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items/75b2954c-54c0-5e51-9658-046f9c3aec6a/getDefinition?format=DeploymentPlanFormat + response: + body: + string: '{"definition": {"format": "DeploymentPlanFormat", "parts": [{"path": + "plan.yml", "payload": "JHNjaGVtYTogaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vZGVwbG95bWVudFBsYW4vZGVmaW5pdGlvbi9wbGFuLzEuMC4wL3NjaGVtYS5qc29uCnZlcnNpb246IDEuMC4w", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkRlcGxveW1lbnRQbGFuIiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '518' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:40 GMT + Pragma: + - no-cache + RequestId: + - 1aa92dc6-0511-5555-980d-322ac182e331 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:40 GMT + Pragma: + - no-cache + RequestId: + - 18a9f481-d417-55e6-bce4-17d07aa4670c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items + response: + body: + string: '{"value": [{"id": "75b2954c-54c0-5e51-9658-046f9c3aec6a", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '182' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:41 GMT + Pragma: + - no-cache + RequestId: + - ac19a657-b469-5de7-92de-f56865618fff + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items/75b2954c-54c0-5e51-9658-046f9c3aec6a + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:04:41 GMT + Pragma: + - no-cache + RequestId: + - 23c1b251-499f-5c23-8a8a-aad0f7ef2288 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_export/test_export_item_home_directory_path_success[DeploymentPlan-.yml].yaml b/tests/test_commands/recordings/test_commands/test_export/test_export_item_home_directory_path_success[DeploymentPlan-.yml].yaml new file mode 100644 index 000000000..2167dcacb --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_export/test_export_item_home_directory_path_success[DeploymentPlan-.yml].yaml @@ -0,0 +1,645 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:24 GMT + Pragma: + - no-cache + RequestId: + - 9dbf49ce-b7e4-5ddd-b27f-a7bada16a0b4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:23 GMT + Pragma: + - no-cache + RequestId: + - 98225b88-4ec6-5eb3-bd70-8947c884b6ea + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:24 GMT + Pragma: + - no-cache + RequestId: + - 5af4eb64-3e58-57e1-a7cb-887346808c6c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001", "type": "DeploymentPlan", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '79' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/deploymentPlans + response: + body: + string: '{"id": "453806bc-514b-55c3-939c-91a3136a1f26", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '171' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:25 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 1d9e5e8c-dc27-5866-91e1-0a3da9020ef4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:26 GMT + Pragma: + - no-cache + RequestId: + - 27154f55-7174-5f66-ac0b-f712f758d5ba + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items + response: + body: + string: '{"value": [{"id": "453806bc-514b-55c3-939c-91a3136a1f26", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '182' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:27 GMT + Pragma: + - no-cache + RequestId: + - 7893913f-f3dd-588c-bd29-893c89691cbf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items/453806bc-514b-55c3-939c-91a3136a1f26 + response: + body: + string: '{"id": "453806bc-514b-55c3-939c-91a3136a1f26", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '171' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:27 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - f707ce2a-05a8-58ea-9424-e4c9b17d2df2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items/453806bc-514b-55c3-939c-91a3136a1f26/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "plan.yml", "payload": "JHNjaGVtYTogaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vZGVwbG95bWVudFBsYW4vZGVmaW5pdGlvbi9wbGFuLzEuMC4wL3NjaGVtYS5qc29uCnZlcnNpb246IDEuMC4w", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkRlcGxveW1lbnRQbGFuIiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '498' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:28 GMT + Pragma: + - no-cache + RequestId: + - 83db7bfa-2940-5111-b82f-9ee6a3640d17 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:28 GMT + Pragma: + - no-cache + RequestId: + - 2f2bef16-fccf-5b45-8d84-15780691f6ab + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:29 GMT + Pragma: + - no-cache + RequestId: + - be0b8017-cb98-553f-ba80-40fbcc8d62d2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:29 GMT + Pragma: + - no-cache + RequestId: + - 3540ff13-8cb9-5bd1-abb5-f94b067a7897 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items + response: + body: + string: '{"value": [{"id": "453806bc-514b-55c3-939c-91a3136a1f26", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '182' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:29 GMT + Pragma: + - no-cache + RequestId: + - 80882b0b-9ca9-55a2-9d9d-d12dbb9a02e5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items/453806bc-514b-55c3-939c-91a3136a1f26 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:04:30 GMT + Pragma: + - no-cache + RequestId: + - 70b520db-75f6-5409-960a-412fc3e30e44 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_export/test_export_item_invalid_format_failure[DeploymentPlan-.txt].yaml b/tests/test_commands/recordings/test_commands/test_export/test_export_item_invalid_format_failure[DeploymentPlan-.txt].yaml new file mode 100644 index 000000000..5a4043c16 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_export/test_export_item_invalid_format_failure[DeploymentPlan-.txt].yaml @@ -0,0 +1,443 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:46 GMT + Pragma: + - no-cache + RequestId: + - b61e7ec7-bd7d-5b38-9c43-22f3e12b5aac + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:47 GMT + Pragma: + - no-cache + RequestId: + - 4015a575-6a42-559e-b5a3-e568b224cf3e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:48 GMT + Pragma: + - no-cache + RequestId: + - 3ed8df97-b8ca-584a-8cfb-f2c384fad665 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001", "type": "DeploymentPlan", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '79' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/deploymentPlans + response: + body: + string: '{"id": "d6a9bc28-52bb-5d50-a4d0-d7d53799ba69", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '168' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:49 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 8794f8b5-ce17-5f66-b8ee-4d0ca04a3a57 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:49 GMT + Pragma: + - no-cache + RequestId: + - 85d3d377-ad89-5f27-9a9d-bcd2ff85ab99 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items + response: + body: + string: '{"value": [{"id": "d6a9bc28-52bb-5d50-a4d0-d7d53799ba69", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:49 GMT + Pragma: + - no-cache + RequestId: + - 492f2145-973c-5a4b-bddd-8ae221a7172e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:50 GMT + Pragma: + - no-cache + RequestId: + - 84a0da16-5951-5b69-9461-2d9aa4cfcff1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items + response: + body: + string: '{"value": [{"id": "d6a9bc28-52bb-5d50-a4d0-d7d53799ba69", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:50 GMT + Pragma: + - no-cache + RequestId: + - 54e60af3-c18d-5979-99bf-ea823f8153d2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items/d6a9bc28-52bb-5d50-a4d0-d7d53799ba69 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:04:50 GMT + Pragma: + - no-cache + RequestId: + - d8e3633d-f2c8-58ca-8010-156dde441e42 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_export/test_export_item_invalid_output_path_failure[DeploymentPlan].yaml b/tests/test_commands/recordings/test_commands/test_export/test_export_item_invalid_output_path_failure[DeploymentPlan].yaml new file mode 100644 index 000000000..0ff8cee07 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_export/test_export_item_invalid_output_path_failure[DeploymentPlan].yaml @@ -0,0 +1,543 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:29 GMT + Pragma: + - no-cache + RequestId: + - ae21c884-92eb-5e02-a6fe-2992dad9cd6c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:30 GMT + Pragma: + - no-cache + RequestId: + - 79f4ff90-4bfd-59e5-8be0-3e834fa1acb5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:31 GMT + Pragma: + - no-cache + RequestId: + - ea78dc30-593f-5b5f-a8bc-2600e6e5a5a3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001", "type": "DeploymentPlan", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '79' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/deploymentPlans + response: + body: + string: '{"id": "2b32cde3-84f0-5b29-bfcc-a85ad4ebbd38", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '169' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:32 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 2a59043e-aa13-50f5-97b4-51783105abde + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:32 GMT + Pragma: + - no-cache + RequestId: + - 9d774234-7680-5609-b28d-c5df17e8a9ce + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items + response: + body: + string: '{"value": [{"id": "2b32cde3-84f0-5b29-bfcc-a85ad4ebbd38", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:33 GMT + Pragma: + - no-cache + RequestId: + - 5d68bd3e-5fa7-5aad-a91c-99b24c622b5a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items/2b32cde3-84f0-5b29-bfcc-a85ad4ebbd38 + response: + body: + string: '{"id": "2b32cde3-84f0-5b29-bfcc-a85ad4ebbd38", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '169' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:33 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 66feb7ce-191c-5dd4-82ed-45b6eba6cc1f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items/2b32cde3-84f0-5b29-bfcc-a85ad4ebbd38/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "plan.yml", "payload": "JHNjaGVtYTogaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vZGVwbG95bWVudFBsYW4vZGVmaW5pdGlvbi9wbGFuLzEuMC4wL3NjaGVtYS5qc29uCnZlcnNpb246IDEuMC4w", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkRlcGxveW1lbnRQbGFuIiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '500' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:34 GMT + Pragma: + - no-cache + RequestId: + - cf9b158c-498d-57c1-9192-e44905df0711 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:34 GMT + Pragma: + - no-cache + RequestId: + - afc29c01-1ee5-5fb5-ad21-b115f7ff9537 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items + response: + body: + string: '{"value": [{"id": "2b32cde3-84f0-5b29-bfcc-a85ad4ebbd38", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:34 GMT + Pragma: + - no-cache + RequestId: + - 9280e381-a6c9-5068-95fb-fa83c6a23fc3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items/2b32cde3-84f0-5b29-bfcc-a85ad4ebbd38 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:04:34 GMT + Pragma: + - no-cache + RequestId: + - 7644a66f-98bb-5651-81ca-18d055fe5783 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_export/test_export_item_success[DeploymentPlan-.yml].yaml b/tests/test_commands/recordings/test_commands/test_export/test_export_item_success[DeploymentPlan-.yml].yaml new file mode 100644 index 000000000..306ff365b --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_export/test_export_item_success[DeploymentPlan-.yml].yaml @@ -0,0 +1,543 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:17 GMT + Pragma: + - no-cache + RequestId: + - f1aa8652-a4e6-5f6a-8c23-bde78a72d07c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:17 GMT + Pragma: + - no-cache + RequestId: + - 758869de-7a70-533f-b26d-aa0455e49eee + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:18 GMT + Pragma: + - no-cache + RequestId: + - 394b53e3-8f1b-570c-b8b3-c9001ad40796 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001", "type": "DeploymentPlan", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '79' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/deploymentPlans + response: + body: + string: '{"id": "cb2dd04a-41e6-5899-afe6-d1ac3968b47b", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '169' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:19 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - be9aa96f-2311-5b18-8cdc-7f15909d6ee3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:20 GMT + Pragma: + - no-cache + RequestId: + - 0eacc8b8-f0a1-53ba-a886-614167a8c89c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items + response: + body: + string: '{"value": [{"id": "cb2dd04a-41e6-5899-afe6-d1ac3968b47b", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:20 GMT + Pragma: + - no-cache + RequestId: + - 3df3763b-527f-52d3-8b71-81dee379fe28 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items/cb2dd04a-41e6-5899-afe6-d1ac3968b47b + response: + body: + string: '{"id": "cb2dd04a-41e6-5899-afe6-d1ac3968b47b", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '169' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:21 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 95562fcc-c5ac-56eb-a963-f45164acd1f5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items/cb2dd04a-41e6-5899-afe6-d1ac3968b47b/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "plan.yml", "payload": "JHNjaGVtYTogaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vZGVwbG95bWVudFBsYW4vZGVmaW5pdGlvbi9wbGFuLzEuMC4wL3NjaGVtYS5qc29uCnZlcnNpb246IDEuMC4w", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkRlcGxveW1lbnRQbGFuIiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '499' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:22 GMT + Pragma: + - no-cache + RequestId: + - 805b549e-8ab9-5be1-beb8-0ebf01561485 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:22 GMT + Pragma: + - no-cache + RequestId: + - 9f6fe280-ad7a-5957-b815-264fdda30d0c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items + response: + body: + string: '{"value": [{"id": "cb2dd04a-41e6-5899-afe6-d1ac3968b47b", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:23 GMT + Pragma: + - no-cache + RequestId: + - 2d1dfa6b-d1bb-51e2-a797-f96434771d55 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/e5857d40-e0ff-4bfc-a3b4-2decfa4aaf3b/items/cb2dd04a-41e6-5899-afe6-d1ac3968b47b + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:04:23 GMT + Pragma: + - no-cache + RequestId: + - f19f858f-b50c-5ad9-8c3f-9e10c6372b36 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_get/test_get_item_query_all_success[DeploymentPlan].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[DeploymentPlan].yaml new file mode 100644 index 000000000..2a47b5899 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[DeploymentPlan].yaml @@ -0,0 +1,589 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "4a4a4070-ea0e-468c-80f6-fbb93981cce7", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:29 GMT + Pragma: + - no-cache + RequestId: + - 935c0950-60f6-5efb-9c13-eefccf0d5ab0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/4a4a4070-ea0e-468c-80f6-fbb93981cce7/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:30 GMT + Pragma: + - no-cache + RequestId: + - 31046f4f-8f99-5f1f-9881-14d09265e3ac + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/4a4a4070-ea0e-468c-80f6-fbb93981cce7/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:30 GMT + Pragma: + - no-cache + RequestId: + - 0766b62b-507a-50a7-a259-b8fcbccba2a6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001", "type": "DeploymentPlan", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '79' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/4a4a4070-ea0e-468c-80f6-fbb93981cce7/deploymentPlans + response: + body: + string: '{"id": "a0b40f70-fb2b-55ca-a4ba-51c75476bfdd", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "4a4a4070-ea0e-468c-80f6-fbb93981cce7", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '168' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:32 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 475023ed-23e3-58d3-a4a2-28a62f65b8b8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "4a4a4070-ea0e-468c-80f6-fbb93981cce7", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:33 GMT + Pragma: + - no-cache + RequestId: + - 2a5ff40f-051a-5134-bd4d-836a95a2fc39 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/4a4a4070-ea0e-468c-80f6-fbb93981cce7/items + response: + body: + string: '{"value": [{"id": "a0b40f70-fb2b-55ca-a4ba-51c75476bfdd", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "4a4a4070-ea0e-468c-80f6-fbb93981cce7", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:33 GMT + Pragma: + - no-cache + RequestId: + - 538bb037-ca5c-5a1e-8cf4-7bce1f36a15c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/4a4a4070-ea0e-468c-80f6-fbb93981cce7/deploymentPlans/a0b40f70-fb2b-55ca-a4ba-51c75476bfdd + response: + body: + string: '{"id": "a0b40f70-fb2b-55ca-a4ba-51c75476bfdd", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "4a4a4070-ea0e-468c-80f6-fbb93981cce7", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '168' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:33 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 9e4aff93-a957-51da-b7c9-2b8344341ee3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/4a4a4070-ea0e-468c-80f6-fbb93981cce7/items/a0b40f70-fb2b-55ca-a4ba-51c75476bfdd/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "plan.yml", "payload": "JHNjaGVtYTogaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vZGVwbG95bWVudFBsYW4vZGVmaW5pdGlvbi9wbGFuLzEuMC4wL3NjaGVtYS5qc29uCnZlcnNpb246IDEuMC4w", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkRlcGxveW1lbnRQbGFuIiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '500' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:34 GMT + Pragma: + - no-cache + RequestId: + - 97335abe-702c-53e5-97cd-e863deb55125 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/4a4a4070-ea0e-468c-80f6-fbb93981cce7/items/a0b40f70-fb2b-55ca-a4ba-51c75476bfdd/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:34 GMT + Pragma: + - no-cache + RequestId: + - a441fbed-4096-56be-86be-5f57e8152dcf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "4a4a4070-ea0e-468c-80f6-fbb93981cce7", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:35 GMT + Pragma: + - no-cache + RequestId: + - 2ffeb986-9dcb-5200-bff8-945fc0dd8654 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/4a4a4070-ea0e-468c-80f6-fbb93981cce7/items + response: + body: + string: '{"value": [{"id": "a0b40f70-fb2b-55ca-a4ba-51c75476bfdd", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "4a4a4070-ea0e-468c-80f6-fbb93981cce7", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:36 GMT + Pragma: + - no-cache + RequestId: + - 7ac38f2d-b1bf-5b94-9c5c-16a86738c4a2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/4a4a4070-ea0e-468c-80f6-fbb93981cce7/items/a0b40f70-fb2b-55ca-a4ba-51c75476bfdd + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:03:36 GMT + Pragma: + - no-cache + RequestId: + - 2437d63b-7737-55b3-a2c9-ff5af8df6364 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_import/test_import_create_new_item_success[DeploymentPlan].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[DeploymentPlan].yaml new file mode 100644 index 000000000..b1937bc5c --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[DeploymentPlan].yaml @@ -0,0 +1,747 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "f5077233-b988-43a5-8f51-27dff3a6a8eb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:12 GMT + Pragma: + - no-cache + RequestId: + - e1045517-9844-598e-966d-c4adcf71ae63 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/f5077233-b988-43a5-8f51-27dff3a6a8eb/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:12 GMT + Pragma: + - no-cache + RequestId: + - c80e03e7-7bd3-5277-b2e9-1af6c00cc0a0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/f5077233-b988-43a5-8f51-27dff3a6a8eb/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:13 GMT + Pragma: + - no-cache + RequestId: + - 2b3c360b-54ae-58cb-93e5-2b23b58266a2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001", "type": "DeploymentPlan", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '79' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/f5077233-b988-43a5-8f51-27dff3a6a8eb/deploymentPlans + response: + body: + string: '{"id": "858f5e80-fe93-5492-8726-d568356ebb47", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "f5077233-b988-43a5-8f51-27dff3a6a8eb", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:14 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 214d335a-e45f-5f35-aeca-f03b7b320bce + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "f5077233-b988-43a5-8f51-27dff3a6a8eb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:14 GMT + Pragma: + - no-cache + RequestId: + - a5ca0514-2b07-58fb-9f90-3f258040d22f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/f5077233-b988-43a5-8f51-27dff3a6a8eb/items + response: + body: + string: '{"value": [{"id": "858f5e80-fe93-5492-8726-d568356ebb47", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "f5077233-b988-43a5-8f51-27dff3a6a8eb", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:15 GMT + Pragma: + - no-cache + RequestId: + - b8119227-c9a1-506b-a8d9-3a8f3b333764 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/f5077233-b988-43a5-8f51-27dff3a6a8eb/items/858f5e80-fe93-5492-8726-d568356ebb47 + response: + body: + string: '{"id": "858f5e80-fe93-5492-8726-d568356ebb47", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "f5077233-b988-43a5-8f51-27dff3a6a8eb", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:15 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - a69449ee-6b53-5c5e-8a50-8318533a9276 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/f5077233-b988-43a5-8f51-27dff3a6a8eb/items/858f5e80-fe93-5492-8726-d568356ebb47/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "plan.yml", "payload": "JHNjaGVtYTogaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vZGVwbG95bWVudFBsYW4vZGVmaW5pdGlvbi9wbGFuLzEuMC4wL3NjaGVtYS5qc29uCnZlcnNpb246IDEuMC4w", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkRlcGxveW1lbnRQbGFuIiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '500' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:16 GMT + Pragma: + - no-cache + RequestId: + - 68153f80-f2f6-5040-b059-a96756cdde27 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "f5077233-b988-43a5-8f51-27dff3a6a8eb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:17 GMT + Pragma: + - no-cache + RequestId: + - 1d3a40f7-640b-572a-a0f9-6463fab56b27 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/f5077233-b988-43a5-8f51-27dff3a6a8eb/items + response: + body: + string: '{"value": [{"id": "858f5e80-fe93-5492-8726-d568356ebb47", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "f5077233-b988-43a5-8f51-27dff3a6a8eb", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:16 GMT + Pragma: + - no-cache + RequestId: + - 67dc8ab7-9320-511c-96c0-9636bf677b40 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/f5077233-b988-43a5-8f51-27dff3a6a8eb/items + response: + body: + string: '{"value": [{"id": "858f5e80-fe93-5492-8726-d568356ebb47", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "f5077233-b988-43a5-8f51-27dff3a6a8eb", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:16 GMT + Pragma: + - no-cache + RequestId: + - d7b92ccb-0bfe-5bae-af0d-11ab8ee23ae4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"type": "DeploymentPlan", "folderId": null, "displayName": "fabcli000001_new_26", + "definition": {"parts": [{"path": ".platform", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2dpdEludGVncmF0aW9uL3BsYXRmb3JtUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgInR5cGUiOiAiRGVwbG95bWVudFBsYW4iLAogICAgICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiCiAgICB9LAogICAgImNvbmZpZyI6IHsKICAgICAgICAidmVyc2lvbiI6ICIyLjAiLAogICAgICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogICAgfQp9", + "payloadType": "InlineBase64"}, {"path": "plan.yml", "payload": "JHNjaGVtYTogaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vZGVwbG95bWVudFBsYW4vZGVmaW5pdGlvbi9wbGFuLzEuMC4wL3NjaGVtYS5qc29uCnZlcnNpb246IDEuMC4w", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '869' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/f5077233-b988-43a5-8f51-27dff3a6a8eb/items + response: + body: + string: '{"id": "c9b25c48-31e0-52bb-9997-45d3c47c5beb", "type": "DeploymentPlan", + "displayName": "fabcli000001_new_26", "description": "", "workspaceId": "f5077233-b988-43a5-8f51-27dff3a6a8eb", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '175' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:18 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 45bd69b3-3000-51e6-ae73-ca0c7223acf6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "f5077233-b988-43a5-8f51-27dff3a6a8eb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:18 GMT + Pragma: + - no-cache + RequestId: + - 488fd4aa-db28-5d1f-be0b-e27f02ac653b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/f5077233-b988-43a5-8f51-27dff3a6a8eb/items + response: + body: + string: '{"value": [{"id": "858f5e80-fe93-5492-8726-d568356ebb47", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "f5077233-b988-43a5-8f51-27dff3a6a8eb", + "logicalId": null}, {"id": "c9b25c48-31e0-52bb-9997-45d3c47c5beb", "type": + "DeploymentPlan", "displayName": "fabcli000001_new_26", "description": "", + "workspaceId": "f5077233-b988-43a5-8f51-27dff3a6a8eb", "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '223' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:19 GMT + Pragma: + - no-cache + RequestId: + - 2f66acd8-b28c-56f6-80c7-98c319731712 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/f5077233-b988-43a5-8f51-27dff3a6a8eb/items/858f5e80-fe93-5492-8726-d568356ebb47 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:05:19 GMT + Pragma: + - no-cache + RequestId: + - 4e8ab819-1be0-5f3f-8743-3578c3722df8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_import/test_import_create_new_plan_item_success.yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_plan_item_success.yaml index 8d4672df6..e7abda52e 100644 --- a/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_plan_item_success.yaml +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_plan_item_success.yaml @@ -1314,7 +1314,7 @@ interactions: code: 200 message: OK - request: - body: '{"type": "Plan", "folderId": null, "displayName": "fabcli000001_new_26", + body: '{"type": "Plan", "folderId": null, "displayName": "fabcli000001_new_27", "definition": {"parts": [{"path": ".platform", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2dpdEludGVncmF0aW9uL3BsYXRmb3JtUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgInR5cGUiOiAiUGxhbiIsCiAgICAgICAgImRpc3BsYXlOYW1lIjogImZhYmNsaTAwMDAwMSIKICAgIH0sCiAgICAiY29uZmlnIjogewogICAgICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAgICAgImxvZ2ljYWxJZCI6ICIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiCiAgICB9Cn0=", "payloadType": "InlineBase64"}, {"path": "definition.json", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vcGxhbi9kZWZpbml0aW9uL0RlZmluaXRpb24vMS4wLjAvc2NoZW1hLmpzb24iLAogICAgImN1YmUiOiB7CiAgICAgICAgInBhcnRpdGlvblJlZklkcyI6IFtdCiAgICB9LAogICAgInNoZWV0cyI6IFtdLAogICAgIndvcmtsb2FkSXRlbU5hbWUiOiAiZmFiY2xpMDAwMDAxIgp9", "payloadType": "InlineBase64"}]}}' @@ -1442,7 +1442,7 @@ interactions: response: body: string: '{"id": "db998a57-d48f-45b6-9477-e72ab86ef771", "type": "Plan", "displayName": - "fabcli000001_new_26", "description": "", "workspaceId": "f5077233-b988-43a5-8f51-27dff3a6a8eb"}' + "fabcli000001_new_27", "description": "", "workspaceId": "f5077233-b988-43a5-8f51-27dff3a6a8eb"}' headers: Access-Control-Expose-Headers: - RequestId,Date @@ -1644,7 +1644,7 @@ interactions: "SQLDatabase", "displayName": "__fabric_plan_sys", "description": "DoNotEdit Auto-created for storing Planning artifacts Metadata in this workspace", "workspaceId": "f5077233-b988-43a5-8f51-27dff3a6a8eb", "logicalId": null}, {"id": "db998a57-d48f-45b6-9477-e72ab86ef771", - "type": "Plan", "displayName": "fabcli000001_new_26", "description": "", "workspaceId": + "type": "Plan", "displayName": "fabcli000001_new_27", "description": "", "workspaceId": "f5077233-b988-43a5-8f51-27dff3a6a8eb", "logicalId": null}]}' headers: Access-Control-Expose-Headers: @@ -1899,7 +1899,7 @@ interactions: "SQLDatabase", "displayName": "__fabric_plan_sys", "description": "DoNotEdit Auto-created for storing Planning artifacts Metadata in this workspace", "workspaceId": "f5077233-b988-43a5-8f51-27dff3a6a8eb", "logicalId": null}, {"id": "db998a57-d48f-45b6-9477-e72ab86ef771", - "type": "Plan", "displayName": "fabcli000001_new_26", "description": "", "workspaceId": + "type": "Plan", "displayName": "fabcli000001_new_27", "description": "", "workspaceId": "f5077233-b988-43a5-8f51-27dff3a6a8eb", "logicalId": null}]}' headers: Access-Control-Expose-Headers: diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_home_directory_path_success.yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_home_directory_path_success.yaml index bd63f034a..531efe7b8 100644 --- a/tests/test_commands/recordings/test_commands/test_import/test_import_home_directory_path_success.yaml +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_home_directory_path_success.yaml @@ -1351,7 +1351,7 @@ interactions: code: 200 message: OK - request: - body: '{"type": "Notebook", "folderId": null, "displayName": "fabcli000001_new_27", + body: '{"type": "Notebook", "folderId": null, "displayName": "fabcli000001_new_28", "definition": {"parts": [{"path": ".platform", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2dpdEludGVncmF0aW9uL3BsYXRmb3JtUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgInR5cGUiOiAiTm90ZWJvb2siLAogICAgICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiCiAgICB9LAogICAgImNvbmZpZyI6IHsKICAgICAgICAidmVyc2lvbiI6ICIyLjAiLAogICAgICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogICAgfQp9", "payloadType": "InlineBase64"}, {"path": "notebook-content.ipynb", "payload": "ewogICAgIm5iZm9ybWF0IjogNCwKICAgICJuYmZvcm1hdF9taW5vciI6IDUsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgImRlcGVuZGVuY2llcyI6IHsKICAgICAgICAgICAgImxha2Vob3VzZSI6IG51bGwKICAgICAgICB9LAogICAgICAgICJsYW5ndWFnZV9pbmZvIjogewogICAgICAgICAgICAibmFtZSI6ICJweXRob24iCiAgICAgICAgfSwKICAgICAgICAia2VybmVsX2luZm8iOiB7CiAgICAgICAgICAgICJuYW1lIjogInN5bmFwc2VfcHlzcGFyayIsCiAgICAgICAgICAgICJqdXB5dGVyX2tlcm5lbF9uYW1lIjogbnVsbAogICAgICAgIH0sCiAgICAgICAgImEzNjVDb21wdXRlT3B0aW9ucyI6IG51bGwsCiAgICAgICAgInNlc3Npb25LZWVwQWxpdmVUaW1lb3V0IjogMAogICAgfSwKICAgICJjZWxscyI6IFsKICAgICAgICB7CiAgICAgICAgICAgICJjZWxsX3R5cGUiOiAiY29kZSIsCiAgICAgICAgICAgICJtZXRhZGF0YSI6IHsKICAgICAgICAgICAgICAgICJtaWNyb3NvZnQiOiB7CiAgICAgICAgICAgICAgICAgICAgImxhbmd1YWdlIjogInB5dGhvbiIsCiAgICAgICAgICAgICAgICAgICAgImxhbmd1YWdlX2dyb3VwIjogInN5bmFwc2VfcHlzcGFyayIKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSwKICAgICAgICAgICAgInNvdXJjZSI6IFsKICAgICAgICAgICAgICAgICIjIFdlbGNvbWUgdG8geW91ciBuZXcgbm90ZWJvb2tcbiIsCiAgICAgICAgICAgICAgICAiIyBUeXBlIGhlcmUgaW4gdGhlIGNlbGwgZWRpdG9yIHRvIGFkZCBjb2RlIVxuIgogICAgICAgICAgICBdLAogICAgICAgICAgICAib3V0cHV0cyI6IFtdCiAgICAgICAgfQogICAgXQp9", @@ -1480,7 +1480,7 @@ interactions: response: body: string: '{"id": "dea2910a-bc33-4a2a-a235-80fd2ef33106", "type": "Notebook", - "displayName": "fabcli000001_new_27", "description": "", "workspaceId": "f5077233-b988-43a5-8f51-27dff3a6a8eb"}' + "displayName": "fabcli000001_new_28", "description": "", "workspaceId": "f5077233-b988-43a5-8f51-27dff3a6a8eb"}' headers: Access-Control-Expose-Headers: - RequestId,Date @@ -1676,7 +1676,7 @@ interactions: "logicalId": null}, {"id": "697b786b-47ac-4087-a94e-3838bb1ae07b", "type": "Notebook", "displayName": "fabcli000001", "description": "", "workspaceId": "f5077233-b988-43a5-8f51-27dff3a6a8eb", "logicalId": null}, {"id": "dea2910a-bc33-4a2a-a235-80fd2ef33106", - "type": "Notebook", "displayName": "fabcli000001_new_27", "description": "", + "type": "Notebook", "displayName": "fabcli000001_new_28", "description": "", "workspaceId": "f5077233-b988-43a5-8f51-27dff3a6a8eb", "logicalId": null}]}' headers: Access-Control-Expose-Headers: diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[DeploymentPlan].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[DeploymentPlan].yaml new file mode 100644 index 000000000..04ee3fecf --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[DeploymentPlan].yaml @@ -0,0 +1,692 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "f5077233-b988-43a5-8f51-27dff3a6a8eb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:04 GMT + Pragma: + - no-cache + RequestId: + - d82f44d1-31cf-5547-aea8-c98f2cb2c548 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/f5077233-b988-43a5-8f51-27dff3a6a8eb/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:04 GMT + Pragma: + - no-cache + RequestId: + - 84158d05-6293-5a90-afee-b8996e3cc3b3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/f5077233-b988-43a5-8f51-27dff3a6a8eb/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:04 GMT + Pragma: + - no-cache + RequestId: + - e01f2429-39d6-59bc-b2bf-cca10b32625b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001", "type": "DeploymentPlan", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '79' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/f5077233-b988-43a5-8f51-27dff3a6a8eb/deploymentPlans + response: + body: + string: '{"id": "6c875b24-2ae0-5094-8e79-b81e68438b8e", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "f5077233-b988-43a5-8f51-27dff3a6a8eb", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '169' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:07 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - ddd6d29d-640b-5e99-b89d-265b2376ab9a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "f5077233-b988-43a5-8f51-27dff3a6a8eb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:06 GMT + Pragma: + - no-cache + RequestId: + - 93576251-3e63-5369-93da-e15c45d26af7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/f5077233-b988-43a5-8f51-27dff3a6a8eb/items + response: + body: + string: '{"value": [{"id": "6c875b24-2ae0-5094-8e79-b81e68438b8e", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "f5077233-b988-43a5-8f51-27dff3a6a8eb", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:08 GMT + Pragma: + - no-cache + RequestId: + - 5b8748d4-1034-508b-bef7-6eab2b825c42 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/f5077233-b988-43a5-8f51-27dff3a6a8eb/items/6c875b24-2ae0-5094-8e79-b81e68438b8e + response: + body: + string: '{"id": "6c875b24-2ae0-5094-8e79-b81e68438b8e", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "f5077233-b988-43a5-8f51-27dff3a6a8eb", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '169' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:08 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - ad7309db-53ce-5904-b1ea-79f5bf2e1b4c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/f5077233-b988-43a5-8f51-27dff3a6a8eb/items/6c875b24-2ae0-5094-8e79-b81e68438b8e/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "plan.yml", "payload": "JHNjaGVtYTogaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vZGVwbG95bWVudFBsYW4vZGVmaW5pdGlvbi9wbGFuLzEuMC4wL3NjaGVtYS5qc29uCnZlcnNpb246IDEuMC4w", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkRlcGxveW1lbnRQbGFuIiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '500' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:08 GMT + Pragma: + - no-cache + RequestId: + - 3799a0da-0b73-5d68-8345-b0b987310922 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "f5077233-b988-43a5-8f51-27dff3a6a8eb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:09 GMT + Pragma: + - no-cache + RequestId: + - 15bbcc01-4b37-5386-b507-0d2388b615af + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/f5077233-b988-43a5-8f51-27dff3a6a8eb/items + response: + body: + string: '{"value": [{"id": "6c875b24-2ae0-5094-8e79-b81e68438b8e", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "f5077233-b988-43a5-8f51-27dff3a6a8eb", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:09 GMT + Pragma: + - no-cache + RequestId: + - 91d5f25a-f34f-561b-81b8-8fbcb87c5552 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"definition": {"parts": [{"path": ".platform", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2dpdEludGVncmF0aW9uL3BsYXRmb3JtUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgInR5cGUiOiAiRGVwbG95bWVudFBsYW4iLAogICAgICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiCiAgICB9LAogICAgImNvbmZpZyI6IHsKICAgICAgICAidmVyc2lvbiI6ICIyLjAiLAogICAgICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogICAgfQp9", + "payloadType": "InlineBase64"}, {"path": "plan.yml", "payload": "JHNjaGVtYTogaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vZGVwbG95bWVudFBsYW4vZGVmaW5pdGlvbi9wbGFuLzEuMC4wL3NjaGVtYS5qc29uCnZlcnNpb246IDEuMC4w", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '784' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/f5077233-b988-43a5-8f51-27dff3a6a8eb/items/6c875b24-2ae0-5094-8e79-b81e68438b8e/updateDefinition + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:05:10 GMT + Pragma: + - no-cache + RequestId: + - 03fbf87a-cbfc-5856-bb08-3bb193f76f9e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "f5077233-b988-43a5-8f51-27dff3a6a8eb", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:10 GMT + Pragma: + - no-cache + RequestId: + - 889913c5-058e-5bf1-ae45-0845d4a8ace5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/f5077233-b988-43a5-8f51-27dff3a6a8eb/items + response: + body: + string: '{"value": [{"id": "6c875b24-2ae0-5094-8e79-b81e68438b8e", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "f5077233-b988-43a5-8f51-27dff3a6a8eb", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:05:11 GMT + Pragma: + - no-cache + RequestId: + - 5aa08988-8c3b-5205-9ada-c343fd3e4a4a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/f5077233-b988-43a5-8f51-27dff3a6a8eb/items/6c875b24-2ae0-5094-8e79-b81e68438b8e + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:05:12 GMT + Pragma: + - no-cache + RequestId: + - ba6788e4-5f0d-5e3b-8d0a-06148bcebfd9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_ls/test_ls_folder_content_success[DeploymentPlan].yaml b/tests/test_commands/recordings/test_commands/test_ls/test_ls_folder_content_success[DeploymentPlan].yaml new file mode 100644 index 000000000..460a3ee4a --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_ls/test_ls_folder_content_success[DeploymentPlan].yaml @@ -0,0 +1,1785 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:03 GMT + Pragma: + - no-cache + RequestId: + - b251bde8-cfcb-5009-8240-0902b8c66931 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders?recursive=True + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:04 GMT + Pragma: + - no-cache + RequestId: + - 8033c199-43b6-52c6-9133-7b1f1b00c5e7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders?recursive=True + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:04 GMT + Pragma: + - no-cache + RequestId: + - 72424489-8d03-5075-89b6-c3ca056c1c14 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '35' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders + response: + body: + string: '{"id": "2d49faa9-94c6-57d3-9943-8a053785b1a7", "displayName": "fabcli000001", + "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d"}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '132' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:04 GMT + Location: + - https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders/2d49faa9-94c6-57d3-9943-8a053785b1a7 + Pragma: + - no-cache + RequestId: + - ccd07362-c4b6-5091-b694-fc053fcf1c87 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:05 GMT + Pragma: + - no-cache + RequestId: + - 2a378efd-1f3a-5f58-a26d-effc8b4ce8ab + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders?recursive=True + response: + body: + string: '{"value": [{"id": "2d49faa9-94c6-57d3-9943-8a053785b1a7", "displayName": + "fabcli000001", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '143' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:05 GMT + Pragma: + - no-cache + RequestId: + - 9504214b-cb54-5d14-bd85-4a8bab3eb927 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:05 GMT + Pragma: + - no-cache + RequestId: + - e6e54282-b1da-5b9a-ba99-a4ff0800107d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:05 GMT + Pragma: + - no-cache + RequestId: + - 3d102f72-c9a7-541f-a1ea-3ba756e6405c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000002", "type": "DeploymentPlan", "folderId": "2d49faa9-94c6-57d3-9943-8a053785b1a7"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '113' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/deploymentPlans + response: + body: + string: '{"id": "914261b3-2f72-5406-bace-b9158e5593f2", "type": "DeploymentPlan", + "displayName": "fabcli000002", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null, "folderId": "2d49faa9-94c6-57d3-9943-8a053785b1a7"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '202' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:06 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 5f1d37d4-0e2e-5f11-a123-ecee9db004f6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:07 GMT + Pragma: + - no-cache + RequestId: + - 0ad5f728-900b-5516-a99f-6e6bc5ef0d4f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders?recursive=True + response: + body: + string: '{"value": [{"id": "2d49faa9-94c6-57d3-9943-8a053785b1a7", "displayName": + "fabcli000001", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '143' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:06 GMT + Pragma: + - no-cache + RequestId: + - 1c601672-04af-537e-a4fa-86e783c207b9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "914261b3-2f72-5406-bace-b9158e5593f2", "type": "DeploymentPlan", + "displayName": "fabcli000002", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null, "folderId": "2d49faa9-94c6-57d3-9943-8a053785b1a7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '214' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:07 GMT + Pragma: + - no-cache + RequestId: + - cb48aa30-356c-5429-981b-cf29f6b8d9bf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders?recursive=True + response: + body: + string: '{"value": [{"id": "2d49faa9-94c6-57d3-9943-8a053785b1a7", "displayName": + "fabcli000001", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '143' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:08 GMT + Pragma: + - no-cache + RequestId: + - 27b94a25-595b-5b04-9483-f69f708e981a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders?recursive=True + response: + body: + string: '{"value": [{"id": "2d49faa9-94c6-57d3-9943-8a053785b1a7", "displayName": + "fabcli000001", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '143' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:07 GMT + Pragma: + - no-cache + RequestId: + - ae811fbf-4200-5663-ab08-c06f6e0d9be8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:08 GMT + Pragma: + - no-cache + RequestId: + - 26cf8632-2213-508d-8aab-b8ab69895650 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders?recursive=True + response: + body: + string: '{"value": [{"id": "2d49faa9-94c6-57d3-9943-8a053785b1a7", "displayName": + "fabcli000001", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '143' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:09 GMT + Pragma: + - no-cache + RequestId: + - 20e769bc-a7a1-57d0-b856-b2900407662e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "914261b3-2f72-5406-bace-b9158e5593f2", "type": "DeploymentPlan", + "displayName": "fabcli000002", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null, "folderId": "2d49faa9-94c6-57d3-9943-8a053785b1a7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '214' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:10 GMT + Pragma: + - no-cache + RequestId: + - 5300f41f-a8a1-5404-a30e-94ff9ab00b62 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders?recursive=True + response: + body: + string: '{"value": [{"id": "2d49faa9-94c6-57d3-9943-8a053785b1a7", "displayName": + "fabcli000001", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '143' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:11 GMT + Pragma: + - no-cache + RequestId: + - c772132e-39b5-5fe9-9cbd-12b8fadd1624 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders?recursive=True + response: + body: + string: '{"value": [{"id": "2d49faa9-94c6-57d3-9943-8a053785b1a7", "displayName": + "fabcli000001", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '143' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:10 GMT + Pragma: + - no-cache + RequestId: + - bbaa0680-1233-5219-a1a8-e7779db7998f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:11 GMT + Pragma: + - no-cache + RequestId: + - bc0fb6c0-eea8-58e8-aa08-0cbd8a30dc78 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders?recursive=True + response: + body: + string: '{"value": [{"id": "2d49faa9-94c6-57d3-9943-8a053785b1a7", "displayName": + "fabcli000001", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '143' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:11 GMT + Pragma: + - no-cache + RequestId: + - 80686198-51bc-523a-9699-59eb344d22ad + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "914261b3-2f72-5406-bace-b9158e5593f2", "type": "DeploymentPlan", + "displayName": "fabcli000002", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null, "folderId": "2d49faa9-94c6-57d3-9943-8a053785b1a7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '214' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:12 GMT + Pragma: + - no-cache + RequestId: + - 6fe37d9b-aa01-5d94-bedb-4af8dd8e4929 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders?recursive=True + response: + body: + string: '{"value": [{"id": "2d49faa9-94c6-57d3-9943-8a053785b1a7", "displayName": + "fabcli000001", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '143' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:12 GMT + Pragma: + - no-cache + RequestId: + - 8735c06e-7951-5941-80db-8ea26a4a7b09 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders?recursive=True + response: + body: + string: '{"value": [{"id": "2d49faa9-94c6-57d3-9943-8a053785b1a7", "displayName": + "fabcli000001", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '143' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:12 GMT + Pragma: + - no-cache + RequestId: + - 12535c68-89fc-5a78-9e4e-3adc31b2e848 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:13 GMT + Pragma: + - no-cache + RequestId: + - 7467a5ba-bc07-5ec6-bd17-3a8fa84d38c2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders?recursive=True + response: + body: + string: '{"value": [{"id": "2d49faa9-94c6-57d3-9943-8a053785b1a7", "displayName": + "fabcli000001", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '143' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:13 GMT + Pragma: + - no-cache + RequestId: + - a266d9b1-f84e-544a-9dbb-4195f6bbf109 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "914261b3-2f72-5406-bace-b9158e5593f2", "type": "DeploymentPlan", + "displayName": "fabcli000002", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null, "folderId": "2d49faa9-94c6-57d3-9943-8a053785b1a7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '214' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:14 GMT + Pragma: + - no-cache + RequestId: + - 51deb0a2-a29e-52c7-b6c1-07ee242c8f31 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders?recursive=True + response: + body: + string: '{"value": [{"id": "2d49faa9-94c6-57d3-9943-8a053785b1a7", "displayName": + "fabcli000001", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '143' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:14 GMT + Pragma: + - no-cache + RequestId: + - b6b28156-9bba-5852-aaf3-9fe40d2188b7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders?recursive=True + response: + body: + string: '{"value": [{"id": "2d49faa9-94c6-57d3-9943-8a053785b1a7", "displayName": + "fabcli000001", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '143' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:14 GMT + Pragma: + - no-cache + RequestId: + - d3d59102-66ac-54d9-a48e-76f4e5074ad3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:14 GMT + Pragma: + - no-cache + RequestId: + - 8273fbc0-a7d9-5304-89c9-b6b8d1b25356 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders?recursive=True + response: + body: + string: '{"value": [{"id": "2d49faa9-94c6-57d3-9943-8a053785b1a7", "displayName": + "fabcli000001", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '143' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:14 GMT + Pragma: + - no-cache + RequestId: + - 9c02fa7e-f8ae-5c49-8e3d-4aa07df37660 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "914261b3-2f72-5406-bace-b9158e5593f2", "type": "DeploymentPlan", + "displayName": "fabcli000002", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null, "folderId": "2d49faa9-94c6-57d3-9943-8a053785b1a7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '214' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:15 GMT + Pragma: + - no-cache + RequestId: + - ba7113bd-7f8d-5f1e-9489-340f85c69a4d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders?recursive=True + response: + body: + string: '{"value": [{"id": "2d49faa9-94c6-57d3-9943-8a053785b1a7", "displayName": + "fabcli000001", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '143' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:15 GMT + Pragma: + - no-cache + RequestId: + - a9457073-5caa-5cd0-90b6-af38e756484c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items/914261b3-2f72-5406-bace-b9158e5593f2 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:02:16 GMT + Pragma: + - no-cache + RequestId: + - 371d59f4-5a78-5030-b7a3-3ce338bc3be3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:15 GMT + Pragma: + - no-cache + RequestId: + - 793437cb-41ee-5cba-ae0e-ef54e4fce945 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders?recursive=True + response: + body: + string: '{"value": [{"id": "2d49faa9-94c6-57d3-9943-8a053785b1a7", "displayName": + "fabcli000001", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '143' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:17 GMT + Pragma: + - no-cache + RequestId: + - cad2312a-19cc-5566-b1e3-f6edeb4f658d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders/2d49faa9-94c6-57d3-9943-8a053785b1a7 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:02:17 GMT + Pragma: + - no-cache + RequestId: + - 42874a81-be14-596a-9e1f-bd08d7c4350d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_ls/test_ls_query_filter_success[DeploymentPlan].yaml b/tests/test_commands/recordings/test_commands/test_ls/test_ls_query_filter_success[DeploymentPlan].yaml new file mode 100644 index 000000000..f8a5fca4d --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_ls/test_ls_query_filter_success[DeploymentPlan].yaml @@ -0,0 +1,1664 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:49 GMT + Pragma: + - no-cache + RequestId: + - 66f5ec48-47be-5779-b84f-eac4faf5abf4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:50 GMT + Pragma: + - no-cache + RequestId: + - 477aa49f-e11c-53b4-8529-4d4ee6e4ea72 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:50 GMT + Pragma: + - no-cache + RequestId: + - 1d6d7945-58da-5e1e-b4e1-897c73d09ace + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001", "type": "DeploymentPlan", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '79' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/deploymentPlans + response: + body: + string: '{"id": "94182f74-3f45-5dc0-9355-cdae148755e0", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '167' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:51 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 56a83af3-503b-5fe6-b5d1-f10ed58e32f4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:51 GMT + Pragma: + - no-cache + RequestId: + - 989ebee5-1c46-5034-ad53-fff95db3cbf6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "94182f74-3f45-5dc0-9355-cdae148755e0", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '178' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:52 GMT + Pragma: + - no-cache + RequestId: + - 73c0243d-9d34-59d8-9402-e02ae2962f2c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "94182f74-3f45-5dc0-9355-cdae148755e0", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '178' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:52 GMT + Pragma: + - no-cache + RequestId: + - 79779016-e097-5340-b398-f41118530f14 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000002", "type": "DeploymentPlan", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '79' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/deploymentPlans + response: + body: + string: '{"id": "b37b33d9-3619-57e2-80ac-12ed2ea476fd", "type": "DeploymentPlan", + "displayName": "fabcli000002", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:54 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 94cafdb2-12da-515f-9b56-9f5b471c4525 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:54 GMT + Pragma: + - no-cache + RequestId: + - 544c5b4d-e71a-5a33-920b-b29e573db17a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "94182f74-3f45-5dc0-9355-cdae148755e0", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}, {"id": "b37b33d9-3619-57e2-80ac-12ed2ea476fd", "type": + "DeploymentPlan", "displayName": "fabcli000002", "description": "", "workspaceId": + "1f2d98cc-fa08-4883-ae9d-78d051d4804d", "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '225' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:55 GMT + Pragma: + - no-cache + RequestId: + - de5cd32e-453a-5777-9737-5dd1610f0734 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "94182f74-3f45-5dc0-9355-cdae148755e0", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}, {"id": "b37b33d9-3619-57e2-80ac-12ed2ea476fd", "type": + "DeploymentPlan", "displayName": "fabcli000002", "description": "", "workspaceId": + "1f2d98cc-fa08-4883-ae9d-78d051d4804d", "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '225' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:54 GMT + Pragma: + - no-cache + RequestId: + - ddd86816-237d-5541-a999-f1d22a7e0692 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000003", "type": "DeploymentPlan", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '79' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/deploymentPlans + response: + body: + string: '{"id": "550b6119-483f-5e90-84e4-8bed0824469e", "type": "DeploymentPlan", + "displayName": "fabcli000003", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '169' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:55 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - c3248b07-1de6-5b40-89d3-2e7c0c53b1f5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:56 GMT + Pragma: + - no-cache + RequestId: + - 3a35348b-bffb-5d05-b91a-06b643dabc30 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "94182f74-3f45-5dc0-9355-cdae148755e0", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}, {"id": "b37b33d9-3619-57e2-80ac-12ed2ea476fd", "type": + "DeploymentPlan", "displayName": "fabcli000002", "description": "", "workspaceId": + "1f2d98cc-fa08-4883-ae9d-78d051d4804d", "logicalId": null}, {"id": "550b6119-483f-5e90-84e4-8bed0824469e", + "type": "DeploymentPlan", "displayName": "fabcli000003", "description": "", + "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '258' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:57 GMT + Pragma: + - no-cache + RequestId: + - 3b4d3672-21f1-5c6b-9909-766ae454c103 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:56 GMT + Pragma: + - no-cache + RequestId: + - 9036d7fd-6c0a-5b08-a26a-d3419ef38a1e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "94182f74-3f45-5dc0-9355-cdae148755e0", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}, {"id": "b37b33d9-3619-57e2-80ac-12ed2ea476fd", "type": + "DeploymentPlan", "displayName": "fabcli000002", "description": "", "workspaceId": + "1f2d98cc-fa08-4883-ae9d-78d051d4804d", "logicalId": null}, {"id": "550b6119-483f-5e90-84e4-8bed0824469e", + "type": "DeploymentPlan", "displayName": "fabcli000003", "description": "", + "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '258' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:57 GMT + Pragma: + - no-cache + RequestId: + - 575f4ab7-530a-5385-8002-f988be5901d9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:57 GMT + Pragma: + - no-cache + RequestId: + - 6afa9800-e68b-55df-9093-10e9fc8c9200 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "94182f74-3f45-5dc0-9355-cdae148755e0", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}, {"id": "b37b33d9-3619-57e2-80ac-12ed2ea476fd", "type": + "DeploymentPlan", "displayName": "fabcli000002", "description": "", "workspaceId": + "1f2d98cc-fa08-4883-ae9d-78d051d4804d", "logicalId": null}, {"id": "550b6119-483f-5e90-84e4-8bed0824469e", + "type": "DeploymentPlan", "displayName": "fabcli000003", "description": "", + "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '258' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:58 GMT + Pragma: + - no-cache + RequestId: + - e8d00441-968b-56a6-9806-14d7bcd99e1b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:58 GMT + Pragma: + - no-cache + RequestId: + - 5eb7e89a-f1d0-5b16-b5ae-ccdcffdd992e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "94182f74-3f45-5dc0-9355-cdae148755e0", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}, {"id": "b37b33d9-3619-57e2-80ac-12ed2ea476fd", "type": + "DeploymentPlan", "displayName": "fabcli000002", "description": "", "workspaceId": + "1f2d98cc-fa08-4883-ae9d-78d051d4804d", "logicalId": null}, {"id": "550b6119-483f-5e90-84e4-8bed0824469e", + "type": "DeploymentPlan", "displayName": "fabcli000003", "description": "", + "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '258' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:58 GMT + Pragma: + - no-cache + RequestId: + - 2277fb60-69af-5427-8299-8658ad2f7019 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:59 GMT + Pragma: + - no-cache + RequestId: + - ccaf5b68-0620-5cee-a7ad-a210c0d62899 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "94182f74-3f45-5dc0-9355-cdae148755e0", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}, {"id": "b37b33d9-3619-57e2-80ac-12ed2ea476fd", "type": + "DeploymentPlan", "displayName": "fabcli000002", "description": "", "workspaceId": + "1f2d98cc-fa08-4883-ae9d-78d051d4804d", "logicalId": null}, {"id": "550b6119-483f-5e90-84e4-8bed0824469e", + "type": "DeploymentPlan", "displayName": "fabcli000003", "description": "", + "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '258' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:59 GMT + Pragma: + - no-cache + RequestId: + - f51aa196-566f-539c-a665-42d2841ec5ca + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:00 GMT + Pragma: + - no-cache + RequestId: + - 1b235602-7e34-572b-9e4a-f00d99ef4ba7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "94182f74-3f45-5dc0-9355-cdae148755e0", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}, {"id": "b37b33d9-3619-57e2-80ac-12ed2ea476fd", "type": + "DeploymentPlan", "displayName": "fabcli000002", "description": "", "workspaceId": + "1f2d98cc-fa08-4883-ae9d-78d051d4804d", "logicalId": null}, {"id": "550b6119-483f-5e90-84e4-8bed0824469e", + "type": "DeploymentPlan", "displayName": "fabcli000003", "description": "", + "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '258' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:59 GMT + Pragma: + - no-cache + RequestId: + - 95ab9667-8faa-586d-867c-cc9b9ce15237 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:00 GMT + Pragma: + - no-cache + RequestId: + - f850d6a3-bf45-5184-a48e-1f76d02cec7e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "94182f74-3f45-5dc0-9355-cdae148755e0", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}, {"id": "b37b33d9-3619-57e2-80ac-12ed2ea476fd", "type": + "DeploymentPlan", "displayName": "fabcli000002", "description": "", "workspaceId": + "1f2d98cc-fa08-4883-ae9d-78d051d4804d", "logicalId": null}, {"id": "550b6119-483f-5e90-84e4-8bed0824469e", + "type": "DeploymentPlan", "displayName": "fabcli000003", "description": "", + "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '258' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:00 GMT + Pragma: + - no-cache + RequestId: + - b1414535-1ec3-5b21-bd09-9427a7380df3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items/550b6119-483f-5e90-84e4-8bed0824469e + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:02:01 GMT + Pragma: + - no-cache + RequestId: + - c15f42ec-a7c9-5371-9f10-627623543c15 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:01 GMT + Pragma: + - no-cache + RequestId: + - f559d0d1-7340-5b16-9ad1-a09b8058ae6b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "94182f74-3f45-5dc0-9355-cdae148755e0", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}, {"id": "b37b33d9-3619-57e2-80ac-12ed2ea476fd", "type": + "DeploymentPlan", "displayName": "fabcli000002", "description": "", "workspaceId": + "1f2d98cc-fa08-4883-ae9d-78d051d4804d", "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '225' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:01 GMT + Pragma: + - no-cache + RequestId: + - 152995c8-9a5a-50f8-9af6-2d9279b2ee1a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items/b37b33d9-3619-57e2-80ac-12ed2ea476fd + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:02:01 GMT + Pragma: + - no-cache + RequestId: + - 6f14522a-814f-5215-b0d3-a3b6a856320d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:02 GMT + Pragma: + - no-cache + RequestId: + - ed11b354-e2c6-5b5a-804f-d580944c865c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "94182f74-3f45-5dc0-9355-cdae148755e0", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '178' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:02 GMT + Pragma: + - no-cache + RequestId: + - e61ea4c1-aaff-5755-b46c-94fd72e48416 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items/94182f74-3f45-5dc0-9355-cdae148755e0 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:02:03 GMT + Pragma: + - no-cache + RequestId: + - 67e70d82-6cec-56ea-bc84-7b3c403f7fc3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_ls/test_ls_workspace_items_no_list_folders_support_success[DeploymentPlan].yaml b/tests/test_commands/recordings/test_commands/test_ls/test_ls_workspace_items_no_list_folders_support_success[DeploymentPlan].yaml new file mode 100644 index 000000000..e9539f3e0 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_ls/test_ls_workspace_items_no_list_folders_support_success[DeploymentPlan].yaml @@ -0,0 +1,1758 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:17 GMT + Pragma: + - no-cache + RequestId: + - 68bc5188-3c2e-501e-9f1a-498866a53851 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders?recursive=True + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:17 GMT + Pragma: + - no-cache + RequestId: + - d03fb70e-f7bc-5b8b-bfa5-d397030357b5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders?recursive=True + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:17 GMT + Pragma: + - no-cache + RequestId: + - 374bfa9d-6ff2-561a-b355-474256e7d2e8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '35' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders + response: + body: + string: '{"id": "05f8a4d0-a8f7-5d39-8a2d-a6d9d249f020", "displayName": "fabcli000001", + "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d"}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '131' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:18 GMT + Location: + - https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders/05f8a4d0-a8f7-5d39-8a2d-a6d9d249f020 + Pragma: + - no-cache + RequestId: + - cca0fc77-50f6-5d08-aa85-76d16df767b3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:19 GMT + Pragma: + - no-cache + RequestId: + - 35168af4-93e8-5a11-877d-b7882436a65d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:19 GMT + Pragma: + - no-cache + RequestId: + - 514f83ee-c35d-587a-a496-80941ea3d7d9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:19 GMT + Pragma: + - no-cache + RequestId: + - a34ce8f7-2217-5510-a13e-083f2fc800d4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000002", "type": "DeploymentPlan", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '79' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/deploymentPlans + response: + body: + string: '{"id": "f7eeba97-31c6-5909-b585-5557b6d29a53", "type": "DeploymentPlan", + "displayName": "fabcli000002", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '168' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:20 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 0b719ca2-c975-566d-a91f-a55f2e36ed2c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:21 GMT + Pragma: + - no-cache + RequestId: + - 0771222b-0656-575a-946b-0dd8f286eb34 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders?recursive=True + response: + body: + string: '{"value": [{"id": "05f8a4d0-a8f7-5d39-8a2d-a6d9d249f020", "displayName": + "fabcli000001", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '142' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:22 GMT + Pragma: + - no-cache + RequestId: + - 61778f4e-2bfc-5ea9-9d95-ff5589a29a26 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "f7eeba97-31c6-5909-b585-5557b6d29a53", "type": "DeploymentPlan", + "displayName": "fabcli000002", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:21 GMT + Pragma: + - no-cache + RequestId: + - c86fb6d0-85e1-5a0c-85fb-0ff7cc658f91 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "f7eeba97-31c6-5909-b585-5557b6d29a53", "type": "DeploymentPlan", + "displayName": "fabcli000002", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:22 GMT + Pragma: + - no-cache + RequestId: + - 8a76d9c9-c3a3-5d30-91e2-6e914cf2f85d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000003", "type": "DeploymentPlan", "folderId": "05f8a4d0-a8f7-5d39-8a2d-a6d9d249f020"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '113' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/deploymentPlans + response: + body: + string: '{"id": "ccd27770-775b-5636-9049-d9be1e288ce7", "type": "DeploymentPlan", + "displayName": "fabcli000003", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null, "folderId": "05f8a4d0-a8f7-5d39-8a2d-a6d9d249f020"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '204' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:24 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 1182edbe-a504-58ae-b051-b2d4a3cfef64 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:24 GMT + Pragma: + - no-cache + RequestId: + - c46acbc2-532f-5b52-9ce1-82c693c455a9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "f7eeba97-31c6-5909-b585-5557b6d29a53", "type": "DeploymentPlan", + "displayName": "fabcli000002", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}, {"id": "ccd27770-775b-5636-9049-d9be1e288ce7", "type": + "DeploymentPlan", "displayName": "fabcli000003", "description": "", "workspaceId": + "1f2d98cc-fa08-4883-ae9d-78d051d4804d", "logicalId": null, "folderId": "05f8a4d0-a8f7-5d39-8a2d-a6d9d249f020"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '257' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:25 GMT + Pragma: + - no-cache + RequestId: + - 4ed7fd7f-226f-50e3-84d4-4ec3632df354 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders?recursive=True + response: + body: + string: '{"value": [{"id": "05f8a4d0-a8f7-5d39-8a2d-a6d9d249f020", "displayName": + "fabcli000001", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '142' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:25 GMT + Pragma: + - no-cache + RequestId: + - e14001ba-359d-5b77-b0f6-24758cc52dda + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders?recursive=True + response: + body: + string: '{"value": [{"id": "05f8a4d0-a8f7-5d39-8a2d-a6d9d249f020", "displayName": + "fabcli000001", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '142' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:25 GMT + Pragma: + - no-cache + RequestId: + - 008c645b-a86d-5dc0-a5ce-83103dac4a2d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:25 GMT + Pragma: + - no-cache + RequestId: + - f21d24de-e767-5259-ab27-0423f406640a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders?recursive=True + response: + body: + string: '{"value": [{"id": "05f8a4d0-a8f7-5d39-8a2d-a6d9d249f020", "displayName": + "fabcli000001", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '142' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:25 GMT + Pragma: + - no-cache + RequestId: + - 067f68e5-7f42-59ef-9aca-8c441220760b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "f7eeba97-31c6-5909-b585-5557b6d29a53", "type": "DeploymentPlan", + "displayName": "fabcli000002", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}, {"id": "ccd27770-775b-5636-9049-d9be1e288ce7", "type": + "DeploymentPlan", "displayName": "fabcli000003", "description": "", "workspaceId": + "1f2d98cc-fa08-4883-ae9d-78d051d4804d", "logicalId": null, "folderId": "05f8a4d0-a8f7-5d39-8a2d-a6d9d249f020"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '257' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:26 GMT + Pragma: + - no-cache + RequestId: + - 4524991b-3ab3-5e96-a377-6d403c6d4fd4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders?recursive=True + response: + body: + string: '{"value": [{"id": "05f8a4d0-a8f7-5d39-8a2d-a6d9d249f020", "displayName": + "fabcli000001", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '142' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:26 GMT + Pragma: + - no-cache + RequestId: + - 16c4b362-04ac-5adf-8c21-3e2baa8e4073 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders?recursive=True + response: + body: + string: '{"value": [{"id": "05f8a4d0-a8f7-5d39-8a2d-a6d9d249f020", "displayName": + "fabcli000001", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '142' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:27 GMT + Pragma: + - no-cache + RequestId: + - a8002ac3-dcda-5904-a767-dd194785765e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:27 GMT + Pragma: + - no-cache + RequestId: + - 88745ee3-1744-5667-a703-7d5d482f1211 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "f7eeba97-31c6-5909-b585-5557b6d29a53", "type": "DeploymentPlan", + "displayName": "fabcli000002", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}, {"id": "ccd27770-775b-5636-9049-d9be1e288ce7", "type": + "DeploymentPlan", "displayName": "fabcli000003", "description": "", "workspaceId": + "1f2d98cc-fa08-4883-ae9d-78d051d4804d", "logicalId": null, "folderId": "05f8a4d0-a8f7-5d39-8a2d-a6d9d249f020"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '257' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:28 GMT + Pragma: + - no-cache + RequestId: + - 440b3338-9fa3-51bd-9545-f5da7a8e8962 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders?recursive=True + response: + body: + string: '{"value": [{"id": "05f8a4d0-a8f7-5d39-8a2d-a6d9d249f020", "displayName": + "fabcli000001", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '142' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:27 GMT + Pragma: + - no-cache + RequestId: + - 07aad849-f01c-5ebc-8691-5e0d5751f990 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:28 GMT + Pragma: + - no-cache + RequestId: + - 57be1551-b15c-5ed6-86df-defbaf839522 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders?recursive=True + response: + body: + string: '{"value": [{"id": "05f8a4d0-a8f7-5d39-8a2d-a6d9d249f020", "displayName": + "fabcli000001", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '142' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:28 GMT + Pragma: + - no-cache + RequestId: + - bc655ba3-f9e0-5566-a4bf-89d13a552441 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "f7eeba97-31c6-5909-b585-5557b6d29a53", "type": "DeploymentPlan", + "displayName": "fabcli000002", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}, {"id": "ccd27770-775b-5636-9049-d9be1e288ce7", "type": + "DeploymentPlan", "displayName": "fabcli000003", "description": "", "workspaceId": + "1f2d98cc-fa08-4883-ae9d-78d051d4804d", "logicalId": null, "folderId": "05f8a4d0-a8f7-5d39-8a2d-a6d9d249f020"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '257' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:29 GMT + Pragma: + - no-cache + RequestId: + - 0b89b29f-a811-586e-afd5-c35cb1c90736 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders?recursive=True + response: + body: + string: '{"value": [{"id": "05f8a4d0-a8f7-5d39-8a2d-a6d9d249f020", "displayName": + "fabcli000001", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '142' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:29 GMT + Pragma: + - no-cache + RequestId: + - 7311ecd8-e1fb-54d4-896c-0afe213d4f28 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items/ccd27770-775b-5636-9049-d9be1e288ce7 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:02:30 GMT + Pragma: + - no-cache + RequestId: + - f7dd6f31-a32d-5a8e-a955-9c01c340fcc3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:30 GMT + Pragma: + - no-cache + RequestId: + - ad2a4d43-c051-5e30-a60b-3e48db4103a1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "f7eeba97-31c6-5909-b585-5557b6d29a53", "type": "DeploymentPlan", + "displayName": "fabcli000002", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:30 GMT + Pragma: + - no-cache + RequestId: + - ec91bf65-053d-5e65-8853-de9412c1c6a9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items/f7eeba97-31c6-5909-b585-5557b6d29a53 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:02:31 GMT + Pragma: + - no-cache + RequestId: + - d1456781-a98a-56d3-a0e2-3ee539dc61dc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:30 GMT + Pragma: + - no-cache + RequestId: + - 9db09d89-9174-557a-a9ee-c2a44e4ef8f8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders?recursive=True + response: + body: + string: '{"value": [{"id": "05f8a4d0-a8f7-5d39-8a2d-a6d9d249f020", "displayName": + "fabcli000001", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '142' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:02:30 GMT + Pragma: + - no-cache + RequestId: + - 4177996b-e9cb-5242-95ee-3d4b37e075be + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/folders/05f8a4d0-a8f7-5d39-8a2d-a6d9d249f020 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:02:31 GMT + Pragma: + - no-cache + RequestId: + - d09e5ed8-9fa2-56f7-87af-2ed0807d7d13 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_ls/test_ls_workspace_items_success[dir-DeploymentPlan].yaml b/tests/test_commands/recordings/test_commands/test_ls/test_ls_workspace_items_success[dir-DeploymentPlan].yaml new file mode 100644 index 000000000..e30a8acf7 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_ls/test_ls_workspace_items_success[dir-DeploymentPlan].yaml @@ -0,0 +1,740 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:44 GMT + Pragma: + - no-cache + RequestId: + - e9586ae4-9717-5a9f-a9db-00a97efc825e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:45 GMT + Pragma: + - no-cache + RequestId: + - c2f36b3a-c24e-5dc8-8106-1298de92f411 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:44 GMT + Pragma: + - no-cache + RequestId: + - 78e5402c-7eed-5c07-a3be-766c84cb6633 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001", "type": "DeploymentPlan", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '79' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/deploymentPlans + response: + body: + string: '{"id": "4358c3c4-a0d7-5766-acdd-3bc3a3f7ccb7", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '167' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:46 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 01dca404-f8ed-58e1-94c5-b8ac29ae06c1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:46 GMT + Pragma: + - no-cache + RequestId: + - 3b4692c3-9205-563c-b8b5-2a6456414b03 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "4358c3c4-a0d7-5766-acdd-3bc3a3f7ccb7", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '178' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:47 GMT + Pragma: + - no-cache + RequestId: + - d1f1bb51-42bd-5cde-b170-8b1227390906 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:46 GMT + Pragma: + - no-cache + RequestId: + - dd3db107-b52e-5a8a-bf82-1882bdb770d2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "4358c3c4-a0d7-5766-acdd-3bc3a3f7ccb7", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '178' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:47 GMT + Pragma: + - no-cache + RequestId: + - c4263288-f76e-5823-b041-70163437dee4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:48 GMT + Pragma: + - no-cache + RequestId: + - 95496fa6-8d7c-5dd6-9f32-efaa65f2710e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "4358c3c4-a0d7-5766-acdd-3bc3a3f7ccb7", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '178' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:47 GMT + Pragma: + - no-cache + RequestId: + - 563e72ad-c21f-5640-9173-11c0e82c3236 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:48 GMT + Pragma: + - no-cache + RequestId: + - b3e5b1ec-63f1-5e13-9348-c97b8e503c0d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "4358c3c4-a0d7-5766-acdd-3bc3a3f7ccb7", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '178' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:49 GMT + Pragma: + - no-cache + RequestId: + - 02f5cc7a-96c6-5d3f-9d2e-ceb076936ab0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:49 GMT + Pragma: + - no-cache + RequestId: + - 45ac5fd8-2c67-5d3e-a7ee-ca45f320a4ae + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "4358c3c4-a0d7-5766-acdd-3bc3a3f7ccb7", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '178' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:49 GMT + Pragma: + - no-cache + RequestId: + - eb033efa-78cd-51aa-b80b-4a0fc7b49dcd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items/4358c3c4-a0d7-5766-acdd-3bc3a3f7ccb7 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:01:50 GMT + Pragma: + - no-cache + RequestId: + - d2721397-71d4-5e00-aef3-a40040bc3c0c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_ls/test_ls_workspace_items_success[ls-DeploymentPlan].yaml b/tests/test_commands/recordings/test_commands/test_ls/test_ls_workspace_items_success[ls-DeploymentPlan].yaml new file mode 100644 index 000000000..93a40fb29 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_ls/test_ls_workspace_items_success[ls-DeploymentPlan].yaml @@ -0,0 +1,740 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:36 GMT + Pragma: + - no-cache + RequestId: + - 4ed497f0-bf76-5c1e-8e34-fb8e7b660e16 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:36 GMT + Pragma: + - no-cache + RequestId: + - 85ddefe4-d9ec-555f-8530-a56fc8283990 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:37 GMT + Pragma: + - no-cache + RequestId: + - 97f1df1f-c58c-5a5e-b703-ab0f200c6b02 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001", "type": "DeploymentPlan", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '79' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/deploymentPlans + response: + body: + string: '{"id": "71759b40-7e29-51e9-bfa9-c04d88efcda7", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '168' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:39 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 87c07c77-990d-5e3e-bd25-183994171d9e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:39 GMT + Pragma: + - no-cache + RequestId: + - 519493ee-7dab-54c7-ba87-79ad67f064c7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "71759b40-7e29-51e9-bfa9-c04d88efcda7", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '179' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:39 GMT + Pragma: + - no-cache + RequestId: + - c78e41d5-8320-585f-8c4b-d865e814c422 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:40 GMT + Pragma: + - no-cache + RequestId: + - cf29bbfc-a4d2-50ac-8b98-c14b07639cc1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "71759b40-7e29-51e9-bfa9-c04d88efcda7", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '179' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:41 GMT + Pragma: + - no-cache + RequestId: + - 5fc03f69-a6b8-5b91-bab4-07b7f0eb10d1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:42 GMT + Pragma: + - no-cache + RequestId: + - 277f7f90-a608-5a35-a828-c0d8de4cd364 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "71759b40-7e29-51e9-bfa9-c04d88efcda7", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '179' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:42 GMT + Pragma: + - no-cache + RequestId: + - 2920c8d4-e98e-5a3a-abb5-45f52adcaa9c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:41 GMT + Pragma: + - no-cache + RequestId: + - a60f60e7-8f1a-5888-b812-79b543116e61 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "71759b40-7e29-51e9-bfa9-c04d88efcda7", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '179' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:42 GMT + Pragma: + - no-cache + RequestId: + - f4291d50-ff01-56a6-a58d-7181cf38a5ec + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:43 GMT + Pragma: + - no-cache + RequestId: + - 1e54d800-e12c-53d9-97b9-50ee86127197 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items + response: + body: + string: '{"value": [{"id": "71759b40-7e29-51e9-bfa9-c04d88efcda7", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "1f2d98cc-fa08-4883-ae9d-78d051d4804d", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '179' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:01:43 GMT + Pragma: + - no-cache + RequestId: + - 9b4f4b8e-d995-584f-b39a-5ff9d4ea93a6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/1f2d98cc-fa08-4883-ae9d-78d051d4804d/items/71759b40-7e29-51e9-bfa9-c04d88efcda7 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:01:44 GMT + Pragma: + - no-cache + RequestId: + - aabfe6f2-1a94-5130-855b-176ab3ffb5ad + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_mkdir/test_mkdir_item_name_already_exists_failure[DeploymentPlan].yaml b/tests/test_commands/recordings/test_commands/test_mkdir/test_mkdir_item_name_already_exists_failure[DeploymentPlan].yaml new file mode 100644 index 000000000..271dc79c4 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_mkdir/test_mkdir_item_name_already_exists_failure[DeploymentPlan].yaml @@ -0,0 +1,443 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "55c55867-7a29-4f5b-b97f-84ea8da4c7c2", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:08 GMT + Pragma: + - no-cache + RequestId: + - a08bf57c-2fd7-586d-bb28-c0d6519645cc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/55c55867-7a29-4f5b-b97f-84ea8da4c7c2/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:08 GMT + Pragma: + - no-cache + RequestId: + - d31135c6-1bf7-56c0-b4ef-3c078fc37611 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/55c55867-7a29-4f5b-b97f-84ea8da4c7c2/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:08 GMT + Pragma: + - no-cache + RequestId: + - 2e6d0854-57fe-5cea-9449-aa2f1071193c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001", "type": "DeploymentPlan", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '79' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/55c55867-7a29-4f5b-b97f-84ea8da4c7c2/deploymentPlans + response: + body: + string: '{"id": "b7d26751-a85d-5463-b212-962798d11c07", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "55c55867-7a29-4f5b-b97f-84ea8da4c7c2", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '172' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:10 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - d2378914-f734-513b-92f4-d80bb2c69104 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "55c55867-7a29-4f5b-b97f-84ea8da4c7c2", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:10 GMT + Pragma: + - no-cache + RequestId: + - 0b08aab2-c91e-589b-a1da-89f41997596a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/55c55867-7a29-4f5b-b97f-84ea8da4c7c2/items + response: + body: + string: '{"value": [{"id": "b7d26751-a85d-5463-b212-962798d11c07", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "55c55867-7a29-4f5b-b97f-84ea8da4c7c2", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '183' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:11 GMT + Pragma: + - no-cache + RequestId: + - ce72064a-cbfe-5890-ae2a-27e7df532a6a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "55c55867-7a29-4f5b-b97f-84ea8da4c7c2", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:11 GMT + Pragma: + - no-cache + RequestId: + - 43f16039-983c-5be1-a406-8df74e34a8b9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/55c55867-7a29-4f5b-b97f-84ea8da4c7c2/items + response: + body: + string: '{"value": [{"id": "b7d26751-a85d-5463-b212-962798d11c07", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "55c55867-7a29-4f5b-b97f-84ea8da4c7c2", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '183' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:12 GMT + Pragma: + - no-cache + RequestId: + - 3f858a96-db97-5872-be22-8674f2144f9f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/55c55867-7a29-4f5b-b97f-84ea8da4c7c2/items/b7d26751-a85d-5463-b212-962798d11c07 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:03:12 GMT + Pragma: + - no-cache + RequestId: + - 3e5b61a4-e38f-5ccc-a740-a0185b84de0b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_mkdir/test_mkdir_item_success[DeploymentPlan].yaml b/tests/test_commands/recordings/test_commands/test_mkdir/test_mkdir_item_success[DeploymentPlan].yaml new file mode 100644 index 000000000..565a5fc42 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_mkdir/test_mkdir_item_success[DeploymentPlan].yaml @@ -0,0 +1,589 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "55c55867-7a29-4f5b-b97f-84ea8da4c7c2", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:13 GMT + Pragma: + - no-cache + RequestId: + - 9fb5d41c-56e6-5bed-b1c5-3017d0f841dd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/55c55867-7a29-4f5b-b97f-84ea8da4c7c2/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:13 GMT + Pragma: + - no-cache + RequestId: + - ba074c2a-d494-5d35-9271-4205afefd4fd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/55c55867-7a29-4f5b-b97f-84ea8da4c7c2/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:14 GMT + Pragma: + - no-cache + RequestId: + - 35590fbe-06d1-5576-ad06-598e4920f18c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001", "type": "DeploymentPlan", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '79' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/55c55867-7a29-4f5b-b97f-84ea8da4c7c2/deploymentPlans + response: + body: + string: '{"id": "177ff9e4-73ef-5615-b5d1-34ef99bc5998", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "55c55867-7a29-4f5b-b97f-84ea8da4c7c2", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:14 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 0aaa4beb-e102-55d6-b2e9-f1e72aafa8ae + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "55c55867-7a29-4f5b-b97f-84ea8da4c7c2", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:15 GMT + Pragma: + - no-cache + RequestId: + - 86e3521f-93bc-5568-b465-e98cccf605ba + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/55c55867-7a29-4f5b-b97f-84ea8da4c7c2/items + response: + body: + string: '{"value": [{"id": "177ff9e4-73ef-5615-b5d1-34ef99bc5998", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "55c55867-7a29-4f5b-b97f-84ea8da4c7c2", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:15 GMT + Pragma: + - no-cache + RequestId: + - b6c81d77-90bf-58c6-af82-f0d3a8d29d93 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/55c55867-7a29-4f5b-b97f-84ea8da4c7c2/deploymentPlans/177ff9e4-73ef-5615-b5d1-34ef99bc5998 + response: + body: + string: '{"id": "177ff9e4-73ef-5615-b5d1-34ef99bc5998", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "55c55867-7a29-4f5b-b97f-84ea8da4c7c2", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:15 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 44272c0b-7da6-5919-bcc3-6e30a456f332 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/55c55867-7a29-4f5b-b97f-84ea8da4c7c2/items/177ff9e4-73ef-5615-b5d1-34ef99bc5998/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "plan.yml", "payload": "JHNjaGVtYTogaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vZGVwbG95bWVudFBsYW4vZGVmaW5pdGlvbi9wbGFuLzEuMC4wL3NjaGVtYS5qc29uCnZlcnNpb246IDEuMC4w", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkRlcGxveW1lbnRQbGFuIiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '499' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:16 GMT + Pragma: + - no-cache + RequestId: + - 998b632c-72af-59ad-86aa-3be349309d86 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/55c55867-7a29-4f5b-b97f-84ea8da4c7c2/items/177ff9e4-73ef-5615-b5d1-34ef99bc5998/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:17 GMT + Pragma: + - no-cache + RequestId: + - 4329b86b-c095-5bc8-83d8-6bd9f4e1a868 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "55c55867-7a29-4f5b-b97f-84ea8da4c7c2", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:18 GMT + Pragma: + - no-cache + RequestId: + - c3512842-220d-56d5-89be-0449283d5586 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/55c55867-7a29-4f5b-b97f-84ea8da4c7c2/items + response: + body: + string: '{"value": [{"id": "177ff9e4-73ef-5615-b5d1-34ef99bc5998", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "55c55867-7a29-4f5b-b97f-84ea8da4c7c2", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:18 GMT + Pragma: + - no-cache + RequestId: + - 4e71945f-68b3-552c-a36c-8f47cd03a8c4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/55c55867-7a29-4f5b-b97f-84ea8da4c7c2/items/177ff9e4-73ef-5615-b5d1-34ef99bc5998 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:03:18 GMT + Pragma: + - no-cache + RequestId: + - 2e9eec4a-97ff-5c02-98f1-ebf801a9ee55 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_mv/test_mv_item_to_item_success[DeploymentPlan].yaml b/tests/test_commands/recordings/test_commands/test_mv/test_mv_item_to_item_success[DeploymentPlan].yaml new file mode 100644 index 000000000..a385ad029 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_mv/test_mv_item_to_item_success[DeploymentPlan].yaml @@ -0,0 +1,1776 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "03499b71-324d-4dd5-a62f-bf99e69395ef", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:18 GMT + Pragma: + - no-cache + RequestId: + - 497eb3ef-6615-5937-a9e3-69075d5cc904 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "03499b71-324d-4dd5-a62f-bf99e69395ef", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:18 GMT + Pragma: + - no-cache + RequestId: + - 99ac6570-fb53-560f-bb72-b3e725549971 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + 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": "Central US", "state": + "Active"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '594' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:21 GMT + Pragma: + - no-cache + RequestId: + - 31d6c98d-a076-5e9b-9d95-0b54085e5385 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001", "capacityId": "00000000-0000-0000-0000-000000000004"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '89' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"id": "12c2ddd8-dee6-583a-90c2-457492a2c870", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '198' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:29 GMT + Location: + - https://api.fabric.microsoft.com/v1/workspaces/12c2ddd8-dee6-583a-90c2-457492a2c870 + Pragma: + - no-cache + RequestId: + - 1a146c98-a9cd-5cf1-9b6f-738da2892089 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "03499b71-324d-4dd5-a62f-bf99e69395ef", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "12c2ddd8-dee6-583a-90c2-457492a2c870", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4064' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:29 GMT + Pragma: + - no-cache + RequestId: + - 1d737e5c-a6df-5267-a423-2d1f264e060b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "03499b71-324d-4dd5-a62f-bf99e69395ef", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "12c2ddd8-dee6-583a-90c2-457492a2c870", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4064' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:30 GMT + Pragma: + - no-cache + RequestId: + - e8dbe8b7-014e-576d-a691-499bdfd86379 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + 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": "Central US", "state": + "Active"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '593' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:33 GMT + Pragma: + - no-cache + RequestId: + - 22579b0b-0deb-5664-be26-5000594e3aa0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000002", "capacityId": "00000000-0000-0000-0000-000000000004"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '89' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"id": "9cd53a30-fda4-50a9-9bed-f6101e661d13", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '197' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:39 GMT + Location: + - https://api.fabric.microsoft.com/v1/workspaces/9cd53a30-fda4-50a9-9bed-f6101e661d13 + Pragma: + - no-cache + RequestId: + - 116f2848-34eb-54dc-b990-c4fdacd92cf3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "03499b71-324d-4dd5-a62f-bf99e69395ef", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "12c2ddd8-dee6-583a-90c2-457492a2c870", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "9cd53a30-fda4-50a9-9bed-f6101e661d13", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4102' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:39 GMT + Pragma: + - no-cache + RequestId: + - 2d6139f8-850e-5634-b751-62a23475c1e1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/12c2ddd8-dee6-583a-90c2-457492a2c870/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:39 GMT + Pragma: + - no-cache + RequestId: + - 4f7d7cc4-79ee-5d4a-b7fb-dd147dc6a3d4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/12c2ddd8-dee6-583a-90c2-457492a2c870/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:39 GMT + Pragma: + - no-cache + RequestId: + - c99cb875-5897-597d-87db-a965d902f889 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000003", "type": "DeploymentPlan", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '79' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/12c2ddd8-dee6-583a-90c2-457492a2c870/deploymentPlans + response: + body: + string: '{"id": "b54d2645-9389-5e32-96c1-a1d1879766ed", "type": "DeploymentPlan", + "displayName": "fabcli000003", "description": "", "workspaceId": "12c2ddd8-dee6-583a-90c2-457492a2c870", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:41 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 0daae672-3ae0-5c85-a6d7-fddb2978d763 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "03499b71-324d-4dd5-a62f-bf99e69395ef", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "12c2ddd8-dee6-583a-90c2-457492a2c870", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "9cd53a30-fda4-50a9-9bed-f6101e661d13", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4102' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:42 GMT + Pragma: + - no-cache + RequestId: + - d0ea1ffa-7b38-5810-af77-2ef8e147023b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/12c2ddd8-dee6-583a-90c2-457492a2c870/items + response: + body: + string: '{"value": [{"id": "b54d2645-9389-5e32-96c1-a1d1879766ed", "type": "DeploymentPlan", + "displayName": "fabcli000003", "description": "", "workspaceId": "12c2ddd8-dee6-583a-90c2-457492a2c870", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:42 GMT + Pragma: + - no-cache + RequestId: + - 296d8b9e-f9b3-5271-8d7f-70e85b5d797f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "03499b71-324d-4dd5-a62f-bf99e69395ef", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "12c2ddd8-dee6-583a-90c2-457492a2c870", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "9cd53a30-fda4-50a9-9bed-f6101e661d13", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4102' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:43 GMT + Pragma: + - no-cache + RequestId: + - 09877663-4df7-53f5-91f1-47c2c385723d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/9cd53a30-fda4-50a9-9bed-f6101e661d13/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:43 GMT + Pragma: + - no-cache + RequestId: + - 2b86a441-8a97-5abf-b7c2-cac0e49c8582 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/9cd53a30-fda4-50a9-9bed-f6101e661d13/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:43 GMT + Pragma: + - no-cache + RequestId: + - cbfb27b4-ee92-5cf4-b40b-f5186e0ad3cd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/9cd53a30-fda4-50a9-9bed-f6101e661d13/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:44 GMT + Pragma: + - no-cache + RequestId: + - 3e755029-9471-569c-bd75-fe9d7acbcc3a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/12c2ddd8-dee6-583a-90c2-457492a2c870/items/b54d2645-9389-5e32-96c1-a1d1879766ed + response: + body: + string: '{"id": "b54d2645-9389-5e32-96c1-a1d1879766ed", "type": "DeploymentPlan", + "displayName": "fabcli000003", "description": "", "workspaceId": "12c2ddd8-dee6-583a-90c2-457492a2c870", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:44 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 3037692c-2fff-50b8-b0f4-71fa45bb509c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/12c2ddd8-dee6-583a-90c2-457492a2c870/items/b54d2645-9389-5e32-96c1-a1d1879766ed/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "plan.yml", "payload": "JHNjaGVtYTogaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vZGVwbG95bWVudFBsYW4vZGVmaW5pdGlvbi9wbGFuLzEuMC4wL3NjaGVtYS5qc29uCnZlcnNpb246IDEuMC4w", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkRlcGxveW1lbnRQbGFuIiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDMiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '499' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:46 GMT + Pragma: + - no-cache + RequestId: + - e447b116-cd9c-5cb9-9dbc-2f6c45615523 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"type": "DeploymentPlan", "displayName": "fabcli000003", "definition": + {"parts": [{"path": "plan.yml", "payload": "JHNjaGVtYTogaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vZGVwbG95bWVudFBsYW4vZGVmaW5pdGlvbi9wbGFuLzEuMC4wL3NjaGVtYS5qc29uCnZlcnNpb246IDEuMC4w", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkRlcGxveW1lbnRQbGFuIiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDMiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}, "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '827' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/9cd53a30-fda4-50a9-9bed-f6101e661d13/items + response: + body: + string: '{"id": "6f7e50c3-415e-5cf1-afc9-d85e159cbba3", "type": "DeploymentPlan", + "displayName": "fabcli000003", "description": "", "workspaceId": "9cd53a30-fda4-50a9-9bed-f6101e661d13", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:48 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 4d97a59b-0b4a-50c7-80cc-634ec28b3ab3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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-Length: + - '0' + Content-Type: + - application/json + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/12c2ddd8-dee6-583a-90c2-457492a2c870/items/b54d2645-9389-5e32-96c1-a1d1879766ed + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:07:48 GMT + Pragma: + - no-cache + RequestId: + - a8ead9d6-4197-5b85-aff9-ad6126675719 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "03499b71-324d-4dd5-a62f-bf99e69395ef", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "12c2ddd8-dee6-583a-90c2-457492a2c870", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "9cd53a30-fda4-50a9-9bed-f6101e661d13", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4102' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:49 GMT + Pragma: + - no-cache + RequestId: + - 31aa674d-bc3c-5c59-be92-cc8e78f4bec8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/12c2ddd8-dee6-583a-90c2-457492a2c870/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:49 GMT + Pragma: + - no-cache + RequestId: + - 2931d234-b3b9-5aa7-ab46-eab1e465768e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "03499b71-324d-4dd5-a62f-bf99e69395ef", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "12c2ddd8-dee6-583a-90c2-457492a2c870", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "9cd53a30-fda4-50a9-9bed-f6101e661d13", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4102' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:49 GMT + Pragma: + - no-cache + RequestId: + - 8155696a-1612-5d65-9dbe-fff3651953fb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/9cd53a30-fda4-50a9-9bed-f6101e661d13/items + response: + body: + string: '{"value": [{"id": "6f7e50c3-415e-5cf1-afc9-d85e159cbba3", "type": "DeploymentPlan", + "displayName": "fabcli000003", "description": "", "workspaceId": "9cd53a30-fda4-50a9-9bed-f6101e661d13", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '182' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:50 GMT + Pragma: + - no-cache + RequestId: + - 00c2f0b8-f795-5031-a7e7-2d0e3bf992fb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "03499b71-324d-4dd5-a62f-bf99e69395ef", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "12c2ddd8-dee6-583a-90c2-457492a2c870", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "9cd53a30-fda4-50a9-9bed-f6101e661d13", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4102' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:50 GMT + Pragma: + - no-cache + RequestId: + - 052d86ba-16e7-5a0a-8df2-5dabb67d1b8a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/9cd53a30-fda4-50a9-9bed-f6101e661d13/items + response: + body: + string: '{"value": [{"id": "6f7e50c3-415e-5cf1-afc9-d85e159cbba3", "type": "DeploymentPlan", + "displayName": "fabcli000003", "description": "", "workspaceId": "9cd53a30-fda4-50a9-9bed-f6101e661d13", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '182' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:51 GMT + Pragma: + - no-cache + RequestId: + - 3f310e0b-2a9a-51bd-b634-2785844b79b2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/9cd53a30-fda4-50a9-9bed-f6101e661d13/items/6f7e50c3-415e-5cf1-afc9-d85e159cbba3 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:07:52 GMT + Pragma: + - no-cache + RequestId: + - 61de46cb-3c4c-5c80-a784-31a857a2a71b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "03499b71-324d-4dd5-a62f-bf99e69395ef", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "12c2ddd8-dee6-583a-90c2-457492a2c870", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "9cd53a30-fda4-50a9-9bed-f6101e661d13", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4102' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:52 GMT + Pragma: + - no-cache + RequestId: + - d9885af3-f147-5bfd-920e-d787b0cd5fe2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/12c2ddd8-dee6-583a-90c2-457492a2c870/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:52 GMT + Pragma: + - no-cache + RequestId: + - 3bc9e5f7-3055-5a8d-b62e-02bf8096d108 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/12c2ddd8-dee6-583a-90c2-457492a2c870 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:07:53 GMT + Pragma: + - no-cache + RequestId: + - b5c19fb8-e495-51a4-a5c6-b6299d4981e1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "03499b71-324d-4dd5-a62f-bf99e69395ef", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "9cd53a30-fda4-50a9-9bed-f6101e661d13", "displayName": "fabcli000002", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4067' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:53 GMT + Pragma: + - no-cache + RequestId: + - ddf55019-3d9a-5cf5-8c9e-9f8ad663d919 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/9cd53a30-fda4-50a9-9bed-f6101e661d13/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:53 GMT + Pragma: + - no-cache + RequestId: + - 838e3a4a-4b7b-5507-bbb4-a3fa366f6d19 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/9cd53a30-fda4-50a9-9bed-f6101e661d13 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:07:53 GMT + Pragma: + - no-cache + RequestId: + - d975f8a0-7427-5b83-8d4e-6d349284e4e5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_mv/test_mv_item_within_workspace_rename_success[DeploymentPlan].yaml b/tests/test_commands/recordings/test_commands/test_mv/test_mv_item_within_workspace_rename_success[DeploymentPlan].yaml new file mode 100644 index 000000000..e6aaaaae0 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_mv/test_mv_item_within_workspace_rename_success[DeploymentPlan].yaml @@ -0,0 +1,1305 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "03499b71-324d-4dd5-a62f-bf99e69395ef", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:54 GMT + Pragma: + - no-cache + RequestId: + - a2df2039-d6f9-5b55-aa8a-36532eaac98e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "03499b71-324d-4dd5-a62f-bf99e69395ef", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:07:55 GMT + Pragma: + - no-cache + RequestId: + - 617f68c2-8646-54d4-8861-7b75af04bbca + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + 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": "Central US", "state": + "Active"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '590' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:00 GMT + Pragma: + - no-cache + RequestId: + - 7d808443-2590-5cb2-8727-2a52dcca12d0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001", "capacityId": "00000000-0000-0000-0000-000000000004"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '89' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"id": "4eda32c8-4a68-595c-adbb-896047b40c9c", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '198' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:06 GMT + Location: + - https://api.fabric.microsoft.com/v1/workspaces/4eda32c8-4a68-595c-adbb-896047b40c9c + Pragma: + - no-cache + RequestId: + - 9826c566-a772-54bf-b650-ff4c3cfa7311 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "03499b71-324d-4dd5-a62f-bf99e69395ef", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "4eda32c8-4a68-595c-adbb-896047b40c9c", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4065' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:07 GMT + Pragma: + - no-cache + RequestId: + - b5e8229b-182f-52a4-910f-2f10145d7d76 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/4eda32c8-4a68-595c-adbb-896047b40c9c/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:08 GMT + Pragma: + - no-cache + RequestId: + - e9f66f40-96a6-5965-9fee-144e68bb1d8e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/4eda32c8-4a68-595c-adbb-896047b40c9c/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:07 GMT + Pragma: + - no-cache + RequestId: + - 27fc31bc-a804-5b06-9309-0d0b7e7aa5f3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000002", "type": "DeploymentPlan", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '79' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/4eda32c8-4a68-595c-adbb-896047b40c9c/deploymentPlans + response: + body: + string: '{"id": "e6e9191a-6b24-52da-9076-2e38f4e8c4ab", "type": "DeploymentPlan", + "displayName": "fabcli000002", "description": "", "workspaceId": "4eda32c8-4a68-595c-adbb-896047b40c9c", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:10 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 3ade4294-10cb-50f3-bc87-f5a9def11436 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "03499b71-324d-4dd5-a62f-bf99e69395ef", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "4eda32c8-4a68-595c-adbb-896047b40c9c", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4065' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:10 GMT + Pragma: + - no-cache + RequestId: + - ba073c1d-8cb1-5d05-8f7c-1831169a06b4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/4eda32c8-4a68-595c-adbb-896047b40c9c/items + response: + body: + string: '{"value": [{"id": "e6e9191a-6b24-52da-9076-2e38f4e8c4ab", "type": "DeploymentPlan", + "displayName": "fabcli000002", "description": "", "workspaceId": "4eda32c8-4a68-595c-adbb-896047b40c9c", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:11 GMT + Pragma: + - no-cache + RequestId: + - 204ae870-b22b-5061-9e30-76232f82bc7e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "03499b71-324d-4dd5-a62f-bf99e69395ef", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "4eda32c8-4a68-595c-adbb-896047b40c9c", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4065' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:12 GMT + Pragma: + - no-cache + RequestId: + - d9d1dba7-4806-5a8c-9c81-a5cfc429b6dd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/4eda32c8-4a68-595c-adbb-896047b40c9c/items + response: + body: + string: '{"value": [{"id": "e6e9191a-6b24-52da-9076-2e38f4e8c4ab", "type": "DeploymentPlan", + "displayName": "fabcli000002", "description": "", "workspaceId": "4eda32c8-4a68-595c-adbb-896047b40c9c", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:12 GMT + Pragma: + - no-cache + RequestId: + - 20dd459b-b52f-53ff-ba9a-f84ae21a3cc1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/4eda32c8-4a68-595c-adbb-896047b40c9c/items + response: + body: + string: '{"value": [{"id": "e6e9191a-6b24-52da-9076-2e38f4e8c4ab", "type": "DeploymentPlan", + "displayName": "fabcli000002", "description": "", "workspaceId": "4eda32c8-4a68-595c-adbb-896047b40c9c", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:13 GMT + Pragma: + - no-cache + RequestId: + - 06d70ecf-f85e-5e79-9dd7-0c918bda25df + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/4eda32c8-4a68-595c-adbb-896047b40c9c/items + response: + body: + string: '{"value": [{"id": "e6e9191a-6b24-52da-9076-2e38f4e8c4ab", "type": "DeploymentPlan", + "displayName": "fabcli000002", "description": "", "workspaceId": "4eda32c8-4a68-595c-adbb-896047b40c9c", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:13 GMT + Pragma: + - no-cache + RequestId: + - 76c46b2d-99b1-5ca6-999d-96abac9cec4b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/4eda32c8-4a68-595c-adbb-896047b40c9c/items/e6e9191a-6b24-52da-9076-2e38f4e8c4ab + response: + body: + string: '{"id": "e6e9191a-6b24-52da-9076-2e38f4e8c4ab", "type": "DeploymentPlan", + "displayName": "fabcli000002", "description": "", "workspaceId": "4eda32c8-4a68-595c-adbb-896047b40c9c", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:13 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 00bcb498-6bd3-554c-8d2a-183885201d5a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/4eda32c8-4a68-595c-adbb-896047b40c9c/items/e6e9191a-6b24-52da-9076-2e38f4e8c4ab/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "plan.yml", "payload": "JHNjaGVtYTogaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vZGVwbG95bWVudFBsYW4vZGVmaW5pdGlvbi9wbGFuLzEuMC4wL3NjaGVtYS5qc29uCnZlcnNpb246IDEuMC4w", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkRlcGxveW1lbnRQbGFuIiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDIiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '500' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:14 GMT + Pragma: + - no-cache + RequestId: + - 549c3383-c272-512a-8eba-9950cb113a39 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"type": "DeploymentPlan", "displayName": "fabcli000002 Renamed", "definition": + {"parts": [{"path": "plan.yml", "payload": "JHNjaGVtYTogaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vZGVwbG95bWVudFBsYW4vZGVmaW5pdGlvbi9wbGFuLzEuMC4wL3NjaGVtYS5qc29uCnZlcnNpb246IDEuMC4w", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkRlcGxveW1lbnRQbGFuIiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDIiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}, "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '835' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/4eda32c8-4a68-595c-adbb-896047b40c9c/items + response: + body: + string: '{"id": "a19d4e0c-ee21-5460-8ffe-813063610940", "type": "DeploymentPlan", + "displayName": "fabcli000002 Renamed", "description": "", "workspaceId": "4eda32c8-4a68-595c-adbb-896047b40c9c", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '176' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:16 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 31a08a36-515e-516e-884e-fb09556d7d70 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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-Length: + - '0' + Content-Type: + - application/json + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/4eda32c8-4a68-595c-adbb-896047b40c9c/items/e6e9191a-6b24-52da-9076-2e38f4e8c4ab + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:08:16 GMT + Pragma: + - no-cache + RequestId: + - e1c0b260-3e8d-5ad5-a414-c31d36cc2014 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "03499b71-324d-4dd5-a62f-bf99e69395ef", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "4eda32c8-4a68-595c-adbb-896047b40c9c", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4065' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:17 GMT + Pragma: + - no-cache + RequestId: + - a2605eac-abf4-5e0e-a496-0f7dfb536cbc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/4eda32c8-4a68-595c-adbb-896047b40c9c/items + response: + body: + string: '{"value": [{"id": "a19d4e0c-ee21-5460-8ffe-813063610940", "type": "DeploymentPlan", + "displayName": "fabcli000002 Renamed", "description": "", "workspaceId": "4eda32c8-4a68-595c-adbb-896047b40c9c", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '188' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:18 GMT + Pragma: + - no-cache + RequestId: + - 414860a9-5993-5fbb-99f3-1e5c5b38e180 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "03499b71-324d-4dd5-a62f-bf99e69395ef", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "4eda32c8-4a68-595c-adbb-896047b40c9c", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4065' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:18 GMT + Pragma: + - no-cache + RequestId: + - 892bca22-69f3-50fa-bcbf-01ab42d759af + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/4eda32c8-4a68-595c-adbb-896047b40c9c/items + response: + body: + string: '{"value": [{"id": "a19d4e0c-ee21-5460-8ffe-813063610940", "type": "DeploymentPlan", + "displayName": "fabcli000002 Renamed", "description": "", "workspaceId": "4eda32c8-4a68-595c-adbb-896047b40c9c", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '188' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:19 GMT + Pragma: + - no-cache + RequestId: + - cf5ef4ba-b96d-58f4-be05-60619722dd6a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/4eda32c8-4a68-595c-adbb-896047b40c9c/items/a19d4e0c-ee21-5460-8ffe-813063610940 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:08:19 GMT + Pragma: + - no-cache + RequestId: + - 1f7b22bc-0a35-518f-8951-366cfb7decd9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "03499b71-324d-4dd5-a62f-bf99e69395ef", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}, + {"id": "4eda32c8-4a68-595c-adbb-896047b40c9c", "displayName": "fabcli000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4065' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:20 GMT + Pragma: + - no-cache + RequestId: + - 9ff0588c-4a32-5dbb-8994-d6412dea4aa7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/4eda32c8-4a68-595c-adbb-896047b40c9c/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:20 GMT + Pragma: + - no-cache + RequestId: + - 286f6a79-e5a8-5d6b-9eea-25b501e89a2b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/4eda32c8-4a68-595c-adbb-896047b40c9c + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:08:20 GMT + Pragma: + - no-cache + RequestId: + - f1925d62-312a-5b7b-8dbc-85f95e4af6b5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_open/class_setup.yaml b/tests/test_commands/recordings/test_commands/test_open/class_setup.yaml index 633712e64..2fe9be637 100644 --- a/tests/test_commands/recordings/test_commands/test_open/class_setup.yaml +++ b/tests/test_commands/recordings/test_commands/test_open/class_setup.yaml @@ -11,30 +11,31 @@ 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.9.0 (None; Linux/6.18.58.1-microsoft-standard-WSL2; Python/3.12.15) 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"}]}' + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000101", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}]}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: - gzip Content-Length: - - '323' + - '3993' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:55:39 GMT + - Tue, 24 Nov 2026 11:19:11 GMT Pragma: - no-cache RequestId: - - db93dbd5-c47f-4a61-b29d-812143b3da9a + - 00000000-0000-0000-0000-000000000102 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -42,7 +43,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,30 +61,31 @@ 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.9.0 (None; Linux/6.18.58.1-microsoft-standard-WSL2; Python/3.12.15) 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"}]}' + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000101", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}]}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: - gzip Content-Length: - - '323' + - '3993' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:55:39 GMT + - Tue, 24 Nov 2026 11:19:11 GMT Pragma: - no-cache RequestId: - - b42170cf-c7ac-4c22-8dde-e029ef6256aa + - 00000000-0000-0000-0000-000000000103 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -91,7 +93,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,31 +111,31 @@ 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.9.0 (None; Linux/6.18.58.1-microsoft-standard-WSL2; Python/3.12.15) method: GET uri: https://api.fabric.microsoft.com/v1/capacities response: body: string: '{"value": [{"id": "00000000-0000-0000-0000-000000000004", "displayName": - "mocked_fabriccli_capacity_name", "sku": "F16", "region": "West Europe", "state": + "mocked_fabriccli_capacity_name", "sku": "F16", "region": "Central US", "state": "Active"}]}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: - gzip Content-Length: - - '456' + - '593' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:55:44 GMT + - Tue, 24 Nov 2026 11:19:16 GMT Pragma: - no-cache RequestId: - - 34993638-b682-48c3-9e0a-5ecd0021f731 + - 00000000-0000-0000-0000-000000000104 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -141,14 +143,15 @@ 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: code: 200 message: OK - request: - body: '{"displayName": "fabriccli_WorkspacePerTestclass_000001", "capacityId": "00000000-0000-0000-0000-000000000004"}' + body: '{"displayName": "fabriccli_WorkspacePerTestclass_000001", "capacityId": + "00000000-0000-0000-0000-000000000004"}' headers: Accept: - '*/*' @@ -158,35 +161,36 @@ interactions: - keep-alive Content-Length: - '124' - 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.9.0 (None; Linux/6.18.58.1-microsoft-standard-WSL2; Python/3.12.15) method: POST uri: https://api.fabric.microsoft.com/v1/workspaces response: body: - string: '{"id": "bbebcd29-98e4-4310-b209-af865aae93ea", "displayName": "fabriccli_WorkspacePerTestclass_000001", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}' + string: '{"id": "00000000-0000-0000-0000-000000000105", "displayName": "fabriccli_WorkspacePerTestclass_000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}' headers: Access-Control-Expose-Headers: - - RequestId,Location + - RequestId,Location,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: - gzip Content-Length: - - '186' + - '220' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:55:53 GMT + - Tue, 24 Nov 2026 11:19:24 GMT Location: - - https://api.fabric.microsoft.com/v1/workspaces/bbebcd29-98e4-4310-b209-af865aae93ea + - https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105 Pragma: - no-cache RequestId: - - 113cebc6-6f47-4937-9a5e-ff24bf1d9efa + - 00000000-0000-0000-0000-000000000106 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -194,7 +198,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: @@ -212,31 +216,34 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli/1.0.0 (open; Linux; x86_64; 5.15.167.4-microsoft-standard-WSL2) + - ms-fabric-cli/1.9.0 (open; Linux/6.18.58.1-microsoft-standard-WSL2; Python/3.12.15) 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": "bbebcd29-98e4-4310-b209-af865aae93ea", - "displayName": "fabriccli_WorkspacePerTestclass_000001", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000101", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "00000000-0000-0000-0000-000000000105", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: - gzip Content-Length: - - '356' + - '4028' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:56:02 GMT + - Tue, 24 Nov 2026 11:20:06 GMT Pragma: - no-cache RequestId: - - 19f31818-16aa-4916-b209-592871a861f8 + - 00000000-0000-0000-0000-000000000107 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -244,7 +251,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: @@ -262,15 +269,15 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli/1.0.0 (open; Linux; x86_64; 5.15.167.4-microsoft-standard-WSL2) + - ms-fabric-cli/1.9.0 (open; Linux/6.18.58.1-microsoft-standard-WSL2; Python/3.12.15) method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/bbebcd29-98e4-4310-b209-af865aae93ea/items + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/items response: body: string: '{"value": []}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: @@ -280,11 +287,11 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:56:02 GMT + - Tue, 24 Nov 2026 11:20:06 GMT Pragma: - no-cache RequestId: - - 638b158e-0c01-48fe-bdfa-9a727ad397a8 + - 00000000-0000-0000-0000-000000000108 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -292,7 +299,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: @@ -312,15 +319,15 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli/1.0.0 (open; Linux; x86_64; 5.15.167.4-microsoft-standard-WSL2) + - ms-fabric-cli/1.9.0 (open; Linux/6.18.58.1-microsoft-standard-WSL2; Python/3.12.15) method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/bbebcd29-98e4-4310-b209-af865aae93ea + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105 response: body: string: '' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: @@ -330,11 +337,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 03 Sep 2025 06:56:03 GMT + - Tue, 24 Nov 2026 11:20:07 GMT Pragma: - no-cache RequestId: - - 701dbc2a-6baa-45de-8e26-e577e8339772 + - 00000000-0000-0000-0000-000000000109 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -342,7 +349,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_open/test_open_deployment_plan_success[fabric-fabric-developer].yaml b/tests/test_commands/recordings/test_commands/test_open/test_open_deployment_plan_success[fabric-fabric-developer].yaml new file mode 100644 index 000000000..bb0d42d26 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_open/test_open_deployment_plan_success[fabric-fabric-developer].yaml @@ -0,0 +1,716 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.9.0 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000101", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "00000000-0000-0000-0000-000000000105", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4028' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 24 Nov 2026 11:19:53 GMT + Pragma: + - no-cache + RequestId: + - 00000000-0000-0000-0000-000000000110 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.9.0 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 24 Nov 2026 11:19:53 GMT + Pragma: + - no-cache + RequestId: + - 00000000-0000-0000-0000-000000000111 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.9.0 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 24 Nov 2026 11:19:53 GMT + Pragma: + - no-cache + RequestId: + - 00000000-0000-0000-0000-000000000112 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001", "type": "DeploymentPlan", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '79' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.9.0 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/deploymentPlans + response: + body: + string: '{"id": "00000000-0000-0000-0000-000000000113", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "00000000-0000-0000-0000-000000000105", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '168' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 24 Nov 2026 11:19:56 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 00000000-0000-0000-0000-000000000114 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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.9.0 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000101", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "00000000-0000-0000-0000-000000000105", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4028' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 24 Nov 2026 11:19:55 GMT + Pragma: + - no-cache + RequestId: + - 00000000-0000-0000-0000-000000000115 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.9.0 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/items + response: + body: + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000113", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "00000000-0000-0000-0000-000000000105", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 24 Nov 2026 11:19:57 GMT + Pragma: + - no-cache + RequestId: + - 00000000-0000-0000-0000-000000000116 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.9.0 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/deploymentPlans/00000000-0000-0000-0000-000000000113 + response: + body: + string: '{"id": "00000000-0000-0000-0000-000000000113", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "00000000-0000-0000-0000-000000000105", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '168' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 24 Nov 2026 11:19:57 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 00000000-0000-0000-0000-000000000117 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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.9.0 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/items/00000000-0000-0000-0000-000000000113/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "plan.yml", "payload": "JHNjaGVtYTogaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vZGVwbG95bWVudFBsYW4vZGVmaW5pdGlvbi9wbGFuLzEuMC4wL3NjaGVtYS5qc29uCnZlcnNpb246IDEuMC4w", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkRlcGxveW1lbnRQbGFuIiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '499' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 24 Nov 2026 11:19:58 GMT + Pragma: + - no-cache + RequestId: + - 00000000-0000-0000-0000-000000000118 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.9.0 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/items/00000000-0000-0000-0000-000000000113/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 24 Nov 2026 11:19:57 GMT + Pragma: + - no-cache + RequestId: + - 00000000-0000-0000-0000-000000000119 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.9.0 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000101", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "00000000-0000-0000-0000-000000000105", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4028' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 24 Nov 2026 11:19:58 GMT + Pragma: + - no-cache + RequestId: + - 00000000-0000-0000-0000-000000000120 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.9.0 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/items + response: + body: + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000113", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "00000000-0000-0000-0000-000000000105", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 24 Nov 2026 11:19:59 GMT + Pragma: + - no-cache + RequestId: + - 00000000-0000-0000-0000-000000000121 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.9.0 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000101", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "00000000-0000-0000-0000-000000000105", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4028' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 24 Nov 2026 11:19:58 GMT + Pragma: + - no-cache + RequestId: + - 00000000-0000-0000-0000-000000000122 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.9.0 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/items + response: + body: + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000113", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "00000000-0000-0000-0000-000000000105", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 24 Nov 2026 11:19:59 GMT + Pragma: + - no-cache + RequestId: + - 00000000-0000-0000-0000-000000000123 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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.9.0 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/items/00000000-0000-0000-0000-000000000113 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Tue, 24 Nov 2026 11:19:59 GMT + Pragma: + - no-cache + RequestId: + - 00000000-0000-0000-0000-000000000124 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_open/test_open_deployment_plan_success[powerbi-power-bi].yaml b/tests/test_commands/recordings/test_commands/test_open/test_open_deployment_plan_success[powerbi-power-bi].yaml new file mode 100644 index 000000000..9aff56932 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_open/test_open_deployment_plan_success[powerbi-power-bi].yaml @@ -0,0 +1,716 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.9.0 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000101", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "00000000-0000-0000-0000-000000000105", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4028' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 24 Nov 2026 11:20:00 GMT + Pragma: + - no-cache + RequestId: + - 00000000-0000-0000-0000-000000000125 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.9.0 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 24 Nov 2026 11:20:01 GMT + Pragma: + - no-cache + RequestId: + - 00000000-0000-0000-0000-000000000126 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.9.0 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 24 Nov 2026 11:20:00 GMT + Pragma: + - no-cache + RequestId: + - 00000000-0000-0000-0000-000000000127 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001", "type": "DeploymentPlan", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '79' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.9.0 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/deploymentPlans + response: + body: + string: '{"id": "00000000-0000-0000-0000-000000000128", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "00000000-0000-0000-0000-000000000105", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 24 Nov 2026 11:20:03 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 00000000-0000-0000-0000-000000000129 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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.9.0 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000101", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "00000000-0000-0000-0000-000000000105", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4028' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 24 Nov 2026 11:20:02 GMT + Pragma: + - no-cache + RequestId: + - 00000000-0000-0000-0000-000000000130 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.9.0 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/items + response: + body: + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000128", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "00000000-0000-0000-0000-000000000105", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 24 Nov 2026 11:20:03 GMT + Pragma: + - no-cache + RequestId: + - 00000000-0000-0000-0000-000000000131 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.9.0 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/deploymentPlans/00000000-0000-0000-0000-000000000128 + response: + body: + string: '{"id": "00000000-0000-0000-0000-000000000128", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "00000000-0000-0000-0000-000000000105", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 24 Nov 2026 11:20:03 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 00000000-0000-0000-0000-000000000132 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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.9.0 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/items/00000000-0000-0000-0000-000000000128/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "plan.yml", "payload": "JHNjaGVtYTogaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vZGVwbG95bWVudFBsYW4vZGVmaW5pdGlvbi9wbGFuLzEuMC4wL3NjaGVtYS5qc29uCnZlcnNpb246IDEuMC4w", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkRlcGxveW1lbnRQbGFuIiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '499' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 24 Nov 2026 11:20:03 GMT + Pragma: + - no-cache + RequestId: + - 00000000-0000-0000-0000-000000000133 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.9.0 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/items/00000000-0000-0000-0000-000000000128/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 24 Nov 2026 11:20:04 GMT + Pragma: + - no-cache + RequestId: + - 00000000-0000-0000-0000-000000000134 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.9.0 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000101", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "00000000-0000-0000-0000-000000000105", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4028' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 24 Nov 2026 11:20:04 GMT + Pragma: + - no-cache + RequestId: + - 00000000-0000-0000-0000-000000000135 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.9.0 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/items + response: + body: + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000128", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "00000000-0000-0000-0000-000000000105", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 24 Nov 2026 11:20:05 GMT + Pragma: + - no-cache + RequestId: + - 00000000-0000-0000-0000-000000000136 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.9.0 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000101", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "00000000-0000-0000-0000-000000000105", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4028' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 24 Nov 2026 11:20:05 GMT + Pragma: + - no-cache + RequestId: + - 00000000-0000-0000-0000-000000000137 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.9.0 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/items + response: + body: + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000128", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "00000000-0000-0000-0000-000000000105", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 24 Nov 2026 11:20:05 GMT + Pragma: + - no-cache + RequestId: + - 00000000-0000-0000-0000-000000000138 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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.9.0 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/items/00000000-0000-0000-0000-000000000128 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Tue, 24 Nov 2026 11:20:06 GMT + Pragma: + - no-cache + RequestId: + - 00000000-0000-0000-0000-000000000139 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_open/test_open_notebook_success.yaml b/tests/test_commands/recordings/test_commands/test_open/test_open_notebook_success.yaml index 24487c20b..7a5e74dfa 100644 --- a/tests/test_commands/recordings/test_commands/test_open/test_open_notebook_success.yaml +++ b/tests/test_commands/recordings/test_commands/test_open/test_open_notebook_success.yaml @@ -11,31 +11,34 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 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": "bbebcd29-98e4-4310-b209-af865aae93ea", - "displayName": "fabriccli_WorkspacePerTestclass_000001", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000101", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "00000000-0000-0000-0000-000000000105", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: - gzip Content-Length: - - '356' + - '4028' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:55:57 GMT + - Tue, 24 Nov 2026 11:19:36 GMT Pragma: - no-cache RequestId: - - aa7fc922-a426-435f-a883-276a5894be80 + - 00000000-0000-0000-0000-000000000140 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -43,7 +46,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: @@ -61,15 +64,15 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/bbebcd29-98e4-4310-b209-af865aae93ea/items + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/items response: body: string: '{"value": []}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: @@ -79,11 +82,11 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:55:57 GMT + - Tue, 24 Nov 2026 11:19:37 GMT Pragma: - no-cache RequestId: - - 08fbb1ac-31a3-4bf1-a547-5d09a8d90bfa + - 00000000-0000-0000-0000-000000000141 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -91,7 +94,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,15 +112,15 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/bbebcd29-98e4-4310-b209-af865aae93ea/items + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/items response: body: string: '{"value": []}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: @@ -127,11 +130,11 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:55:57 GMT + - Tue, 24 Nov 2026 11:19:37 GMT Pragma: - no-cache RequestId: - - 6dc97be3-f08a-4957-bdc4-80ab5987debc + - 00000000-0000-0000-0000-000000000142 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -139,14 +142,16 @@ 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: code: 200 message: OK - request: - body: '{"displayName": "fabcli000001", "type": "Notebook", "folderId": null, "definition": {"parts": [{"path": "notebook-content.py", "payload": "IyBGYWJyaWMgbm90ZWJvb2sgc291cmNlCgojIE1FVEFEQVRBICoqKioqKioqKioqKioqKioqKioqCgojIE1FVEEgewojIE1FVEEgICAia2VybmVsX2luZm8iOiB7CiMgTUVUQSAgICAgIm5hbWUiOiAic3luYXBzZV9weXNwYXJrIgojIE1FVEEgICB9LAojIE1FVEEgICAiZGVwZW5kZW5jaWVzIjoge30KIyBNRVRBIH0KCiMgQ0VMTCAqKioqKioqKioqKioqKioqKioqKgoKIyBXZWxjb21lIHRvIHlvdXIgbmV3IG5vdGVib29rCiMgVHlwZSBoZXJlIGluIHRoZSBjZWxsIGVkaXRvciB0byBhZGQgY29kZSEKCgojIE1FVEFEQVRBICoqKioqKioqKioqKioqKioqKioqCgojIE1FVEEgewojIE1FVEEgICAibGFuZ3VhZ2UiOiAicHl0aG9uIiwKIyBNRVRBICAgImxhbmd1YWdlX2dyb3VwIjogInN5bmFwc2VfcHlzcGFyayIKIyBNRVRBIH0K", "payloadType": "InlineBase64"}]}}' + body: '{"displayName": "fabcli000001", "type": "Notebook", "folderId": null, "definition": + {"parts": [{"path": "notebook-content.py", "payload": "IyBGYWJyaWMgbm90ZWJvb2sgc291cmNlCgojIE1FVEFEQVRBICoqKioqKioqKioqKioqKioqKioqCgojIE1FVEEgewojIE1FVEEgICAia2VybmVsX2luZm8iOiB7CiMgTUVUQSAgICAgIm5hbWUiOiAic3luYXBzZV9weXNwYXJrIgojIE1FVEEgICB9LAojIE1FVEEgICAiZGVwZW5kZW5jaWVzIjoge30KIyBNRVRBIH0KCiMgQ0VMTCAqKioqKioqKioqKioqKioqKioqKgoKIyBXZWxjb21lIHRvIHlvdXIgbmV3IG5vdGVib29rCiMgVHlwZSBoZXJlIGluIHRoZSBjZWxsIGVkaXRvciB0byBhZGQgY29kZSEKCgojIE1FVEFEQVRBICoqKioqKioqKioqKioqKioqKioqCgojIE1FVEEgewojIE1FVEEgICAibGFuZ3VhZ2UiOiAicHl0aG9uIiwKIyBNRVRBICAgImxhbmd1YWdlX2dyb3VwIjogInN5bmFwc2VfcHlzcGFyayIKIyBNRVRBIH0K", + "payloadType": "InlineBase64"}]}}' headers: Accept: - '*/*' @@ -156,19 +161,18 @@ interactions: - keep-alive Content-Length: - '731' - Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/bbebcd29-98e4-4310-b209-af865aae93ea/notebooks + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/notebooks response: body: string: 'null' headers: Access-Control-Expose-Headers: - - RequestId,Location,Retry-After,ETag,x-ms-operation-id + - RequestId,Location,Retry-After,ETag,x-ms-operation-id,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: @@ -178,15 +182,15 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:55:58 GMT + - Tue, 24 Nov 2026 11:19:39 GMT ETag: - '""' Location: - - https://wabi-west-europe-redirect.analysis.windows.net/v1/operations/8e885180-ba69-46f6-893d-65aed4eaf632 + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/00000000-0000-0000-0000-000000000143 Pragma: - no-cache RequestId: - - c340e70e-cc0d-4cee-8e38-1e02e1e90f27 + - 00000000-0000-0000-0000-000000000144 Retry-After: - '20' Strict-Transport-Security: @@ -196,11 +200,11 @@ 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' x-ms-operation-id: - - 8e885180-ba69-46f6-893d-65aed4eaf632 + - 00000000-0000-0000-0000-000000000143 status: code: 202 message: Accepted @@ -216,35 +220,33 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 method: GET - uri: https://wabi-west-europe-redirect.analysis.windows.net/v1/operations/8e885180-ba69-46f6-893d-65aed4eaf632 + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/00000000-0000-0000-0000-000000000143 response: body: - string: '{"status": "Running", "createdTimeUtc": "2025-09-03T06:55:58.9556151", - "lastUpdatedTimeUtc": "2025-09-03T06:55:58.9556151", "percentComplete": null, - "error": null}' + string: '{"status": "Succeeded", "createdTimeUtc": "2026-11-24T11:19:38.7248635", + "lastUpdatedTimeUtc": "2026-11-24T11:19:40.4124945", "percentComplete": 100, + "error": null, "blobInfoId": null, "resultContentType": null}' headers: Access-Control-Expose-Headers: - - RequestId,Location,Retry-After,x-ms-operation-id + - RequestId,Location,x-ms-operation-id,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: - gzip Content-Length: - - '120' + - '157' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:55:59 GMT + - Tue, 24 Nov 2026 11:19:41 GMT Location: - - https://wabi-west-europe-redirect.analysis.windows.net/v1/operations/8e885180-ba69-46f6-893d-65aed4eaf632 + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/00000000-0000-0000-0000-000000000143/result Pragma: - no-cache RequestId: - - f95a8066-32ed-464d-9421-3f70b8c7aca7 - Retry-After: - - '20' + - 00000000-0000-0000-0000-000000000145 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -252,7 +254,7 @@ interactions: X-Frame-Options: - deny x-ms-operation-id: - - 8e885180-ba69-46f6-893d-65aed4eaf632 + - 00000000-0000-0000-0000-000000000143 status: code: 200 message: OK @@ -268,131 +270,28 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 method: GET - uri: https://wabi-west-europe-redirect.analysis.windows.net/v1/operations/8e885180-ba69-46f6-893d-65aed4eaf632 + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/00000000-0000-0000-0000-000000000143/result response: body: - string: '{"status": "Running", "createdTimeUtc": "2025-09-03T06:55:58.9556151", - "lastUpdatedTimeUtc": "2025-09-03T06:55:58.9556151", "percentComplete": null, - "error": null}' + string: '{"id": "00000000-0000-0000-0000-000000000146", "type": "Notebook", + "displayName": "fabcli000001", "description": "", "workspaceId": "00000000-0000-0000-0000-000000000105"}' headers: Access-Control-Expose-Headers: - - RequestId,Location,Retry-After,x-ms-operation-id + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: - gzip - Content-Length: - - '120' - Content-Type: - - application/json; charset=utf-8 - Date: - - Wed, 03 Sep 2025 06:55:59 GMT - Location: - - https://wabi-west-europe-redirect.analysis.windows.net/v1/operations/8e885180-ba69-46f6-893d-65aed4eaf632 - Pragma: - - no-cache - RequestId: - - 7d697252-0a15-4831-8a71-1238ca3fca0e - Retry-After: - - '20' - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - deny - x-ms-operation-id: - - 8e885180-ba69-46f6-893d-65aed4eaf632 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive Content-Type: - application/json - User-Agent: - - ms-fabric-cli-test/1.0.0 - method: GET - uri: https://wabi-west-europe-redirect.analysis.windows.net/v1/operations/8e885180-ba69-46f6-893d-65aed4eaf632 - response: - body: - string: '{"status": "Succeeded", "createdTimeUtc": "2025-09-03T06:55:58.9556151", - "lastUpdatedTimeUtc": "2025-09-03T06:56:00.5493883", "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, 03 Sep 2025 06:56:00 GMT - Location: - - https://wabi-west-europe-redirect.analysis.windows.net/v1/operations/8e885180-ba69-46f6-893d-65aed4eaf632/result + - Tue, 24 Nov 2026 11:19:42 GMT Pragma: - no-cache RequestId: - - c3b86733-45b9-47ad-bdbf-15f2db8cc7a8 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - deny - x-ms-operation-id: - - 8e885180-ba69-46f6-893d-65aed4eaf632 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Type: - - application/json - User-Agent: - - ms-fabric-cli-test/1.0.0 - method: GET - uri: https://wabi-west-europe-redirect.analysis.windows.net/v1/operations/8e885180-ba69-46f6-893d-65aed4eaf632/result - response: - body: - string: '{"id": "17901f30-f747-4574-9a3e-5e5a18dd2325", "type": "Notebook", - "displayName": "fabcli000001", "workspaceId": - "bbebcd29-98e4-4310-b209-af865aae93ea"}' - headers: - Access-Control-Expose-Headers: - - RequestId - Cache-Control: - - no-store, must-revalidate, no-cache - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Wed, 03 Sep 2025 06:56:00 GMT - Pragma: - - no-cache - RequestId: - - debe1c19-e911-40f7-92f9-cd0051e1831f + - 00000000-0000-0000-0000-000000000147 Strict-Transport-Security: - max-age=31536000; includeSubDomains Transfer-Encoding: @@ -416,31 +315,34 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 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": "bbebcd29-98e4-4310-b209-af865aae93ea", - "displayName": "fabriccli_WorkspacePerTestclass_000001", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000101", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "00000000-0000-0000-0000-000000000105", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: - gzip Content-Length: - - '356' + - '4028' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:56:00 GMT + - Tue, 24 Nov 2026 11:19:42 GMT Pragma: - no-cache RequestId: - - ce5c09ba-efdc-43d9-925d-40cc7cbbec1c + - 00000000-0000-0000-0000-000000000148 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -448,7 +350,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: @@ -466,31 +368,31 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/bbebcd29-98e4-4310-b209-af865aae93ea/items + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/items response: body: - string: '{"value": [{"id": "17901f30-f747-4574-9a3e-5e5a18dd2325", "type": "Notebook", - "displayName": "fabcli000001", "workspaceId": - "bbebcd29-98e4-4310-b209-af865aae93ea"}]}' + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000146", "type": "Notebook", + "displayName": "fabcli000001", "description": "", "workspaceId": "00000000-0000-0000-0000-000000000105", + "logicalId": null}]}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: - gzip Content-Length: - - '177' + - '176' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:56:00 GMT + - Tue, 24 Nov 2026 11:19:43 GMT Pragma: - no-cache RequestId: - - 224811e6-56e9-4c69-8ad1-2ad8c708db36 + - 00000000-0000-0000-0000-000000000149 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -498,7 +400,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: @@ -516,17 +418,17 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/bbebcd29-98e4-4310-b209-af865aae93ea/notebooks/17901f30-f747-4574-9a3e-5e5a18dd2325 + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/notebooks/00000000-0000-0000-0000-000000000146 response: body: - string: '{"id": "17901f30-f747-4574-9a3e-5e5a18dd2325", "type": "Notebook", - "displayName": "fabcli000001", "workspaceId": - "bbebcd29-98e4-4310-b209-af865aae93ea"}' + string: '{"id": "00000000-0000-0000-0000-000000000146", "type": "Notebook", + "displayName": "fabcli000001", "description": "", "workspaceId": "00000000-0000-0000-0000-000000000105", + "logicalId": null}' headers: Access-Control-Expose-Headers: - - RequestId,ETag + - RequestId,ETag,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: @@ -536,13 +438,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:56:00 GMT + - Tue, 24 Nov 2026 11:19:45 GMT ETag: - '""' Pragma: - no-cache RequestId: - - cba0cdeb-c650-4aa6-abb8-e0c5c416264e + - 00000000-0000-0000-0000-000000000150 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -550,7 +452,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: @@ -570,15 +472,15 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/bbebcd29-98e4-4310-b209-af865aae93ea/items/17901f30-f747-4574-9a3e-5e5a18dd2325/getDefinition?format=ipynb + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/items/00000000-0000-0000-0000-000000000146/getDefinition?format=ipynb response: body: string: 'null' headers: Access-Control-Expose-Headers: - - RequestId,Location,Retry-After,x-ms-operation-id + - RequestId,Location,Retry-After,x-ms-operation-id,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: @@ -588,13 +490,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:56:00 GMT + - Tue, 24 Nov 2026 11:19:44 GMT Location: - - https://wabi-west-europe-redirect.analysis.windows.net/v1/operations/537f59be-fcde-42fd-b5ec-fa1a34e89ed1 + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/00000000-0000-0000-0000-000000000151 Pragma: - no-cache RequestId: - - 81581ccf-4e74-46a4-8f63-a4059c76468f + - 00000000-0000-0000-0000-000000000152 Retry-After: - '20' Strict-Transport-Security: @@ -604,11 +506,11 @@ 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' x-ms-operation-id: - - 537f59be-fcde-42fd-b5ec-fa1a34e89ed1 + - 00000000-0000-0000-0000-000000000151 status: code: 202 message: Accepted @@ -624,85 +526,33 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 - method: GET - uri: https://wabi-west-europe-redirect.analysis.windows.net/v1/operations/537f59be-fcde-42fd-b5ec-fa1a34e89ed1 - response: - body: - string: '{"status": "Running", "createdTimeUtc": "2025-09-03T06:56:01.6595647", - "lastUpdatedTimeUtc": "2025-09-03T06:56:01.6595647", "percentComplete": null, - "error": null}' - headers: - Access-Control-Expose-Headers: - - RequestId,Location,Retry-After,x-ms-operation-id - Cache-Control: - - no-store, must-revalidate, no-cache - Content-Encoding: - - gzip - Content-Length: - - '123' - Content-Type: - - application/json; charset=utf-8 - Date: - - Wed, 03 Sep 2025 06:56:00 GMT - Location: - - https://wabi-west-europe-redirect.analysis.windows.net/v1/operations/537f59be-fcde-42fd-b5ec-fa1a34e89ed1 - Pragma: - - no-cache - RequestId: - - e37077ed-a340-4e10-8d6d-3f66fd9877fc - Retry-After: - - '20' - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - deny - x-ms-operation-id: - - 537f59be-fcde-42fd-b5ec-fa1a34e89ed1 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Type: - - application/json - User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 method: GET - uri: https://wabi-west-europe-redirect.analysis.windows.net/v1/operations/537f59be-fcde-42fd-b5ec-fa1a34e89ed1 + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/00000000-0000-0000-0000-000000000151 response: body: - string: '{"status": "Succeeded", "createdTimeUtc": "2025-09-03T06:56:01.6595647", - "lastUpdatedTimeUtc": "2025-09-03T06:56:01.893943", "percentComplete": 100, - "error": null}' + string: '{"status": "Succeeded", "createdTimeUtc": "2026-11-24T11:19:45.430959", + "lastUpdatedTimeUtc": "2026-11-24T11:19:45.807681", "percentComplete": 100, + "error": null, "blobInfoId": null, "resultContentType": null}' headers: Access-Control-Expose-Headers: - - RequestId,Location,x-ms-operation-id + - RequestId,Location,x-ms-operation-id,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: - gzip Content-Length: - - '129' + - '154' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:56:01 GMT + - Tue, 24 Nov 2026 11:19:48 GMT Location: - - https://wabi-west-europe-redirect.analysis.windows.net/v1/operations/537f59be-fcde-42fd-b5ec-fa1a34e89ed1/result + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/00000000-0000-0000-0000-000000000151/result Pragma: - no-cache RequestId: - - 1980f345-8d70-41ca-b7e6-90b33bb52398 + - 00000000-0000-0000-0000-000000000153 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -710,7 +560,7 @@ interactions: X-Frame-Options: - deny x-ms-operation-id: - - 537f59be-fcde-42fd-b5ec-fa1a34e89ed1 + - 00000000-0000-0000-0000-000000000151 status: code: 200 message: OK @@ -726,18 +576,18 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 method: GET - uri: https://wabi-west-europe-redirect.analysis.windows.net/v1/operations/537f59be-fcde-42fd-b5ec-fa1a34e89ed1/result + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/00000000-0000-0000-0000-000000000151/result response: body: string: '{"definition": {"parts": [{"path": "notebook-content.ipynb", "payload": - "eyJuYmZvcm1hdCI6NCwibmJmb3JtYXRfbWlub3IiOjUsIm1ldGFkYXRhIjp7Imxhbmd1YWdlX2luZm8iOnsibmFtZSI6InB5dGhvbiJ9LCJrZXJuZWxfaW5mbyI6eyJuYW1lIjoic3luYXBzZV9weXNwYXJrIiwianVweXRlcl9rZXJuZWxfbmFtZSI6bnVsbH0sImEzNjVDb21wdXRlT3B0aW9ucyI6bnVsbCwic2Vzc2lvbktlZXBBbGl2ZVRpbWVvdXQiOjAsImRlcGVuZGVuY2llcyI6eyJsYWtlaG91c2UiOm51bGx9fSwiY2VsbHMiOlt7ImNlbGxfdHlwZSI6ImNvZGUiLCJtZXRhZGF0YSI6eyJtaWNyb3NvZnQiOnsibGFuZ3VhZ2UiOiJweXRob24iLCJsYW5ndWFnZV9ncm91cCI6InN5bmFwc2VfcHlzcGFyayJ9fSwic291cmNlIjpbIiMgV2VsY29tZSB0byB5b3VyIG5ldyBub3RlYm9va1xuIiwiIyBUeXBlIGhlcmUgaW4gdGhlIGNlbGwgZWRpdG9yIHRvIGFkZCBjb2RlIVxuIl0sIm91dHB1dHMiOltdfV19", - "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIk5vdGVib29rIiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiLAogICAgImRlc2NyaXB0aW9uIjogIkNyZWF0ZWQgYnkgZmFiIgogIH0sCiAgImNvbmZpZyI6IHsKICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICB9Cn0=", + "eyJuYmZvcm1hdCI6NCwibmJmb3JtYXRfbWlub3IiOjUsIm1ldGFkYXRhIjp7ImRlcGVuZGVuY2llcyI6eyJsYWtlaG91c2UiOm51bGx9LCJsYW5ndWFnZV9pbmZvIjp7Im5hbWUiOiJweXRob24ifSwia2VybmVsX2luZm8iOnsibmFtZSI6InN5bmFwc2VfcHlzcGFyayIsImp1cHl0ZXJfa2VybmVsX25hbWUiOm51bGx9LCJhMzY1Q29tcHV0ZU9wdGlvbnMiOm51bGwsInNlc3Npb25LZWVwQWxpdmVUaW1lb3V0IjowfSwiY2VsbHMiOlt7ImNlbGxfdHlwZSI6ImNvZGUiLCJtZXRhZGF0YSI6eyJtaWNyb3NvZnQiOnsibGFuZ3VhZ2UiOiJweXRob24iLCJsYW5ndWFnZV9ncm91cCI6InN5bmFwc2VfcHlzcGFyayJ9fSwic291cmNlIjpbIiMgV2VsY29tZSB0byB5b3VyIG5ldyBub3RlYm9va1xuIiwiIyBUeXBlIGhlcmUgaW4gdGhlIGNlbGwgZWRpdG9yIHRvIGFkZCBjb2RlIVxuIl0sIm91dHB1dHMiOltdfV19", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIk5vdGVib29rIiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", "payloadType": "InlineBase64"}]}}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: @@ -745,11 +595,11 @@ interactions: Content-Type: - application/json Date: - - Wed, 03 Sep 2025 06:56:01 GMT + - Tue, 24 Nov 2026 11:19:48 GMT Pragma: - no-cache RequestId: - - 3b78a5b6-9a14-4123-8543-0c1cda1ce6ec + - 00000000-0000-0000-0000-000000000154 Strict-Transport-Security: - max-age=31536000; includeSubDomains Transfer-Encoding: @@ -773,15 +623,15 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/bbebcd29-98e4-4310-b209-af865aae93ea/items/17901f30-f747-4574-9a3e-5e5a18dd2325/connections + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/items/00000000-0000-0000-0000-000000000146/connections response: body: string: '{"value": []}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: @@ -791,11 +641,11 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:56:01 GMT + - Tue, 24 Nov 2026 11:19:49 GMT Pragma: - no-cache RequestId: - - 1d9efc27-205a-429c-9b28-7cee7d80ee47 + - 00000000-0000-0000-0000-000000000155 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -803,7 +653,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: @@ -821,15 +671,15 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/bbebcd29-98e4-4310-b209-af865aae93ea/items/17901f30-f747-4574-9a3e-5e5a18dd2325/jobs/RunNotebook/schedules + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/items/00000000-0000-0000-0000-000000000146/jobs/RunNotebook/schedules response: body: string: '{"value": []}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: @@ -839,11 +689,11 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:56:01 GMT + - Tue, 24 Nov 2026 11:19:49 GMT Pragma: - no-cache RequestId: - - 7bd94af4-25fa-47af-853e-c142d10fe1ca + - 00000000-0000-0000-0000-000000000156 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -851,7 +701,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: @@ -869,31 +719,34 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 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": "bbebcd29-98e4-4310-b209-af865aae93ea", - "displayName": "fabriccli_WorkspacePerTestclass_000001", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000101", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "00000000-0000-0000-0000-000000000105", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: - gzip Content-Length: - - '356' + - '4028' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:56:01 GMT + - Tue, 24 Nov 2026 11:19:50 GMT Pragma: - no-cache RequestId: - - 98b7ebf4-e1c1-4281-bdc0-bedf68aade27 + - 00000000-0000-0000-0000-000000000157 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -901,7 +754,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: @@ -919,31 +772,31 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/bbebcd29-98e4-4310-b209-af865aae93ea/items + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/items response: body: - string: '{"value": [{"id": "17901f30-f747-4574-9a3e-5e5a18dd2325", "type": "Notebook", - "displayName": "fabcli000001", "workspaceId": - "bbebcd29-98e4-4310-b209-af865aae93ea"}]}' + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000146", "type": "Notebook", + "displayName": "fabcli000001", "description": "", "workspaceId": "00000000-0000-0000-0000-000000000105", + "logicalId": null}]}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: - gzip Content-Length: - - '177' + - '176' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:56:01 GMT + - Tue, 24 Nov 2026 11:19:51 GMT Pragma: - no-cache RequestId: - - 4578947b-a7ed-4585-80ba-28eeaa014e4f + - 00000000-0000-0000-0000-000000000158 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -951,7 +804,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: @@ -969,31 +822,34 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 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": "bbebcd29-98e4-4310-b209-af865aae93ea", - "displayName": "fabriccli_WorkspacePerTestclass_000001", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000101", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "00000000-0000-0000-0000-000000000105", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: - gzip Content-Length: - - '356' + - '4028' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:56:02 GMT + - Tue, 24 Nov 2026 11:19:51 GMT Pragma: - no-cache RequestId: - - a585e401-1592-4216-9ace-5a5139b089b2 + - 00000000-0000-0000-0000-000000000159 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -1001,7 +857,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: @@ -1019,31 +875,31 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/bbebcd29-98e4-4310-b209-af865aae93ea/items + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/items response: body: - string: '{"value": [{"id": "17901f30-f747-4574-9a3e-5e5a18dd2325", "type": "Notebook", - "displayName": "fabcli000001", "workspaceId": - "bbebcd29-98e4-4310-b209-af865aae93ea"}]}' + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000146", "type": "Notebook", + "displayName": "fabcli000001", "description": "", "workspaceId": "00000000-0000-0000-0000-000000000105", + "logicalId": null}]}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: - gzip Content-Length: - - '177' + - '176' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:56:02 GMT + - Tue, 24 Nov 2026 11:19:52 GMT Pragma: - no-cache RequestId: - - 9ba4a355-d7f2-4024-b2d2-3cff0ebd12ce + - 00000000-0000-0000-0000-000000000160 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -1051,7 +907,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: @@ -1071,15 +927,15 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/bbebcd29-98e4-4310-b209-af865aae93ea/items/17901f30-f747-4574-9a3e-5e5a18dd2325 + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/items/00000000-0000-0000-0000-000000000146 response: body: string: '' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: @@ -1089,11 +945,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Wed, 03 Sep 2025 06:56:03 GMT + - Tue, 24 Nov 2026 11:19:52 GMT Pragma: - no-cache RequestId: - - 87effbf7-6fc7-4661-887a-2d61a7829979 + - 00000000-0000-0000-0000-000000000161 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -1101,7 +957,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_open/test_open_workspace_success.yaml b/tests/test_commands/recordings/test_commands/test_open/test_open_workspace_success.yaml index d811a727a..976c096fa 100644 --- a/tests/test_commands/recordings/test_commands/test_open/test_open_workspace_success.yaml +++ b/tests/test_commands/recordings/test_commands/test_open/test_open_workspace_success.yaml @@ -11,31 +11,34 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 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": "bbebcd29-98e4-4310-b209-af865aae93ea", - "displayName": "fabriccli_WorkspacePerTestclass_000001", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000101", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "00000000-0000-0000-0000-000000000105", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: - gzip Content-Length: - - '356' + - '4028' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:55:53 GMT + - Tue, 24 Nov 2026 11:19:25 GMT Pragma: - no-cache RequestId: - - 40afcf93-38a6-4744-81b7-a73061ab3ab9 + - 00000000-0000-0000-0000-000000000162 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -43,7 +46,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: @@ -61,32 +64,33 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/bbebcd29-98e4-4310-b209-af865aae93ea + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105 response: body: - string: '{"id": "bbebcd29-98e4-4310-b209-af865aae93ea", "displayName": "fabriccli_WorkspacePerTestclass_000001", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", - "capacityRegion": "West Europe", "oneLakeEndpoints": {"blobEndpoint": "https://westeurope-onelake.blob.fabric.microsoft.com", - "dfsEndpoint": "https://westeurope-onelake.dfs.fabric.microsoft.com"}, "capacityAssignmentProgress": - "Completed"}' + string: '{"id": "00000000-0000-0000-0000-000000000105", "displayName": "fabriccli_WorkspacePerTestclass_000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "oneLakeEndpoints": {"blobEndpoint": "https://centralus-onelake.blob.fabric.microsoft.com", + "dfsEndpoint": "https://centralus-onelake.dfs.fabric.microsoft.com"}, "capacityAssignmentProgress": + "Completed", "licensingInfo": {"licensingMode": "Capacity"}}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: - gzip Content-Length: - - '296' + - '309' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:55:53 GMT + - Tue, 24 Nov 2026 11:19:26 GMT Pragma: - no-cache RequestId: - - e5c2c711-d37d-4312-a640-735d8256c1fb + - 00000000-0000-0000-0000-000000000163 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -94,7 +98,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: @@ -112,15 +116,15 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/bbebcd29-98e4-4310-b209-af865aae93ea/managedPrivateEndpoints + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/managedPrivateEndpoints response: body: string: '{"value": []}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: @@ -130,11 +134,11 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:55:53 GMT + - Tue, 24 Nov 2026 11:19:26 GMT Pragma: - no-cache RequestId: - - ecad064a-f8cb-479b-96b7-78973a01d6d1 + - 00000000-0000-0000-0000-000000000164 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -142,7 +146,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: @@ -160,28 +164,30 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/bbebcd29-98e4-4310-b209-af865aae93ea/spark/settings + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/spark/settings response: body: string: '{"automaticLog": {"enabled": true}, "highConcurrency": {"notebookInteractiveRunEnabled": true, "notebookPipelineRunEnabled": false}, "pool": {"customizeComputeEnabled": true, "defaultPool": {"name": "Starter Pool", "type": "Workspace", "id": "00000000-0000-0000-0000-000000000000"}, "starterPool": {"maxNodeCount": 10, "maxExecutors": 9}}, "environment": {"runtimeVersion": - "1.3"}, "job": {"conservativeJobAdmissionEnabled": false, "sessionTimeoutInMinutes": + "2.0"}, "job": {"conservativeJobAdmissionEnabled": false, "sessionTimeoutInMinutes": 20}}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,ETag,Date Content-Length: - '600' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:55:54 GMT + - Tue, 24 Nov 2026 11:19:28 GMT + ETag: + - '"default-v1"' RequestId: - - c11a5bae-ab30-43dd-8758-1aa671acda15 + - 00000000-0000-0000-0000-000000000165 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -189,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: @@ -207,32 +213,32 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/bbebcd29-98e4-4310-b209-af865aae93ea/roleAssignments + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/roleAssignments response: body: - string: '{"value": [{"id": "00000000-0000-0000-0000-000000000001", "principal": - {"id": "00000000-0000-0000-0000-000000000001", "displayName": "Tenant Admin", - "type": "User", "userDetails": {"userPrincipalName": "mocked@admin_test_user"}}, + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000166", "principal": + {"id": "00000000-0000-0000-0000-000000000166", "displayName": "MSIT Cycle", + "type": "User", "userDetails": {"userPrincipalName": "unknown@mocked_user"}}, "role": "Admin"}]}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: - gzip Content-Length: - - '180' + - '186' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:55:54 GMT + - Tue, 24 Nov 2026 11:19:28 GMT Pragma: - no-cache RequestId: - - d6234596-2510-4747-a0df-e4fbf66b11cf + - 00000000-0000-0000-0000-000000000167 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -240,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: @@ -258,31 +264,34 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 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": "bbebcd29-98e4-4310-b209-af865aae93ea", - "displayName": "fabriccli_WorkspacePerTestclass_000001", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000101", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "00000000-0000-0000-0000-000000000105", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: - gzip Content-Length: - - '356' + - '4028' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:55:55 GMT + - Tue, 24 Nov 2026 11:19:29 GMT Pragma: - no-cache RequestId: - - 41c0ce6d-21aa-4718-b203-5f55cee4f079 + - 00000000-0000-0000-0000-000000000168 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -290,7 +299,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_open/test_open_workspace_when_claims_none_success.yaml b/tests/test_commands/recordings/test_commands/test_open/test_open_workspace_when_claims_none_success.yaml index a6567a7c2..499ecc487 100644 --- a/tests/test_commands/recordings/test_commands/test_open/test_open_workspace_when_claims_none_success.yaml +++ b/tests/test_commands/recordings/test_commands/test_open/test_open_workspace_when_claims_none_success.yaml @@ -11,31 +11,34 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 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": "bbebcd29-98e4-4310-b209-af865aae93ea", - "displayName": "fabriccli_WorkspacePerTestclass_000001", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000101", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "00000000-0000-0000-0000-000000000105", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: - gzip Content-Length: - - '356' + - '4028' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:55:55 GMT + - Tue, 24 Nov 2026 11:19:33 GMT Pragma: - no-cache RequestId: - - fa7f1421-cb90-417b-9479-22c27b68e3cd + - 00000000-0000-0000-0000-000000000169 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -43,7 +46,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: @@ -61,32 +64,33 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/bbebcd29-98e4-4310-b209-af865aae93ea + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105 response: body: - string: '{"id": "bbebcd29-98e4-4310-b209-af865aae93ea", "displayName": "fabriccli_WorkspacePerTestclass_000001", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", - "capacityRegion": "West Europe", "oneLakeEndpoints": {"blobEndpoint": "https://westeurope-onelake.blob.fabric.microsoft.com", - "dfsEndpoint": "https://westeurope-onelake.dfs.fabric.microsoft.com"}, "capacityAssignmentProgress": - "Completed"}' + string: '{"id": "00000000-0000-0000-0000-000000000105", "displayName": "fabriccli_WorkspacePerTestclass_000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "oneLakeEndpoints": {"blobEndpoint": "https://centralus-onelake.blob.fabric.microsoft.com", + "dfsEndpoint": "https://centralus-onelake.dfs.fabric.microsoft.com"}, "capacityAssignmentProgress": + "Completed", "licensingInfo": {"licensingMode": "Capacity"}}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: - gzip Content-Length: - - '296' + - '309' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:55:56 GMT + - Tue, 24 Nov 2026 11:19:34 GMT Pragma: - no-cache RequestId: - - 664cd434-5186-4e40-a0f9-f2db4735c339 + - 00000000-0000-0000-0000-000000000170 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -94,7 +98,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: @@ -112,15 +116,15 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/bbebcd29-98e4-4310-b209-af865aae93ea/managedPrivateEndpoints + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/managedPrivateEndpoints response: body: string: '{"value": []}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: @@ -130,11 +134,11 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:55:57 GMT + - Tue, 24 Nov 2026 11:19:35 GMT Pragma: - no-cache RequestId: - - 5053e1ed-faac-4757-9deb-68a4ac39ada6 + - 00000000-0000-0000-0000-000000000171 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -142,7 +146,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: @@ -160,30 +164,30 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/bbebcd29-98e4-4310-b209-af865aae93ea/spark/settings + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/spark/settings response: body: string: '{"automaticLog": {"enabled": true}, "highConcurrency": {"notebookInteractiveRunEnabled": true, "notebookPipelineRunEnabled": false}, "pool": {"customizeComputeEnabled": true, "defaultPool": {"name": "Starter Pool", "type": "Workspace", "id": "00000000-0000-0000-0000-000000000000"}, "starterPool": {"maxNodeCount": 10, "maxExecutors": 9}}, "environment": {"runtimeVersion": - "1.3"}, "job": {"conservativeJobAdmissionEnabled": false, "sessionTimeoutInMinutes": + "2.0"}, "job": {"conservativeJobAdmissionEnabled": false, "sessionTimeoutInMinutes": 20}}' headers: Access-Control-Expose-Headers: - - RequestId,ETag + - RequestId,ETag,Date Content-Length: - '600' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:55:56 GMT + - Tue, 24 Nov 2026 11:19:35 GMT ETag: - - '"0x8DDEAB6EE11805C"' + - '"0x8DF4A1CCE12B520"' RequestId: - - f0e87ca2-ba69-4769-b297-20912d153efd + - 00000000-0000-0000-0000-000000000172 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -191,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: @@ -209,32 +213,32 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/bbebcd29-98e4-4310-b209-af865aae93ea/roleAssignments + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/roleAssignments response: body: - string: '{"value": [{"id": "00000000-0000-0000-0000-000000000001", "principal": - {"id": "00000000-0000-0000-0000-000000000001", "displayName": "Tenant Admin", - "type": "User", "userDetails": {"userPrincipalName": "mocked@admin_test_user"}}, + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000166", "principal": + {"id": "00000000-0000-0000-0000-000000000166", "displayName": "MSIT Cycle", + "type": "User", "userDetails": {"userPrincipalName": "unknown@mocked_user"}}, "role": "Admin"}]}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: - gzip Content-Length: - - '180' + - '186' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:55:56 GMT + - Tue, 24 Nov 2026 11:19:35 GMT Pragma: - no-cache RequestId: - - 3ccc1f2e-20a1-43fa-a8c4-0d971e8c61db + - 00000000-0000-0000-0000-000000000173 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -242,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: @@ -260,31 +264,34 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 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": "bbebcd29-98e4-4310-b209-af865aae93ea", - "displayName": "fabriccli_WorkspacePerTestclass_000001", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000101", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "00000000-0000-0000-0000-000000000105", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: - gzip Content-Length: - - '356' + - '4028' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:55:57 GMT + - Tue, 24 Nov 2026 11:19:36 GMT Pragma: - no-cache RequestId: - - afee87a4-2102-4f78-bf27-2f49e8455447 + - 00000000-0000-0000-0000-000000000174 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -292,7 +299,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_open/test_open_workspace_without_query_param_rename_success.yaml b/tests/test_commands/recordings/test_commands/test_open/test_open_workspace_without_query_param_rename_success.yaml index 745611bd9..dc36ba96e 100644 --- a/tests/test_commands/recordings/test_commands/test_open/test_open_workspace_without_query_param_rename_success.yaml +++ b/tests/test_commands/recordings/test_commands/test_open/test_open_workspace_without_query_param_rename_success.yaml @@ -11,31 +11,34 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 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": "bbebcd29-98e4-4310-b209-af865aae93ea", - "displayName": "fabriccli_WorkspacePerTestclass_000001", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000101", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "00000000-0000-0000-0000-000000000105", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: - gzip Content-Length: - - '356' + - '4028' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:55:55 GMT + - Tue, 24 Nov 2026 11:19:29 GMT Pragma: - no-cache RequestId: - - 0247d49d-b727-4819-85d6-babbe36b694a + - 00000000-0000-0000-0000-000000000175 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -43,7 +46,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: @@ -61,32 +64,33 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/bbebcd29-98e4-4310-b209-af865aae93ea + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105 response: body: - string: '{"id": "bbebcd29-98e4-4310-b209-af865aae93ea", "displayName": "fabriccli_WorkspacePerTestclass_000001", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", - "capacityRegion": "West Europe", "oneLakeEndpoints": {"blobEndpoint": "https://westeurope-onelake.blob.fabric.microsoft.com", - "dfsEndpoint": "https://westeurope-onelake.dfs.fabric.microsoft.com"}, "capacityAssignmentProgress": - "Completed"}' + string: '{"id": "00000000-0000-0000-0000-000000000105", "displayName": "fabriccli_WorkspacePerTestclass_000001", + "description": "", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "oneLakeEndpoints": {"blobEndpoint": "https://centralus-onelake.blob.fabric.microsoft.com", + "dfsEndpoint": "https://centralus-onelake.dfs.fabric.microsoft.com"}, "capacityAssignmentProgress": + "Completed", "licensingInfo": {"licensingMode": "Capacity"}}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: - gzip Content-Length: - - '296' + - '309' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:55:55 GMT + - Tue, 24 Nov 2026 11:19:30 GMT Pragma: - no-cache RequestId: - - 457d1272-c02d-4efa-9bc9-c72ffb51926f + - 00000000-0000-0000-0000-000000000176 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -94,7 +98,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: @@ -112,15 +116,15 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/bbebcd29-98e4-4310-b209-af865aae93ea/managedPrivateEndpoints + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/managedPrivateEndpoints response: body: string: '{"value": []}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: @@ -130,11 +134,11 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:55:55 GMT + - Tue, 24 Nov 2026 11:19:30 GMT Pragma: - no-cache RequestId: - - 87ccd2fa-4741-420a-829e-29650a1ea812 + - 00000000-0000-0000-0000-000000000177 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -142,7 +146,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: @@ -160,30 +164,30 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/bbebcd29-98e4-4310-b209-af865aae93ea/spark/settings + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/spark/settings response: body: string: '{"automaticLog": {"enabled": true}, "highConcurrency": {"notebookInteractiveRunEnabled": true, "notebookPipelineRunEnabled": false}, "pool": {"customizeComputeEnabled": true, "defaultPool": {"name": "Starter Pool", "type": "Workspace", "id": "00000000-0000-0000-0000-000000000000"}, "starterPool": {"maxNodeCount": 10, "maxExecutors": 9}}, "environment": {"runtimeVersion": - "1.3"}, "job": {"conservativeJobAdmissionEnabled": false, "sessionTimeoutInMinutes": + "2.0"}, "job": {"conservativeJobAdmissionEnabled": false, "sessionTimeoutInMinutes": 20}}' headers: Access-Control-Expose-Headers: - - RequestId,ETag + - RequestId,ETag,Date Content-Length: - '600' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:55:55 GMT + - Tue, 24 Nov 2026 11:19:31 GMT ETag: - - '"0x8DDEAB6EE11805C"' + - '"0x8DF4A1CCE12B520"' RequestId: - - 59f480c8-ab0d-413c-b3e7-34d81621f4ef + - 00000000-0000-0000-0000-000000000178 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -191,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: @@ -209,32 +213,32 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/bbebcd29-98e4-4310-b209-af865aae93ea/roleAssignments + uri: https://api.fabric.microsoft.com/v1/workspaces/00000000-0000-0000-0000-000000000105/roleAssignments response: body: - string: '{"value": [{"id": "00000000-0000-0000-0000-000000000001", "principal": - {"id": "00000000-0000-0000-0000-000000000001", "displayName": "Tenant Admin", - "type": "User", "userDetails": {"userPrincipalName": "mocked@admin_test_user"}}, + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000166", "principal": + {"id": "00000000-0000-0000-0000-000000000166", "displayName": "MSIT Cycle", + "type": "User", "userDetails": {"userPrincipalName": "unknown@mocked_user"}}, "role": "Admin"}]}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: - gzip Content-Length: - - '180' + - '186' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:55:56 GMT + - Tue, 24 Nov 2026 11:19:31 GMT Pragma: - no-cache RequestId: - - ad6c7418-0d01-442f-a0fa-9143c3a4d1a0 + - 00000000-0000-0000-0000-000000000179 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -242,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: @@ -260,31 +264,34 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.0.0 + - ms-fabric-cli-test/1.9.0 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": "bbebcd29-98e4-4310-b209-af865aae93ea", - "displayName": "fabriccli_WorkspacePerTestclass_000001", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000101", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "00000000-0000-0000-0000-000000000105", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' headers: Access-Control-Expose-Headers: - - RequestId + - RequestId,Date Cache-Control: - no-store, must-revalidate, no-cache Content-Encoding: - gzip Content-Length: - - '356' + - '4028' Content-Type: - application/json; charset=utf-8 Date: - - Wed, 03 Sep 2025 06:55:56 GMT + - Tue, 24 Nov 2026 11:19:32 GMT Pragma: - no-cache RequestId: - - aa237027-26a0-4ad6-a28e-34877475fec8 + - 00000000-0000-0000-0000-000000000180 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -292,7 +299,7 @@ interactions: X-Frame-Options: - deny home-cluster-uri: - - https://wabi-west-europe-redirect.analysis.windows.net/ + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ request-redirected: - 'true' status: diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[DeploymentPlan].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[DeploymentPlan].yaml new file mode 100644 index 000000000..4e5289b14 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[DeploymentPlan].yaml @@ -0,0 +1,487 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:31 GMT + Pragma: + - no-cache + RequestId: + - 4387334b-e5a2-542b-bab5-8b08697b3ae4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:32 GMT + Pragma: + - no-cache + RequestId: + - 18ea7c9c-2321-536c-9554-4d3efd4f4cde + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:32 GMT + Pragma: + - no-cache + RequestId: + - fab631c8-f6bc-58c2-ae0e-027bd6060654 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001", "type": "DeploymentPlan", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '79' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd/deploymentPlans + response: + body: + string: '{"id": "4c5d0cca-d470-58ae-9771-4dd2703b4687", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:35 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 557dabd5-4519-57df-b399-cdbd2d3158d6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:36 GMT + Pragma: + - no-cache + RequestId: + - 83564484-8601-5ee8-851d-c14120fb4a8b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd/items + response: + body: + string: '{"value": [{"id": "4c5d0cca-d470-58ae-9771-4dd2703b4687", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:36 GMT + Pragma: + - no-cache + RequestId: + - 7042e80d-0aa3-5c3e-9413-59b2d8772524 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd/items/4c5d0cca-d470-58ae-9771-4dd2703b4687 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:08:37 GMT + Pragma: + - no-cache + RequestId: + - ea63ca7a-e0ae-5d73-98fe-82fd6abde11a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:38 GMT + Pragma: + - no-cache + RequestId: + - 61ebe1e2-4cc1-5e07-8a37-e138fbaa2599 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:38 GMT + Pragma: + - no-cache + RequestId: + - 09809638-0632-50a0-ab1a-4e644d5774ec + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:38 GMT + Pragma: + - no-cache + RequestId: + - 85014728-9954-50af-813a-fc1033f2fb9d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_with_hard_delete_success[DeploymentPlan].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_with_hard_delete_success[DeploymentPlan].yaml new file mode 100644 index 000000000..3e6071e1e --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_with_hard_delete_success[DeploymentPlan].yaml @@ -0,0 +1,487 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:47 GMT + Pragma: + - no-cache + RequestId: + - dab19638-8955-57be-a972-682d37373165 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:46 GMT + Pragma: + - no-cache + RequestId: + - 0db216d3-7941-5c12-b17d-c22429a475e1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:47 GMT + Pragma: + - no-cache + RequestId: + - 4d70b767-b0cf-5991-8e0b-88d82d22c8e5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001", "type": "DeploymentPlan", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '79' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd/deploymentPlans + response: + body: + string: '{"id": "221c52e7-aca1-5ecc-aa30-2c0ffdbb1617", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:48 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 677d2708-832e-5e1e-bd24-9e1a52b925e0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:48 GMT + Pragma: + - no-cache + RequestId: + - e661e952-e4dc-5e98-8ecb-bc15e9d3e9c8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd/items + response: + body: + string: '{"value": [{"id": "221c52e7-aca1-5ecc-aa30-2c0ffdbb1617", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '225' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:49 GMT + Pragma: + - no-cache + RequestId: + - c780a936-7bdb-5c46-9d8f-425f358d36c2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd/items/221c52e7-aca1-5ecc-aa30-2c0ffdbb1617?hardDelete=true + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:08:49 GMT + Pragma: + - no-cache + RequestId: + - f060a6be-06c5-5a4a-9d6b-77b946cd9c40 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:51 GMT + Pragma: + - no-cache + RequestId: + - 262049c9-49a0-51f7-8e1b-fea3a5da5538 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:50 GMT + Pragma: + - no-cache + RequestId: + - 45c164a6-7370-5533-9c0b-0d950f72a3df + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:51 GMT + Pragma: + - no-cache + RequestId: + - ed65d6c9-7722-5e94-9840-f5a2a2f8fd41 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_with_hard_delete_without_force_success[DeploymentPlan].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_with_hard_delete_without_force_success[DeploymentPlan].yaml new file mode 100644 index 000000000..8b94a9861 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_with_hard_delete_without_force_success[DeploymentPlan].yaml @@ -0,0 +1,487 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:52 GMT + Pragma: + - no-cache + RequestId: + - 8e0c79c6-aa1a-5e71-b30c-39ba41fc02b2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:52 GMT + Pragma: + - no-cache + RequestId: + - 981fc315-6a83-56aa-8bad-f0c2c5ef8ad2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:52 GMT + Pragma: + - no-cache + RequestId: + - a9a86d0a-b211-5832-b46b-efd25c0104ec + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001", "type": "DeploymentPlan", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '79' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd/deploymentPlans + response: + body: + string: '{"id": "a5d988ac-effc-5e31-ba5d-ac66373b85f5", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:54 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 756a179b-4457-5463-bdd2-2d16aabebdfa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:54 GMT + Pragma: + - no-cache + RequestId: + - 3e2ac720-946b-5e7d-bc18-d73b39315273 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd/items + response: + body: + string: '{"value": [{"id": "a5d988ac-effc-5e31-ba5d-ac66373b85f5", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '227' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:54 GMT + Pragma: + - no-cache + RequestId: + - be43f931-a4f5-585f-a7d7-88175675fc4d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd/items/a5d988ac-effc-5e31-ba5d-ac66373b85f5?hardDelete=true + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:08:55 GMT + Pragma: + - no-cache + RequestId: + - 99096f28-af14-5250-8df1-4cfdd96f6f5b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:56 GMT + Pragma: + - no-cache + RequestId: + - 1bcae191-ca19-5ca9-8679-c93759950fc7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:56 GMT + Pragma: + - no-cache + RequestId: + - 62ac47df-ff1d-54c4-8243-d17da0785c75 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:56 GMT + Pragma: + - no-cache + RequestId: + - 5924ee61-9903-558b-bf43-d83f03dfd726 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[DeploymentPlan].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[DeploymentPlan].yaml new file mode 100644 index 000000000..fddfbf786 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[DeploymentPlan].yaml @@ -0,0 +1,296 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:44 GMT + Pragma: + - no-cache + RequestId: + - cd069d08-8adc-55af-892f-709333ff5ef2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:44 GMT + Pragma: + - no-cache + RequestId: + - 093ac5c3-3596-5d37-9396-2054b9228d42 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:44 GMT + Pragma: + - no-cache + RequestId: + - 4fed9d56-3ce5-522d-bbc8-4bbe04da5fab + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001", "type": "DeploymentPlan", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '79' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd/deploymentPlans + response: + body: + string: '{"id": "27e1a555-d7af-5d44-8e52-95103c4ed420", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:46 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 5ba24299-e3d4-5096-a027-a43dd13b9311 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:45 GMT + Pragma: + - no-cache + RequestId: + - 32dfcc37-bd6c-5cb1-bf48-3aea73448431 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd/items + response: + body: + string: '{"value": [{"id": "27e1a555-d7af-5d44-8e52-95103c4ed420", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:46 GMT + Pragma: + - no-cache + RequestId: + - 997847a9-4753-529f-85d5-34649534fff0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[DeploymentPlan].yaml b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[DeploymentPlan].yaml new file mode 100644 index 000000000..2637f96fc --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[DeploymentPlan].yaml @@ -0,0 +1,487 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:38 GMT + Pragma: + - no-cache + RequestId: + - c2c33730-e513-5a6d-aee3-d89471bde7d9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:39 GMT + Pragma: + - no-cache + RequestId: + - a7534190-9569-59dd-8481-69956fbb77f8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:40 GMT + Pragma: + - no-cache + RequestId: + - 460c9298-c4eb-56b3-b85d-f5fff4da8106 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001", "type": "DeploymentPlan", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '79' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd/deploymentPlans + response: + body: + string: '{"id": "708535bf-5ff3-55b3-a926-d6a10a59cb7d", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '169' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:41 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - e25b9108-f22a-5d5e-a84b-d38c1caa4d2e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:41 GMT + Pragma: + - no-cache + RequestId: + - 1814a5b7-6568-5e52-8590-ddb03ad21ae3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd/items + response: + body: + string: '{"value": [{"id": "708535bf-5ff3-55b3-a926-d6a10a59cb7d", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:41 GMT + Pragma: + - no-cache + RequestId: + - 8637aab5-039f-5511-b83f-b07309593e7f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd/items/708535bf-5ff3-55b3-a926-d6a10a59cb7d + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:08:43 GMT + Pragma: + - no-cache + RequestId: + - 5864fb2a-b3fb-5765-9ca9-5ec53350093f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4029' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:42 GMT + Pragma: + - no-cache + RequestId: + - bda5b7ad-a529-5273-b70f-41687d2380f4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:43 GMT + Pragma: + - no-cache + RequestId: + - be69a1f4-ad7f-5e57-8bc1-f6d312a94d45 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/c66334c9-b19d-4f3a-9e99-f6d9cf39e6dd/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:08:43 GMT + Pragma: + - no-cache + RequestId: + - 7bbfb199-f9dc-5751-8a7c-968e1dde01b1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_set/test_set_item_metadata_for_all_types_success[description-DeploymentPlan].yaml b/tests/test_commands/recordings/test_commands/test_set/test_set_item_metadata_for_all_types_success[description-DeploymentPlan].yaml new file mode 100644 index 000000000..066e29873 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_set/test_set_item_metadata_for_all_types_success[description-DeploymentPlan].yaml @@ -0,0 +1,740 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "2c5d142c-9484-4310-b579-10317d5f9715", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:50 GMT + Pragma: + - no-cache + RequestId: + - d09ed804-4a58-5277-b4af-a6e22fb68665 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/2c5d142c-9484-4310-b579-10317d5f9715/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:51 GMT + Pragma: + - no-cache + RequestId: + - 8fdc5954-ce4d-5995-88f2-e98744a75440 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/2c5d142c-9484-4310-b579-10317d5f9715/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:52 GMT + Pragma: + - no-cache + RequestId: + - c5d171d3-446d-5826-b788-7a7dcb10ec70 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001", "type": "DeploymentPlan", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '79' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/2c5d142c-9484-4310-b579-10317d5f9715/deploymentPlans + response: + body: + string: '{"id": "64cbd045-7937-5cc9-9385-86c0bbc0dfa5", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "2c5d142c-9484-4310-b579-10317d5f9715", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '169' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:53 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - cbcb3c38-96ea-57f4-bc34-2ba69d520b2d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "2c5d142c-9484-4310-b579-10317d5f9715", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:53 GMT + Pragma: + - no-cache + RequestId: + - 8402b94d-5d35-55fa-a1b1-b00af7af613a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/2c5d142c-9484-4310-b579-10317d5f9715/items + response: + body: + string: '{"value": [{"id": "64cbd045-7937-5cc9-9385-86c0bbc0dfa5", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "2c5d142c-9484-4310-b579-10317d5f9715", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:53 GMT + Pragma: + - no-cache + RequestId: + - f4cbb376-f4fd-5484-aac4-1baefb1e5331 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/2c5d142c-9484-4310-b579-10317d5f9715/deploymentPlans/64cbd045-7937-5cc9-9385-86c0bbc0dfa5 + response: + body: + string: '{"id": "64cbd045-7937-5cc9-9385-86c0bbc0dfa5", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "2c5d142c-9484-4310-b579-10317d5f9715", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '169' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:55 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - d07be4e7-02a3-531b-96dd-6001d229f3f3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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": "fabcli000002"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '35' + Content-Type: + - application/json + method: PATCH + uri: https://api.fabric.microsoft.com/v1/workspaces/2c5d142c-9484-4310-b579-10317d5f9715/deploymentPlans/64cbd045-7937-5cc9-9385-86c0bbc0dfa5 + response: + body: + string: '{"id": "64cbd045-7937-5cc9-9385-86c0bbc0dfa5", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "fabcli000002", "workspaceId": + "2c5d142c-9484-4310-b579-10317d5f9715", "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:55 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 80ac4d04-1896-579e-aa0f-fcfde675c9fc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "2c5d142c-9484-4310-b579-10317d5f9715", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:55 GMT + Pragma: + - no-cache + RequestId: + - 25d324a2-49e9-5b96-9992-d1d148d432b1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/2c5d142c-9484-4310-b579-10317d5f9715/items + response: + body: + string: '{"value": [{"id": "64cbd045-7937-5cc9-9385-86c0bbc0dfa5", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "fabcli000002", "workspaceId": + "2c5d142c-9484-4310-b579-10317d5f9715", "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '191' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:56 GMT + Pragma: + - no-cache + RequestId: + - 1a6bf2f6-d2a8-56d2-8cef-33eaabf77d81 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/2c5d142c-9484-4310-b579-10317d5f9715/deploymentPlans/64cbd045-7937-5cc9-9385-86c0bbc0dfa5 + response: + body: + string: '{"id": "64cbd045-7937-5cc9-9385-86c0bbc0dfa5", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "fabcli000002", "workspaceId": + "2c5d142c-9484-4310-b579-10317d5f9715", "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:56 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 8b082cf1-91cc-59c4-824f-f26c779ae6d8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/2c5d142c-9484-4310-b579-10317d5f9715/items/64cbd045-7937-5cc9-9385-86c0bbc0dfa5/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:56 GMT + Pragma: + - no-cache + RequestId: + - ea75a69d-1e8e-5a62-b150-5de858019a7c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "2c5d142c-9484-4310-b579-10317d5f9715", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:57 GMT + Pragma: + - no-cache + RequestId: + - 606d336f-5b26-5c45-8bc6-515774cb9c7a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/2c5d142c-9484-4310-b579-10317d5f9715/items + response: + body: + string: '{"value": [{"id": "64cbd045-7937-5cc9-9385-86c0bbc0dfa5", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "fabcli000002", "workspaceId": + "2c5d142c-9484-4310-b579-10317d5f9715", "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '191' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:57 GMT + Pragma: + - no-cache + RequestId: + - 9b11657a-e737-5e93-ad08-ec6df48aacb9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/2c5d142c-9484-4310-b579-10317d5f9715/items/64cbd045-7937-5cc9-9385-86c0bbc0dfa5 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:03:58 GMT + Pragma: + - no-cache + RequestId: + - 52b39280-6262-52b2-ad4f-388abdf3ce3e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_set/test_set_item_metadata_for_all_types_success[displayName-DeploymentPlan].yaml b/tests/test_commands/recordings/test_commands/test_set/test_set_item_metadata_for_all_types_success[displayName-DeploymentPlan].yaml new file mode 100644 index 000000000..fb365817d --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_set/test_set_item_metadata_for_all_types_success[displayName-DeploymentPlan].yaml @@ -0,0 +1,1088 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "2c5d142c-9484-4310-b579-10317d5f9715", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:59 GMT + Pragma: + - no-cache + RequestId: + - fb4ec4b3-2330-558e-b47e-886873737a86 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/2c5d142c-9484-4310-b579-10317d5f9715/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:59 GMT + Pragma: + - no-cache + RequestId: + - 94bd7bfa-4fb6-5fe4-a94f-60e95e5c5f8b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/2c5d142c-9484-4310-b579-10317d5f9715/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:03:59 GMT + Pragma: + - no-cache + RequestId: + - 9413ed0b-0828-5ae9-9e0c-c3a8c0d7f853 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001", "type": "DeploymentPlan", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '79' + Content-Type: + - application/json + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/2c5d142c-9484-4310-b579-10317d5f9715/deploymentPlans + response: + body: + string: '{"id": "e0840c92-3fda-5885-9a30-799065dde584", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "2c5d142c-9484-4310-b579-10317d5f9715", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:01 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 7b251936-0665-5440-ace2-841d0a1b4889 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "2c5d142c-9484-4310-b579-10317d5f9715", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:01 GMT + Pragma: + - no-cache + RequestId: + - 0ea41ab8-4b2f-5645-ae74-890fdcc22d03 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/2c5d142c-9484-4310-b579-10317d5f9715/items + response: + body: + string: '{"value": [{"id": "e0840c92-3fda-5885-9a30-799065dde584", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "2c5d142c-9484-4310-b579-10317d5f9715", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:01 GMT + Pragma: + - no-cache + RequestId: + - 4d87e010-771a-5caf-bbbe-d5b4ae34f231 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/2c5d142c-9484-4310-b579-10317d5f9715/deploymentPlans/e0840c92-3fda-5885-9a30-799065dde584 + response: + body: + string: '{"id": "e0840c92-3fda-5885-9a30-799065dde584", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "2c5d142c-9484-4310-b579-10317d5f9715", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:01 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - e1127860-e011-52dc-8ba7-7fc3b479063d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000002"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '35' + Content-Type: + - application/json + method: PATCH + uri: https://api.fabric.microsoft.com/v1/workspaces/2c5d142c-9484-4310-b579-10317d5f9715/deploymentPlans/e0840c92-3fda-5885-9a30-799065dde584 + response: + body: + string: '{"id": "e0840c92-3fda-5885-9a30-799065dde584", "type": "DeploymentPlan", + "displayName": "fabcli000002", "description": "", "workspaceId": "2c5d142c-9484-4310-b579-10317d5f9715", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '169' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:02 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 27e16bbb-f3c6-5a7e-a645-cf37bb3eae35 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "2c5d142c-9484-4310-b579-10317d5f9715", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:02 GMT + Pragma: + - no-cache + RequestId: + - 4f5759ba-e9d2-5a1f-951f-698de0f4cf7d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/2c5d142c-9484-4310-b579-10317d5f9715/items + response: + body: + string: '{"value": [{"id": "e0840c92-3fda-5885-9a30-799065dde584", "type": "DeploymentPlan", + "displayName": "fabcli000002", "description": "", "workspaceId": "2c5d142c-9484-4310-b579-10317d5f9715", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:03 GMT + Pragma: + - no-cache + RequestId: + - 1b725d75-5043-5566-8f88-75456fe375e7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/2c5d142c-9484-4310-b579-10317d5f9715/items + response: + body: + string: '{"value": [{"id": "e0840c92-3fda-5885-9a30-799065dde584", "type": "DeploymentPlan", + "displayName": "fabcli000002", "description": "", "workspaceId": "2c5d142c-9484-4310-b579-10317d5f9715", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:02 GMT + Pragma: + - no-cache + RequestId: + - d3dcfa2d-0ad3-5a47-af00-da3a037b279c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "2c5d142c-9484-4310-b579-10317d5f9715", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:03 GMT + Pragma: + - no-cache + RequestId: + - 04b3bf7a-d258-5102-8af2-5c0611eb163c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/2c5d142c-9484-4310-b579-10317d5f9715/items + response: + body: + string: '{"value": [{"id": "e0840c92-3fda-5885-9a30-799065dde584", "type": "DeploymentPlan", + "displayName": "fabcli000002", "description": "", "workspaceId": "2c5d142c-9484-4310-b579-10317d5f9715", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:04 GMT + Pragma: + - no-cache + RequestId: + - c0b11a38-9816-5d5d-91aa-eac7971ae01a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/2c5d142c-9484-4310-b579-10317d5f9715/deploymentPlans/e0840c92-3fda-5885-9a30-799065dde584 + response: + body: + string: '{"id": "e0840c92-3fda-5885-9a30-799065dde584", "type": "DeploymentPlan", + "displayName": "fabcli000002", "description": "", "workspaceId": "2c5d142c-9484-4310-b579-10317d5f9715", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '169' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:04 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 8e53ae17-317e-564b-b5e2-5cc8fd5d6a7d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/2c5d142c-9484-4310-b579-10317d5f9715/items/e0840c92-3fda-5885-9a30-799065dde584/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:04 GMT + Pragma: + - no-cache + RequestId: + - 060605c8-7504-5b76-b292-d52ae63e9d35 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "2c5d142c-9484-4310-b579-10317d5f9715", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:05 GMT + Pragma: + - no-cache + RequestId: + - 0a4ef770-219e-5161-af58-4a91b5551c62 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/2c5d142c-9484-4310-b579-10317d5f9715/items + response: + body: + string: '{"value": [{"id": "e0840c92-3fda-5885-9a30-799065dde584", "type": "DeploymentPlan", + "displayName": "fabcli000002", "description": "", "workspaceId": "2c5d142c-9484-4310-b579-10317d5f9715", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:05 GMT + Pragma: + - no-cache + RequestId: + - 5bb87f62-5142-5d8a-9acc-717c7dd34634 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/2c5d142c-9484-4310-b579-10317d5f9715/deploymentPlans/e0840c92-3fda-5885-9a30-799065dde584 + response: + body: + string: '{"id": "e0840c92-3fda-5885-9a30-799065dde584", "type": "DeploymentPlan", + "displayName": "fabcli000002", "description": "", "workspaceId": "2c5d142c-9484-4310-b579-10317d5f9715", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '169' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:05 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 5cddea43-983b-5695-9ce8-56cba2a06f61 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '35' + Content-Type: + - application/json + method: PATCH + uri: https://api.fabric.microsoft.com/v1/workspaces/2c5d142c-9484-4310-b579-10317d5f9715/deploymentPlans/e0840c92-3fda-5885-9a30-799065dde584 + response: + body: + string: '{"id": "e0840c92-3fda-5885-9a30-799065dde584", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "2c5d142c-9484-4310-b579-10317d5f9715", + "logicalId": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:05 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - e5285dae-9f9d-52e3-a16b-d62562dbfb84 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "7e31fde5-d4f9-5a72-a17f-8d1f8245eb2f", "displayName": + "My workspace", "description": "", "type": "Personal", "capacityRegion": "Central + US", "licensingInfo": {"licensingMode": "Pro"}}, {"id": "2c5d142c-9484-4310-b579-10317d5f9715", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "", + "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004", + "capacityRegion": "Central US", "licensingInfo": {"licensingMode": "Capacity"}}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '4030' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:06 GMT + Pragma: + - no-cache + RequestId: + - ee8d5cf7-380c-5de5-ac83-8191dc6bcaee + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/2c5d142c-9484-4310-b579-10317d5f9715/items + response: + body: + string: '{"value": [{"id": "e0840c92-3fda-5885-9a30-799065dde584", "type": "DeploymentPlan", + "displayName": "fabcli000001", "description": "", "workspaceId": "2c5d142c-9484-4310-b579-10317d5f9715", + "logicalId": null}]}' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 23 Nov 2026 13:04:05 GMT + Pragma: + - no-cache + RequestId: + - d2fe6bf4-fa44-552a-a0a8-74b7ae18d648 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.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 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/2c5d142c-9484-4310-b579-10317d5f9715/items/e0840c92-3fda-5885-9a30-799065dde584 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId,Date + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Mon, 23 Nov 2026 13:04:06 GMT + Pragma: + - no-cache + RequestId: + - 1aade9d0-a9ec-59dc-9a4a-775ea05ed74d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/test_export.py b/tests/test_commands/test_export.py index 4636c8026..7301076a1 100644 --- a/tests/test_commands/test_export.py +++ b/tests/test_commands/test_export.py @@ -387,6 +387,7 @@ def test_export_item_invalid_format_failure( ) error_messages = { + ItemType.DEPLOYMENT_PLAN: "Invalid format. Only the following formats are supported: DeploymentPlanFormat", ItemType.NOTEBOOK: "Invalid format. Only the following formats are supported: .py, .ipynb", ItemType.SPARK_JOB_DEFINITION: "Invalid format. Only the following formats are supported: SparkJobDefinitionV1, SparkJobDefinitionV2", ItemType.SEMANTIC_MODEL: "Invalid format. Only the following formats are supported: TMDL, TMSL", diff --git a/tests/test_commands/test_open.py b/tests/test_commands/test_open.py index 84b10c122..f8c39a993 100644 --- a/tests/test_commands/test_open.py +++ b/tests/test_commands/test_open.py @@ -3,7 +3,8 @@ import argparse import json -from unittest.mock import patch +from typing import Callable +from unittest.mock import Mock, patch import pytest @@ -11,6 +12,8 @@ from fabric_cli.core import fab_constant as constant from fabric_cli.core import fab_handle_context as handle_context from fabric_cli.core.fab_types import ItemType, uri_mapping +from tests.test_commands.commands_parser import CLIExecutor +from tests.test_commands.data.models import EntityMetadata class TestOpen: @@ -93,6 +96,35 @@ def test_open_notebook_success( f"{constant.WEB_URI}/{workspace_id}/{uri_mapping.get(ItemType.NOTEBOOK)}/{item_id}/?experience={constant.FAB_DEFAULT_OPEN_EXPERIENCE_FABRIC}&upn={self.mocked_upn}&ctid={self.mocked_ctid}" ) + @pytest.mark.parametrize( + "experience,expected_experience", + [ + ("fabric", constant.FAB_DEFAULT_OPEN_EXPERIENCE_FABRIC), + ("powerbi", constant.FAB_DEFAULT_OPEN_EXPERIENCE_POWERBI), + ], + ) + @pytest.mark.token_claims({"upn": mocked_upn, "tid": mocked_ctid}) + def test_open_deployment_plan_success( + self, + experience: str, + expected_experience: str, + item_factory: Callable[..., EntityMetadata], + cli_executor: CLIExecutor, + mock_webbrowser_open_new: Mock, + mock_questionary_print: Mock, + mock_fab_set_state_config: Callable[[str, str], None], + ) -> None: + mock_fab_set_state_config(constant.FAB_DEFAULT_OPEN_EXPERIENCE, experience) + deployment_plan = item_factory(ItemType.DEPLOYMENT_PLAN) + get(deployment_plan.full_path, query=".") + data = json.loads(mock_questionary_print.call_args[0][0]) + + cli_executor.exec_command(f"open {deployment_plan.full_path}") + + mock_webbrowser_open_new.assert_called_once_with( + f"{constant.WEB_URI}/{data['workspaceId']}/deployment-plans/{data['id']}/?experience={expected_experience}&upn={self.mocked_upn}&ctid={self.mocked_ctid}" + ) + # endregion diff --git a/tests/test_utils/test_fab_item_util.py b/tests/test_utils/test_fab_item_util.py index 11230dd19..1344da8ae 100644 --- a/tests/test_utils/test_fab_item_util.py +++ b/tests/test_utils/test_fab_item_util.py @@ -1,8 +1,12 @@ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. +import base64 import json from argparse import Namespace +from copy import deepcopy +from pathlib import Path +from unittest.mock import patch import pytest @@ -10,8 +14,11 @@ from fabric_cli.client import fab_api_item as item_api from fabric_cli.commands.fs.export import fab_fs_export_item as _export_item from fabric_cli.core import fab_constant, fab_state_config -from fabric_cli.core.fab_types import OneLakeItemType +from fabric_cli.core.fab_commands import Command +from fabric_cli.core.fab_exceptions import FabricCLIError +from fabric_cli.core.fab_types import ItemType, OneLakeItemType from fabric_cli.core.hiearchy.fab_hiearchy import Item, OneLakeItem, Tenant, Workspace +from fabric_cli.utils.fab_cmd_import_utils import get_payload_for_item_type def test_extract_paths(): @@ -122,3 +129,80 @@ def mock_get_item(*args, **kwargs): item = item_utils.get_item_with_definition(export_item, _args) assert item == {"item_exported": "item"} + + +@pytest.mark.parametrize("export_format", [None, "DeploymentPlanFormat"]) +def test_deployment_plan_export_import_success( + tmp_path: Path, export_format: str | None +) -> None: + tenant = Tenant(name="tenant_name", id="tenant_id") + workspace = Workspace( + name="workspace_name", id="workspace_id", parent=tenant, type="Workspace" + ) + item = Item( + name="deployment", + id="item_id", + parent=workspace, + item_type="DeploymentPlan", + ) + content = "version: '1.0'\ngroups: []\n" + definition = { + "parts": [ + { + "path": "plan.yml", + "payload": base64.b64encode(content.encode()).decode(), + "payloadType": "InlineBase64", + } + ] + } + args = Namespace(force=True, format=export_format, output=str(tmp_path)) + + for command in [Command.FS_EXPORT, Command.FS_IMPORT, Command.FS_CP, Command.FS_MV]: + assert item.check_command_support(command) + + with ( + patch.object( + item_api, + "get_item_withdefinition", + return_value={"definition": deepcopy(definition)}, + ) as get_definition, + patch.object( + _export_item.fab_storage, + "get_export_path", + return_value={"type": "local", "path": str(tmp_path)}, + ), + ): + _export_item.export_single_item(item, args) + + definition_args = get_definition.call_args.args[0] + with patch.object(item_api.fabric_api, "do_request") as request: + item_api.get_item_definition(definition_args) + expected_uri = "workspaces/workspace_id/items/item_id/getDefinition" + if export_format: + expected_uri += "?format=DeploymentPlanFormat" + assert request.call_args.args[0].uri == expected_uri + + export_path = tmp_path / item.name + assert (export_path / "plan.yml").read_text() == content + payload = get_payload_for_item_type(str(export_path), item, export_format) + assert payload["type"] == "DeploymentPlan" + parts = payload["definition"]["parts"] + assert len(parts) == 1 + assert parts[0]["path"] == "plan.yml" + assert parts[0]["payloadType"] == "InlineBase64" + assert ( + base64.b64decode(parts[0]["payload"]).decode().splitlines() + == content.splitlines() + ) + if export_format: + assert payload["definition"]["format"] == "DeploymentPlanFormat" + else: + assert "format" not in payload["definition"] + + +def test_deployment_plan_invalid_definition_format_failure() -> None: + with pytest.raises(FabricCLIError) as error: + item_utils.resolve_definition_format(ItemType.DEPLOYMENT_PLAN, ".txt") + + assert error.value.status_code == fab_constant.ERROR_INVALID_INPUT + assert "DeploymentPlanFormat" in str(error.value)