enhance gcp cloudsql mysql discovery
This commit is contained in:
parent
a9030f0420
commit
471b585db4
|
@ -56,6 +56,8 @@ sub run {
|
|||
next if ($instance->{databaseVersion} !~ /mysql/i);
|
||||
my $item = {};
|
||||
$item->{name} = $instance->{name};
|
||||
$item->{database_id} = $instance->{project} . ':' . $instance->{name};
|
||||
$item->{project} = $instance->{project};
|
||||
$item->{version} = $instance->{databaseVersion};
|
||||
$item->{state} = $instance->{state};
|
||||
$item->{region} = $instance->{region};
|
||||
|
|
Loading…
Reference in New Issue