You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
f"{icons.green_dot} The warehouse snapshot '{name}' has been created in the workspace '{warehouse_snapshot_workspace_name}'."
167
167
)
168
+
169
+
170
+
@log
171
+
defupdate_warehouse_snapshot(
172
+
warehouse_snapshot: str|UUID,
173
+
name: Optional[str] =None,
174
+
description: Optional[str] =None,
175
+
snapshot_datetime: Optional[datetime] =None,
176
+
workspace: Optional[str|UUID] =None,
177
+
):
178
+
"""
179
+
Updates the properties of a warehouse snapshot in the Fabric workspace.
180
+
181
+
This is a wrapper function for the following API: `Items - Update Warehouse Snapshot <https://learn.microsoft.com/rest/api/fabric/warehousesnapshot/items/update-warehouse-snapshot>`_.
182
+
183
+
Service Principal Authentication is supported (see `here <https://github.com/microsoft/semantic-link-labs/blob/main/notebooks/Service%20Principal.ipynb>`_ for examples).
184
+
185
+
Parameters
186
+
----------
187
+
warehouse_snapshot : str | uuid.UUID
188
+
The name or ID of the warehouse snapshot to update.
189
+
name : str, optional
190
+
The new name for the warehouse snapshot.
191
+
description : str, optional
192
+
The new description for the warehouse snapshot.
193
+
snapshot_datetime : datetime, optional
194
+
The new snapshot datetime for the warehouse snapshot.
195
+
Example: "2024-10-15T13:00:00Z"
196
+
workspace : str | uuid.UUID, optional
197
+
The Fabric workspace name or ID.
198
+
Defaults to None which resolves to the workspace of the attached lakehouse
199
+
or if no lakehouse attached, resolves to the workspace of the notebook.
0 commit comments