+ my $config = PVE::APIClient::Config->load();
+ my $list = [];
+ foreach my $name (keys %{$config->{ids}}) {
+ push @$list, $name if $name ne $defaults_section;
+ }
+ return $list;
+};
+
+PVE::APIClient::JSONSchema::register_standard_option('pveclient-output-format', {
+ type => 'string',
+ description => 'Output format.',
+ enum => [ 'text', 'json' ],
+ optional => 1,
+ default => 'text',
+});
+
+PVE::APIClient::JSONSchema::register_standard_option('pveclient-remote-name', {
+ description => "The name of the remote.",
+ type => 'string',
+ pattern => $remote_namne_regex,
+ completion => $complete_remote_name,
+});
+
+my $defaultData = {
+ propertyList => {
+ type => {
+ description => "Section type.",
+ optional => 1,
+ },
+ },
+};
+
+sub private {
+ return $defaultData;