Merge branch 'master' of https://github.com/centreon/centreon-plugins
This commit is contained in:
commit
abb79b7210
|
@ -33,6 +33,7 @@ sub new {
|
|||
%{$self->{modes}} = (
|
||||
'discovery' => 'cloud::azure::management::monitor::mode::discovery',
|
||||
'get-metrics' => 'cloud::azure::management::monitor::mode::getmetrics',
|
||||
'health' => 'cloud::azure::management::monitor::mode::health',
|
||||
);
|
||||
|
||||
$self->{custom_modes}{azcli} = 'cloud::azure::custom::azcli';
|
||||
|
@ -43,8 +44,7 @@ sub new {
|
|||
sub init {
|
||||
my ($self, %options) = @_;
|
||||
|
||||
$self->{options}->add_options(arguments =>
|
||||
{
|
||||
$self->{options}->add_options(arguments => {
|
||||
'api-version:s' => { name => 'api_version', default => '2018-01-01' },
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue