Class RemoteDeploymentProvider
- Namespace
- Dynamicweb.Deployment
- Assembly
- Dynamicweb.Core.dll
Represents a remote deployment provider
public class RemoteDeploymentProvider : DeploymentProvider
- Inheritance
-
RemoteDeploymentProvider
- Inherited Members
Constructors
RemoteDeploymentProvider(Destination)
Initializes a new instance of the RemoteDeploymentProvider class.
public RemoteDeploymentProvider(Destination destination)
Parameters
destinationDestinationThe destination.
RemoteDeploymentProvider(string, Uri, string, string)
Initializes a new instance of the RemoteDeploymentProvider class.
public RemoteDeploymentProvider(string name, Uri url, string username, string password)
Parameters
Properties
Name
Gets the name.
public override string Name { get; }
Property Value
- string
The name.
Password
Gets or sets the password.
public string Password { get; set; }
Property Value
- string
The password.
Url
Gets the URL.
public override Uri Url { get; }
Property Value
- Uri
The URL.
Username
Gets or sets the username.
public string Username { get; set; }
Property Value
- string
The username.
Methods
ConfigureClient(HttpClient)
protected virtual void ConfigureClient(HttpClient client)
Parameters
clientHttpClient
ExportPackage(string, DeploymentSet, Tracker)
Exports the package.
protected override Package ExportPackage(string id, DeploymentSet deploymentSet, Tracker tracker)
Parameters
idstringThe identifier.
deploymentSetDeploymentSetThe deployment set.
trackerTrackerThe tracker.
Returns
GetDataGroup(string)
Gets the data group.
public override DataGroup? GetDataGroup(string dataGroupId)
Parameters
dataGroupIdstringThe data group identifier.
Returns
GetDataGroups()
Gets the data groups.
public override IEnumerable<DataGroup> GetDataGroups()
Returns
GetDataItemInfos(DataItemSelection)
Gets the data item infos.
public override IEnumerable<DataItemInfo> GetDataItemInfos(DataItemSelection selection)
Parameters
selectionDataItemSelectionThe selection.
Returns
GetDataItemInfosAsync(DataItemSelection)
Gets the data item infos.
protected override Task<IEnumerable<DataItemInfo>> GetDataItemInfosAsync(DataItemSelection selection)
Parameters
selectionDataItemSelectionThe selection.
Returns
GetDataItems(DataItemSelection)
Gets the data items.
public override IEnumerable<DataItem> GetDataItems(DataItemSelection selection)
Parameters
selectionDataItemSelectionThe selection.
Returns
GetDeploymentStatus(string)
Gets the deployment status.
public override ApplicationResponse<TrackingState>? GetDeploymentStatus(string id)
Parameters
idstringThe identifier.
Returns
GetSystemInformation()
Gets the system information.
public override Dictionary<string, string> GetSystemInformation()
Returns
- Dictionary<string, string>
A dictionary of system information
ImportPackage(string, Package, Tracker)
Imports the package.
protected override void ImportPackage(string id, Package package, Tracker tracker)
Parameters
VerifyConnection()
Verifies the connection.
public override bool VerifyConnection()