Previous Topic: ExampleNext Topic: Example


createConfig—Create a configuration

This action allows to create a configuration.

This action has the following format:

comconf action=createConfig
name=configuration_name
target=target_name
ttype=target_type
{policies=(policy_name, policy_type}...
name

Specifies the name of the configuration to be created.

target

Specifies the name of an existing target to be associated with the configuration.

ttype

Specifies type of the target.

The following values are valid:

Computer

The targets are computers.

This parameter is supported on domain managers only!

Group

The targets are computer groups.

If the type mismatches an error is reported.

policies

Specifies the name and types of policies which will be assigned to the configurations to be created.

Only policies of type computer could be added this way.

The created configuration is recorded to the stdout in the following format:

Configuration created: <<configuration name>>, <<configuration identifier>>