-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add table azure_sql_database. closes #89 #93
Conversation
azure/plugin.go
Outdated
@@ -57,6 +57,7 @@ func Plugin(ctx context.Context) *plugin.Plugin { | |||
"azure_role_definition": tableAzureIamRoleDefinition(ctx), | |||
"azure_route_table": tableAzureRouteTable(ctx), | |||
"azure_sql_server": tableAzureSQLServer(ctx), | |||
"azure_sql_database": tableAzureSqlDatabase(ctx), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix indentation
azure/table_azure_sql_database.go
Outdated
return nil, nil | ||
} | ||
|
||
//// TRANSFORM FUNCTIONS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
//// TRANSFORM FUNCTIONS | |
//// TRANSFORM FUNCTION |
docs/tables/azure_sql_database.md
Outdated
@@ -0,0 +1,100 @@ | |||
# Table: azure_sql_database | |||
|
|||
An Azure SQL Database is an intelligent, scalable, relational database service built for the cloud. Optimise performance and durability with automated, AI-powered features that are always up to date. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An Azure SQL Database is an intelligent, scalable, relational database service built for the cloud. Optimise performance and durability with automated, AI-powered features that are always up to date. | |
An Azure SQL Database is an intelligent, scalable, relational database service built for the cloud. |
docs/tables/azure_sql_database.md
Outdated
``` | ||
|
||
|
||
### List databases which are online |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
### List databases which are online | |
### List databases which are not online |
docs/tables/azure_sql_database.md
Outdated
``` | ||
|
||
|
||
### List databases which are encrypted |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
### List databases which are encrypted | |
### List databases which are not encrypted |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
modify the queries accordingly
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Integration test logs
Logs
Example query results
Results
Basic info
List databases for a specific server
List databases having system edition
List databases which are not online
List databases which are not encrypted
List databases created before last 7 days