Méthode | Description | |
---|---|---|
UsingCustomDisplayName ( string displayName ) : |
Allows to override the display name.
|
|
UsingCustomIdentifier ( System.Guid id ) : |
In this mode, the host id is fully managed by the user. This mode is only recommended if you know what you are doing. The id should be the same across endpoint restarts unless physical host has changed. |
|
UsingInstalledFilePath ( ) : |
In this mode, the host id is derived from the installed file path and the current machine name. This mode is only recommended if upgrades are deployed always to the same path. When using Octopus Deploy do not use this mode, instead use UsingNames. |
|
UsingNames ( string instanceName, string hostName ) : |
In this mode, a host id will be generated from instanceName and hostName. This mode is recommended when deploying in Azure roles or UsingInstalledFilePath is not appropriate. |
Méthode | Description | |
---|---|---|
HostInfoSettings ( EndpointConfiguration config ) : System |
public UsingCustomDisplayName ( string displayName ) : |
||
displayName | string | |
Résultat |
public UsingCustomIdentifier ( System.Guid id ) : |
||
id | System.Guid | |
Résultat |
public UsingInstalledFilePath ( ) : |
||
Résultat |
public UsingNames ( string instanceName, string hostName ) : |
||
instanceName | string | |
hostName | string | |
Résultat |