diff --git a/README.md b/README.md index 4922f8e..2e7dc4e 100644 --- a/README.md +++ b/README.md @@ -21,8 +21,8 @@ Usage: Application Options: --dry-run Dry run (no delete) [$DRYRUN] - --debug debug mode [$DEBUG] - -v, --verbose verbose mode [$VERBOSE] + --log.debug debug mode [$LOG_DEBUG] + --log.devel development mode [$LOG_DEVEL] --log.json Switch log output to json format [$LOG_JSON] --azure.environment= Azure environment name (default: AZUREPUBLICCLOUD) [$AZURE_ENVIRONMENT] --azure.subscription= Azure subscription ID (space delimiter) [$AZURE_SUBSCRIPTION_ID] @@ -31,22 +31,19 @@ Application Options: --janitor.tag= Janitor azure tag (string) (default: ttl) [$JANITOR_TAG] --janitor.tag.target= Janitor azure tag (string) (default: ttl_expiry) [$JANITOR_TAG_TARGET] --janitor.resourcegroups Enable Azure ResourceGroups cleanup [$JANITOR_RESOURCEGROUPS_ENABLE] - --janitor.resourcegroups.filter= Additional $filter for Azure REST API for ResourceGroups - [$JANITOR_RESOURCEGROUPS_FILTER] + --janitor.resourcegroups.filter= Additional $filter for Azure REST API for ResourceGroups [$JANITOR_RESOURCEGROUPS_FILTER] --janitor.resources Enable Azure Resources cleanup [$JANITOR_RESOURCES_ENABLE] --janitor.resources.filter= Additional $filter for Azure REST API for Resources [$JANITOR_RESOURCES_FILTER] --janitor.deployments Enable Azure Deployments cleanup [$JANITOR_DEPLOYMENTS_ENABLE] - --janitor.deployments.ttl= Janitor deployment ttl (time.duration) (default: 8760h) - [$JANITOR_DEPLOYMENTS_TTL] - --janitor.deployments.limit= Janitor deployment limit count (int) (default: 700) - [$JANITOR_DEPLOYMENTS_LIMIT] + --janitor.deployments.ttl= Janitor deployment ttl (time.duration) (default: 8760h) [$JANITOR_DEPLOYMENTS_TTL] + --janitor.deployments.limit= Janitor deployment limit count (int) (default: 700) [$JANITOR_DEPLOYMENTS_LIMIT] --janitor.roleassignments Enable Azure RoleAssignments cleanup [$JANITOR_ROLEASSIGNMENTS_ENABLE] - --janitor.roleassignments.ttl= Janitor roleassignment ttl (time.duration) (default: 6h) - [$JANITOR_ROLEASSIGNMENTS_TTL] + --janitor.roleassignments.ttl= Janitor roleassignment ttl (time.duration) (default: 6h) [$JANITOR_ROLEASSIGNMENTS_TTL] --janitor.roleassignments.roledefinitionid= Janitor roledefinition ID (eg: - /subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx/providers/Microsoft.Authorizat- - - ion/roleDefinitions/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx) (space delimiter) + /subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx/providers/Microsoft.Authorization/roleDef- + initions/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx or + /providers/Microsoft.Authorization/roleDefinitions/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx for + subscription independent roleDefinitions) (space delimiter) [$JANITOR_ROLEASSIGNMENTS_ROLEDEFINITIONID] --janitor.roleassignments.filter= Additional $filter for Azure REST API for RoleAssignments [$JANITOR_ROLEASSIGNMENTS_FILTER]