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
destination
DestinationThe 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
client
HttpClient
ExportPackage(string, DeploymentSet, Tracker)
Exports the package.
protected override Package ExportPackage(string id, DeploymentSet deploymentSet, Tracker tracker)
Parameters
id
stringThe identifier.
deploymentSet
DeploymentSetThe deployment set.
tracker
TrackerThe tracker.
Returns
GetDataGroup(string)
Gets the data group.
public override DataGroup? GetDataGroup(string dataGroupId)
Parameters
dataGroupId
stringThe 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
selection
DataItemSelectionThe selection.
Returns
GetDataItemInfosAsync(DataItemSelection)
Gets the data item infos.
protected override Task<IEnumerable<DataItemInfo>> GetDataItemInfosAsync(DataItemSelection selection)
Parameters
selection
DataItemSelectionThe selection.
Returns
GetDataItems(DataItemSelection)
Gets the data items.
public override IEnumerable<DataItem> GetDataItems(DataItemSelection selection)
Parameters
selection
DataItemSelectionThe selection.
Returns
GetDeploymentStatus(string)
Gets the deployment status.
public override ApplicationResponse<TrackingState>? GetDeploymentStatus(string id)
Parameters
id
stringThe 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()