Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changes/unreleased/added-20260307-205227.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: added
Comment thread
ayeshurun marked this conversation as resolved.
body: Promote VariableLibrary from portal-only to full API support, enabling create, get, set, rm, ls, export, import, cp, and mv commands via the Variable Library REST APIs
time: 2026-03-07T20:52:27.0056271Z
custom:
Author: v-alexmoraru
Comment thread
ayeshurun marked this conversation as resolved.
Outdated
AuthorLink: https://github.com/v-alexmoraru
Comment thread
ayeshurun marked this conversation as resolved.
Outdated
7 changes: 4 additions & 3 deletions src/fabric_cli/core/fab_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@ class ItemType(_BaseItemType):
METRIC_SET = "MetricSet"
ORG_APP = "OrgApp"
SUSTAINABILITY_DATA_SOLUTION = "SustainabilityDataSolution"
VARIABLE_LIBRARY = "VariableLibrary"

# API
COSMOS_DB_DATABASE = "CosmosDBDatabase"
Expand Down Expand Up @@ -287,6 +286,7 @@ class ItemType(_BaseItemType):
MOUNTED_DATA_FACTORY = "MountedDataFactory"
SQL_DATABASE = "SQLDatabase"
DATAFLOW = "Dataflow"
VARIABLE_LIBRARY = "VariableLibrary"

def __str__(self):
return self.value
Expand Down Expand Up @@ -493,7 +493,6 @@ class MirroredDatabaseFolders(Enum):
ItemType.SUSTAINABILITY_DATA_SOLUTION: "sustainabilitydatasolutions",
ItemType.METRIC_SET: "metricsets",
ItemType.ORG_APP: "orgapps",
ItemType.VARIABLE_LIBRARY: "variablelibraries",
# API
ItemType.COSMOS_DB_DATABASE: "cosmosDbDatabases",
ItemType.DASHBOARD: "dashboards",
Expand Down Expand Up @@ -526,6 +525,7 @@ class MirroredDatabaseFolders(Enum):
ItemType.USER_DATA_FUNCTION: "userdatafunctions",
ItemType.MOUNTED_DATA_FACTORY: "mounteddatafactories",
ItemType.DATAFLOW: "dataflows",
ItemType.VARIABLE_LIBRARY: "variablelibraries",
}

# Item URI in the Fabric Portal
Expand All @@ -540,7 +540,6 @@ class MirroredDatabaseFolders(Enum):
ItemType.SUSTAINABILITY_DATA_SOLUTION: "sustainability-data-manager",
ItemType.METRIC_SET: "metricsets",
ItemType.ORG_APP: "orgapps",
ItemType.VARIABLE_LIBRARY: "variable-libraries",
# API
ItemType.COSMOS_DB_DATABASE: "cosmosdbdatabases",
ItemType.DASHBOARD: "dashboards",
Expand Down Expand Up @@ -572,6 +571,7 @@ class MirroredDatabaseFolders(Enum):
ItemType.GRAPHQLAPI: "graphql",
ItemType.MOUNTED_DATA_FACTORY: "mounteddatafactories",
ItemType.DATAFLOW: "dataflows-gen2",
ItemType.VARIABLE_LIBRARY: "variable-libraries",
}

# Item Payload definition
Expand All @@ -595,4 +595,5 @@ class MirroredDatabaseFolders(Enum):
ItemType.COSMOS_DB_DATABASE: {"default": ""},
ItemType.USER_DATA_FUNCTION: {"default": ""},
ItemType.GRAPH_QUERY_SET: {"default": ""},
ItemType.VARIABLE_LIBRARY: {"default": ""},
}