Class ServerToCloudMigrationPipeline
IMigrationPipeline implementation to perform migrations from Tableau Server to Tableau Cloud.
Inheritance
Implements
Inherited Members
Namespace: Tableau.Migration.Engine.Pipelines
Assembly: Tableau.Migration.dll
Syntax
public class ServerToCloudMigrationPipeline : TableauMigrationPipelineBase, IMigrationPipelineConstructors
ServerToCloudMigrationPipeline(IServiceProvider, IConfigReader)
Creates a new ServerToCloudMigrationPipeline object.
Declaration
public ServerToCloudMigrationPipeline(IServiceProvider services, IConfigReader configReader)Parameters
| Type | Name | Description | 
|---|---|---|
| IServiceProvider | services | A DI service provider to create actions with.The config reader.A DI service provider to create actions with.The config reader. | 
| IConfigReader | configReader | A config reader to get the REST API configuration. | 
Fields
ContentTypes
Content types that are supported for migrations.
Declaration
public static readonly ImmutableArray<MigrationPipelineContentType> ContentTypesField Value
| Type | Description | 
|---|---|
| ImmutableArray<MigrationPipelineContentType> | 
Methods
CreateExtractRefreshTaskAction()
Creates the migration action for handling the extract refresh task content type.
Declaration
protected override IMigrationAction CreateExtractRefreshTaskAction()Returns
| Type | Description | 
|---|---|
| IMigrationAction | The created migration action. | 
Overrides
CreateSubscriptionAction()
Creates the migration action for handling the subscription content type.
Declaration
protected override IMigrationAction CreateSubscriptionAction()Returns
| Type | Description | 
|---|---|
| IMigrationAction | The created migration action. | 
Overrides
GetBatchMigrator<TContent>()
Gets a batch level migrator for the given content type.
Declaration
public override IContentBatchMigrator<TContent> GetBatchMigrator<TContent>() where TContent : class, IContentReferenceReturns
| Type | Description | 
|---|---|
| IContentBatchMigrator<TContent> | The batch level migrator. | 
Type Parameters
| Name | Description | 
|---|---|
| TContent | The content type. | 
Overrides
GetItemConverter<TPrepare, TPublish>()
Gets a content item converter for the given prepare and publish types.
Declaration
public override IContentItemConverter<TPrepare, TPublish> GetItemConverter<TPrepare, TPublish>() where TPrepare : class where TPublish : classReturns
| Type | Description | 
|---|---|
| IContentItemConverter<TPrepare, TPublish> | 
Type Parameters
| Name | Description | 
|---|---|
| TPrepare | The type being prepared. | 
| TPublish | The publish type. |