add azure api options to azcli custommode (#1276)

This commit is contained in:
Colin Gagnaire 2018-12-14 10:41:39 +01:00 committed by GitHub
parent 412f0a19f5
commit b93dec800b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -151,7 +151,6 @@ sub build_options_for_httplib {
$self->{option_results}->{ssl_opt} = $self->{ssl_opt};
$self->{option_results}->{warning_status} = '';
$self->{option_results}->{critical_status} = '';
$self->{option_results}->{unknown_status} = '';
}
sub settings {

View File

@ -43,6 +43,9 @@ sub new {
$options{options}->add_options(arguments =>
{
"subscription:s" => { name => 'subscription' },
"tenant:s" => { name => 'tenant' },
"client-id:s" => { name => 'client_id' },
"client-secret:s" => { name => 'client_secret' },
"timeframe:s" => { name => 'timeframe' },
"interval:s" => { name => 'interval' },
"aggregation:s@" => { name => 'aggregation' },