ManagementScopeCommands (AdminTask)
Inbound and outbound management scopes represent opposing directions during the connection handshake process. ManagementScopeCommands commands can be used to create, delete, and list management scopes.
deleteManagementScope
Delete a management object from the configuration.
Target object
None
Parameters and return values
- - scopeName
- The name that uniquely identifies the management scope. (String, required)
Examples
Batch mode example:
Jacl:
$AdminTask deleteManagementScope {-scopeName (cell):localhostNode01Cell}
Jython string...
AdminTask.deleteManagementScope ('[-scopeName (cell):localhostNode01Cell]')
Jython list:
AdminTask.deleteManagementScope (['-scopeName', '(cell):localhostNode01Cell'])
Interactive mode:
Jacl:
$AdminTask deleteManagementScope {-interactive}
Jython string...
AdminTask.deleteManagementScope ('[-interactive]')
Jython list:
AdminTask.deleteManagementScope (['-interactive'])
getManagementScope
Display the setting of a management scope object.
Target object
None
Parameters and return values
- - scopeName
- The name that uniquely identifies the management scope. (String, required)
Examples
Batch mode example:
Jacl:
$AdminTask getManagementScope {-scopeName (cell):localhostNode01Cell}
Jython string...
AdminTask.getManagementScope ('[-scopeName (cell):localhostNode01Cell]')
Jython list:
AdminTask.getManagementScope (['-scopeName', '(cell):localhostNode01Cell'])
Interactive mode:
Jacl:
$AdminTask getManagementScope {-interactive}
Jython string...
AdminTask.getManagementScope ('[-interactive]')
Jython list:
AdminTask.getManagementScope (['-interactive'])
listManagementScopes
List the management scopes in the configuration.
Target object
None
Parameters and return values
- - displayObjectName
- Set the value to true to display the object names of the management scope. (Boolean, optional)
Examples
Batch mode example:
Jacl:
$AdminTask listManagementScopes { -name testKM -provider IBMJSSE2 -algorithm IbmX509}
Jython string...
AdminTask.listManagementScopes ('[-name testKM -provider IBMJSSE2 -algorithm IbmX509]')
Jython list:
AdminTask.listManagementScopes (['-name', 'testKM', '-provider', 'IBMJSSE2', '-algorithm', 'IbmX509'])
Interactive mode:
Jacl:
$AdminTask listManagementScopes {-interactive}
Jython string...
AdminTask.listManagementScopes ('[-interactive]')
Jython list:
AdminTask.listManagementScopes (['-interactive'])
Related tasks
Use the wsadmin scripting AdminTask object for scripted administration Commands (AdminTask)