{
    "$schema": "http://json-schema.org/schema",
    "cli": "nx",
    "$id": "AddProjectEnvironment",
    "title": "",
    "type": "object",
    "properties": {
        "environmentName": {
            "type": "string",
            "description": "The name of the environment to add firewall exceptions.",
            "alias": "e",
            "x-prompt": "What is the name of the environment you want to add firewall exceptions for?"
        },
        "project": {
            "type": "string",
            "description": "The name of the project the environment is associated with, used for project specific environments."
        },
        "addIpToDefaultKeyVault": {
            "type": "boolean",
            "description": "Adds a firewall exception for the current ip to the environment keyvault",
            "default": true
        },
        "addIpToDefaultStorage": {
            "type": "boolean",
            "description": "Adds a firewall exception for the current ip to the environment keyvault",
            "default": true
        },
        "addIpToKeyVaults": {
            "type": "array",
            "items": {
                "type": "string"
            },
            "description": "Adds a firewall exception for the current ip to specified keyvaults. Specify as a semicolon-delimited list of resource names, e.g. 'ark-dev-akv-system1;ark-dev-akv-system2'."
        },
        "addIpToStorage": {
            "type": "array",
            "items": {
                "type": "string"
            },
            "description": "Adds a firewall exception for the current ip to specified storage accounts. Specify as a semicolon-delimited list of resource names, e.g. 'arkdevsta001;arkdevsta001'."
        },
        "firewallRetryAttempts": {
            "type": "integer",
            "description": "Number of times to retry adding the firewall exception for the current ip to the environment keyvault",
            "default": 12
        },
        "firewallRetryDelay": {
            "type": "integer",
            "description": "Delay in seconds between firewall retry attempts",
            "default": 5
        }
    },
    "required": [
        "environmentName"
    ]
}