-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Table: azure_automation_variable | ||
|
||
Variable assets are values that are available to all runbooks and DSC configurations in your Automation account. You can manage them from the Azure portal, from PowerShell, within a runbook, or in a DSC configuration. | ||
|
||
## Examples | ||
|
||
### Basic info | ||
|
||
```sql | ||
select | ||
id, | ||
name, | ||
account_name, | ||
type, | ||
is_encrypted, | ||
value | ||
from | ||
azure_automation_variable; | ||
``` | ||
|
||
### List variables that are unencrypted | ||
|
||
```sql | ||
select | ||
id, | ||
name, | ||
account_name, | ||
type, | ||
is_encrypted, | ||
value | ||
from | ||
azure_automation_variable | ||
where | ||
not is_encrypted; | ||
``` | ||
|
||
### List variables created in last 30 days | ||
|
||
```sql | ||
select | ||
id, | ||
name, | ||
account_name, | ||
creation_time, | ||
type, | ||
is_encrypted, | ||
value | ||
from | ||
azure_automation_variable | ||
where | ||
creation_time >= now() - interval '30' day; | ||
``` |