mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-24 22:25:02 +02:00
add azure api options to azcli custommode (#1276)
This commit is contained in:
parent
412f0a19f5
commit
b93dec800b
@ -151,7 +151,6 @@ sub build_options_for_httplib {
|
|||||||
$self->{option_results}->{ssl_opt} = $self->{ssl_opt};
|
$self->{option_results}->{ssl_opt} = $self->{ssl_opt};
|
||||||
$self->{option_results}->{warning_status} = '';
|
$self->{option_results}->{warning_status} = '';
|
||||||
$self->{option_results}->{critical_status} = '';
|
$self->{option_results}->{critical_status} = '';
|
||||||
$self->{option_results}->{unknown_status} = '';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub settings {
|
sub settings {
|
||||||
|
@ -43,6 +43,9 @@ sub new {
|
|||||||
$options{options}->add_options(arguments =>
|
$options{options}->add_options(arguments =>
|
||||||
{
|
{
|
||||||
"subscription:s" => { name => 'subscription' },
|
"subscription:s" => { name => 'subscription' },
|
||||||
|
"tenant:s" => { name => 'tenant' },
|
||||||
|
"client-id:s" => { name => 'client_id' },
|
||||||
|
"client-secret:s" => { name => 'client_secret' },
|
||||||
"timeframe:s" => { name => 'timeframe' },
|
"timeframe:s" => { name => 'timeframe' },
|
||||||
"interval:s" => { name => 'interval' },
|
"interval:s" => { name => 'interval' },
|
||||||
"aggregation:s@" => { name => 'aggregation' },
|
"aggregation:s@" => { name => 'aggregation' },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user