The AdminConfig commands that return information about configuration elements all require
a configuration ID.
command | description |
getid |
Given a containment path, return all the configuration IDs that match.
Can be more selective than AdminConfig.list()
raw = AdminConfig.getid( '/Node:C01N01/Server:/' )
s = raw.splitlines()
len( s )
|
list |
Return all configured instances of a given WAS configuration type.
The sample code below will show how many DataSources are configured in this cell.
raw = AdminConfig.list( 'DataSource' )
ds = raw.splitlines()
print len(ds)
|
|