Skip to content

Commit

Permalink
Added the doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ParthaI committed Feb 21, 2023
1 parent dc295b1 commit 5dcb041
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions docs/tables/azure_automation_variable.md
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;
```

0 comments on commit 5dcb041

Please sign in to comment.