ITLogTopologySelection Property

General info

Label

Topology

Description

The type of topology

Data type

UInt32

Default value

1 (inmation.model.codes.ITLogTopology.BACKUP)

Type

CodingGroup

Code

2538

Symbolic name

MODEL_PROP_ITLOGTOPOLOGYSELECTION

Lua access code

inmation.model.properties.ITLogTopologySelection

Available since

1.30.6.4266

Parent classes

ITLogDatasource

Attributes

Name Tooltip
PROP_CONFIGURABLE The property is configurable and can be changed with DataStudio and the various inmation APIs
PROP_VISIBLE The property is visible in DataStudio and can be read by the inmation APIs
PROP_HAS_DEFAULT The property has a default value as standard

Codings

Coding group: ITLogTopology

Name Code Label Tooltip

BACKUP

1

Backup

Log data is acquired from a backup management system

FILETRANSFER

2

File Transfer

Log data is acquired from a file transfers management system

REPLICATION

3

Replication

Log data is acquired from a replication management system

INVENTORY

4

Inventory

Log data is acquired from a inventory management system

STORAGE

5

Storage

Log data is acquired from a storage management system

Examples

Read from or write to the ITLogTopologySelection property.

  • Lua

  • C#

-- Read from the ITLogTopologySelection
inmation.getvalue("<OBJECT FULL PATH>.ITLogDatasource.ITLogTopologySelection")

-- Write to the ITLogTopologySelection
inmation.setvalue("<OBJECT FULL PATH>.ITLogDatasource.ITLogTopologySelection",
    inmation.model.codes.ITLogTopology.BACKUP)
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "so", Password = "inmation" };
StatelessInterface sli = new StatelessInterface(tcpcfg);

// Read from the ITLogTopologySelection
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.ITLogDatasource.ITLogTopologySelection"));
// Write to the ITLogTopologySelection
Result result = sli.WriteValue(sc, new WriteItem(ITLogTopology.BACKUP, "<OBJECT FULL PATH>.ITLogDatasource.ITLogTopologySelection"));

A switch-like function of the codings.

function get_coding_name(code)
    local itlt = inmation.model.codes.ITLogTopology
    if itlt.BACKUP==code then return 'BACKUP'
    elseif itlt.FILETRANSFER==code then return 'FILETRANSFER'
    elseif itlt.REPLICATION==code then return 'REPLICATION'
    elseif itlt.INVENTORY==code then return 'INVENTORY'
    elseif itlt.STORAGE==code then return 'STORAGE'
    end
end
return get_coding_name(inmation.model.codes.ITLogTopology.BACKUP)