2121
2222Application Options:
2323 --dry-run Dry run (no delete) [$DRYRUN]
24- --debug debug mode [$DEBUG ]
25- -v, --verbose verbose mode [$VERBOSE ]
24+ --log. debug debug mode [$LOG_DEBUG ]
25+ --log.devel development mode [$LOG_DEVEL ]
2626 --log.json Switch log output to json format [$LOG_JSON]
2727 --azure.environment= Azure environment name (default: AZUREPUBLICCLOUD) [$AZURE_ENVIRONMENT]
2828 --azure.subscription= Azure subscription ID (space delimiter) [$AZURE_SUBSCRIPTION_ID]
@@ -31,22 +31,19 @@ Application Options:
3131 --janitor.tag= Janitor azure tag (string) (default: ttl) [$JANITOR_TAG]
3232 --janitor.tag.target= Janitor azure tag (string) (default: ttl_expiry) [$JANITOR_TAG_TARGET]
3333 --janitor.resourcegroups Enable Azure ResourceGroups cleanup [$JANITOR_RESOURCEGROUPS_ENABLE]
34- --janitor.resourcegroups.filter= Additional $filter for Azure REST API for ResourceGroups
35- [$JANITOR_RESOURCEGROUPS_FILTER]
34+ --janitor.resourcegroups.filter= Additional $filter for Azure REST API for ResourceGroups [$JANITOR_RESOURCEGROUPS_FILTER]
3635 --janitor.resources Enable Azure Resources cleanup [$JANITOR_RESOURCES_ENABLE]
3736 --janitor.resources.filter= Additional $filter for Azure REST API for Resources [$JANITOR_RESOURCES_FILTER]
3837 --janitor.deployments Enable Azure Deployments cleanup [$JANITOR_DEPLOYMENTS_ENABLE]
39- --janitor.deployments.ttl= Janitor deployment ttl (time.duration) (default: 8760h)
40- [$JANITOR_DEPLOYMENTS_TTL]
41- --janitor.deployments.limit= Janitor deployment limit count (int) (default: 700)
42- [$JANITOR_DEPLOYMENTS_LIMIT]
38+ --janitor.deployments.ttl= Janitor deployment ttl (time.duration) (default: 8760h) [$JANITOR_DEPLOYMENTS_TTL]
39+ --janitor.deployments.limit= Janitor deployment limit count (int) (default: 700) [$JANITOR_DEPLOYMENTS_LIMIT]
4340 --janitor.roleassignments Enable Azure RoleAssignments cleanup [$JANITOR_ROLEASSIGNMENTS_ENABLE]
44- --janitor.roleassignments.ttl= Janitor roleassignment ttl (time.duration) (default: 6h)
45- [$JANITOR_ROLEASSIGNMENTS_TTL]
41+ --janitor.roleassignments.ttl= Janitor roleassignment ttl (time.duration) (default: 6h) [$JANITOR_ROLEASSIGNMENTS_TTL]
4642 --janitor.roleassignments.roledefinitionid= Janitor roledefinition ID (eg:
47- /subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx/providers/Microsoft.Authorizat-
48-
49- ion/roleDefinitions/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx) (space delimiter)
43+ /subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx/providers/Microsoft.Authorization/roleDef-
44+ initions/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx or
45+ /providers/Microsoft.Authorization/roleDefinitions/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx for
46+ subscription independent roleDefinitions) (space delimiter)
5047 [$JANITOR_ROLEASSIGNMENTS_ROLEDEFINITIONID]
5148 --janitor.roleassignments.filter= Additional $filter for Azure REST API for RoleAssignments
5249 [$JANITOR_ROLEASSIGNMENTS_FILTER]
0 commit comments