If Type "Foo" is defined in types.cf as:
Type Foo ( str Name int IntAttr str StringAttr str VectorAttr[] str AssocAttr{} static str ArgList[] = { IntAttr, StringAttr, VectorAttr, AssocAttr } )
And if a resource "Bar" is defined in the VCS configuration file main.cf as:
Foo Bar ( IntAttr = 100 StringAttr = "Oracle" VectorAttr = { "vol1", "vol2", "vol3" } AssocAttr = { "disk1" = "1024", "disk2" = "512" } )
The online script for a V51 agent, when invoked for Bar, resembles:
online Bar IntAttr 1 100 StringAttr 1 Oracle VectorAttr 3 vol1 vol2 vol3 AssocAttr 4 disk1 1024 disk2 512