get-config-ordinal

Returns the ordinal value for the given configuration source type.

Synopsis

asadmin [asadmin-options] get-config-ordinal [--help] [--target=server]
[--source={domain|config|server|application|module|cluster}]

Description

The get-config-ordinal returns ordinal value for the given ConfigSource type.

Options

asadmin-options

Options for the asadmin utility. For information about these options, see the asadmin help page.

--help
-?

Displays the help text for the subcommand.

--source

The ConfigSource to get the ordinal for.

Must be one of: domain, config, server, application, module, cluster

--target

Specifies the target where the configuration source resides.
Valid values are as follows:

server

Specifies the DAS (default).

instance-name

Specifies a Payara Server instance.

cluster-name

Specifies a cluster.

configuration-name

Specifies a named configuration.

Example

Example 1 Getting the ordinal value

This example gets the ordinal value for the source 'cluster'.

asadmin> get-config-ordinal --source=cluster

Exit Status

0

subcommand executed successfully

1

error in executing the subcommand

See Also