@@ -14,13 +14,15 @@ Plugin Operation | **Required** | Decorator | Delphix Engine Operations
1414[ Source Config<br />Discovery] ( #source-config-discovery ) | ** Yes** |` discovery.source_config() ` | [ Environment Discovery] ( Workflows.md#environment-discovery-refresh ) <br />[ Environment Refresh] ( Workflows.md#environment-discovery-refresh )
1515[ Direct Linked Source<br />Pre-Snapshot] ( #direct-linked-source-pre-snapshot ) | ** No** | ` linked.pre_snapshot() ` | [ Linked Source Sync] ( Workflows.md#linked-source-sync )
1616[ Direct Linked Source<br />Post-Snapshot] ( #direct-linked-source-post-snapshot ) | ** Yes** | ` linked.post_snapshot() ` | [ Linked Source Sync] ( Workflows.md#linked-source-sync )
17+ [ Direct Linked Source<br />Source Size] ( #direct-linked-source-size ) | ** No** | ` linked.source_size() ` | N/A
1718[ Staged Linked Source<br />Pre-Snapshot] ( #staged-linked-source-pre-snapshot ) | ** No** | ` linked.pre_snapshot() ` | [ Linked Source Sync] ( Workflows.md#linked-source-sync )
1819[ Staged Linked Source<br />Post-Snapshot] ( #staged-linked-source-post-snapshot ) | ** Yes** | ` linked.post_snapshot() ` | [ Linked Source Sync] ( Workflows.md#linked-source-sync )
1920[ Staged Linked Source<br />Start-Staging] ( #staged-linked-source-start-staging ) | ** No** | ` linked.start_staging() ` | [ Linked Source Enable] ( Workflows.md#linked-source-enable )
2021[ Staged Linked Source<br />Stop-Staging] ( #staged-linked-source-stop-staging ) | ** No** | ` linked.stop_staging() ` | [ Linked Source Disable] ( Workflows.md#linked-source-disable ) <br />[ Linked Source Delete] ( Workflows.md#linked-source-delete )
2122[ Staged Linked Source<br />Status] ( #staged-linked-source-status ) | ** No** |` linked.status() ` | N/A
2223[ Staged Linked Source<br />Worker] ( #staged-linked-source-worker ) | ** No** |` linked.worker() ` | N/A
2324[ Staged Linked Source<br />Mount Specification] ( #staged-linked-source-mount-specification ) | ** Yes** | ` linked.mount_specification() ` | [ Linked Source Sync] ( Workflows.md#linked-source-sync ) <br />[ Linked Source Enable] ( Workflows.md#linked-source-enable )
25+ [ Staged Linked Source<br />Source Size] ( #staged-linked-source-size ) | ** No** | ` linked.source_size() ` | N/A
2426[ Virtual Source<br />Initialize] ( #virtual-source-initialize ) | ** No** | ` virtual.initialize() ` | [ Virtual Source Create Empty VDB] ( Workflows.md#virtual-source-create-empty-vdb )
2527[ Virtual Source<br />Configure] ( #virtual-source-configure ) | ** Yes** | ` virtual.configure() ` | [ Virtual Source Provision] ( Workflows.md#virtual-source-provision ) <br />[ Virtual Source Refresh] ( Workflows.md#virtual-source-refresh )
2628[ Virtual Source<br />Unconfigure] ( #virtual-source-unconfigure ) | ** No** | ` virtual.unconfigure() ` | [ Virtual Source Refresh] ( Workflows.md#virtual-source-refresh ) <br />[ Virtual Source Delete] ( Workflows.md#virtual-source-delete )
@@ -32,6 +34,7 @@ Plugin Operation | **Required** | Decorator | Delphix Engine Operations
3234[ Virtual Source<br />Post-Snapshot] ( #virtual-source-post-snapshot ) | ** Yes** | ` virtual.post_snapshot() ` | [ Virtual Source Snapshot] ( Workflows.md#virtual-source-snapshot )
3335[ Virtual Source<br >Mount Specification] ( #virtual-source-mount-specification ) | ** Yes** | ` virtual.mount_specification() ` | [ Virtual Source Enable] ( Workflows.md#virtual-source-enable ) <br />[ Virtual Source Provision] ( Workflows.md#virtual-source-provision ) <br />[ Virtual Source Refresh] ( Workflows.md#virtual-source-refresh ) <br />[ Virtual Source Rollback] ( Workflows.md#virtual-source-rollback ) <br />[ Virtual Source Start] ( Workflows.md#virtual-source-start )
3436[ Virtual Source<br />Status] ( #virtual-source-status ) | ** No** | ` virtual.status() ` | [ Virtual Source Enable] ( Workflows.md#virtual-source-enable )
37+ [ Virtual Source<br />Source Size] ( #virtual-source-size ) | ** No** | ` virtual.source_size() ` | N/A
3538[ Repository Data Migration] ( #repository-data-migration ) | ** No** | ` upgrade.repository(migration_id) ` | [ Upgrade] ( Workflows.md#upgrade )
3639[ Source Config Data Migration] ( #source-config-data-migration ) | ** No** | ` upgrade.source_config(migration_id) ` | [ Upgrade] ( Workflows.md#upgrade )
3740[ Linked Source Data Migration] ( #linked-source-data-migration ) | ** No** | ` upgrade.linked_source(migration_id) ` | [ Upgrade] ( Workflows.md#upgrade )
@@ -266,6 +269,50 @@ def linked_post_snapshot(direct_source, repository, source_config, optional_snap
266269}
267270```
268271
272+ ## Direct Linked Source Size
273+
274+ Determines the database size of a [ dSource] ( Glossary.md#dsource ) once data has been ingested. Only applies when using a [ Direct Linking] ( Glossary.md#direct-linking ) strategy.
275+
276+ ### Required / Optional
277+ ** Optional.**
278+
279+ ### Delphix Engine Operations
280+
281+ * N/A
282+
283+ ### Signature
284+
285+ ` def linked_source_size(direct_source, repository, source_config) `
286+
287+ ### Decorator
288+
289+ ` linked.source_size() `
290+
291+ ### Arguments
292+
293+ Argument | Type | Description
294+ -------- | ---- | -----------
295+ direct_source | [ DirectSource] ( Classes.md#directsource ) | The source associated with this operation.
296+ repository | [ RepositoryDefinition] ( Schemas_and_Autogenerated_Classes.md#repositorydefinition-class ) | The repository associated with this source.
297+ source_config | [ SourceConfigDefinition] ( Schemas_and_Autogenerated_Classes.md#sourceconfigdefinition-class ) | The source config associated with this source.
298+
299+ ### Returns
300+ Positive Numeric
301+
302+ ### Example
303+
304+ ``` python
305+ from dlpx.virtualization.platform import Plugin
306+
307+ plugin = Plugin()
308+
309+ @plugin.linked.source_size ()
310+ def linked_source_size (direct_source , repository , source_config ):
311+ database_size = 0
312+ # Implementation to fetch the database size.
313+ return database_size
314+ ```
315+
269316## Staged Linked Source Pre-Snapshot
270317
271318Sets up a [ dSource] ( Glossary.md#dsource ) to ingest data. Only applies when using a [ Staged Linking] ( Glossary.md#staged-linking ) strategy.
@@ -596,6 +643,50 @@ def linked_mount_specification(staged_source, repository):
596643 return MountSpecification([mount], ownership_spec)
597644```
598645
646+ ## Staged Linked Source Size
647+
648+ Determines the database size of a [ Staging Source] ( Glossary.md#staging-source ) once data has been ingested. Only applies when using a [ Staged Linking] ( Glossary.md#staged-linking ) strategy.
649+
650+ ### Required / Optional
651+ ** Optional.**
652+
653+ ### Delphix Engine Operations
654+
655+ * N/A
656+
657+ ### Signature
658+
659+ ` def linked_source_size(staged_source, repository, source_config) `
660+
661+ ### Decorator
662+
663+ ` linked.source_size() `
664+
665+ ### Arguments
666+
667+ Argument | Type | Description
668+ -------- | ---- | -----------
669+ staged_source | [ StagedSource] ( Classes.md#stagedsource ) | The source associated with this operation.
670+ repository | [ RepositoryDefinition] ( Schemas_and_Autogenerated_Classes.md#repositorydefinition-class ) | The repository associated with this source.
671+ source_config | [ SourceConfigDefinition] ( Schemas_and_Autogenerated_Classes.md#sourceconfigdefinition-class ) | The source config associated with this source.
672+
673+ ### Returns
674+ Positive Numeric
675+
676+ ### Example
677+
678+ ``` python
679+ from dlpx.virtualization.platform import Plugin
680+
681+ plugin = Plugin()
682+
683+ @plugin.linked.source_size ()
684+ def linked_source_size (staged_source , repository , source_config ):
685+ database_size = 0
686+ # Implementation to fetch the database size.
687+ return database_size
688+ ```
689+
599690## Virtual Source Initialize
600691
601692Initializes a brand-new [ empty VDB] ( Glossary.md#empty-vdb ) . As with all VDBs, this new dataset will have access to mounted Delphix Engine storage, but of course there will be no data there at first.
@@ -1153,6 +1244,50 @@ def virtual_status(virtual_source, repository, source_config):
11531244 return Status.ACTIVE
11541245```
11551246
1247+ ## Virtual Source Size
1248+
1249+ Determines the database size of a [ Virtual Source] ( Glossary.md#virtual-source ) once data has been ingested.
1250+
1251+ ### Required / Optional
1252+ ** Optional.**
1253+
1254+ ### Delphix Engine Operations
1255+
1256+ * N/A
1257+
1258+ ### Signature
1259+
1260+ ` def virtual_source_size(virtual_source, repository, source_config) `
1261+
1262+ ### Decorator
1263+
1264+ ` virtual.source_size() `
1265+
1266+ ### Arguments
1267+
1268+ Argument | Type | Description
1269+ -------- | ---- | -----------
1270+ virtual_source | [ VirtualSource] ( Classes.md#virtualsource ) | The source associated with this operation.
1271+ repository | [ RepositoryDefinition] ( Schemas_and_Autogenerated_Classes.md#repositorydefinition-class ) | The repository associated with this source.
1272+ source_config | [ SourceConfigDefinition] ( Schemas_and_Autogenerated_Classes.md#sourceconfigdefinition-class ) | The source config associated with this source.
1273+
1274+ ### Returns
1275+ Positive Numeric
1276+
1277+ ### Example
1278+
1279+ ``` python
1280+ from dlpx.virtualization.platform import Plugin
1281+
1282+ plugin = Plugin()
1283+
1284+ @plugin.virtual.source_size ()
1285+ def virtual_source_size (virtual_source , repository , source_config ):
1286+ database_size = 0
1287+ # Implementation to fetch the database size.
1288+ return database_size
1289+ ```
1290+
11561291
11571292## Repository Data Migration
11581293
0 commit comments