BaseResourceConfig

BaseResourceConfig
BaseResourceConfig
JSON Example
{
    "instance_type": {
        "id": "string"
    },
    "persistent_disk": {
        "name": "string",
        "size_mb": "string"
    },
    "additional_vm_extensions": [
        "string"
    ],
    "additional_networks": [
        "string"
    ]
}
instances
Optional

The number of instances for the job or "automatic"

instance_type
Optional

instance_type

persistent_disk
Optional

persistent_disk

array of string
additional_vm_extensions
Optional

Additional VM extensions to apply on the job that you configured separately on the BOSH director.

array of string
additional_networks
Optional

Networks that allow the VMs of a specific instance group to be deployed on an additional set of networks

swap_as_percent_of_memory_size
Optional

An integer between 0 - 100, or "automatic". If you specify "automatic" or do not configure this setting, BOSH selects the swap partition size.

The integer you set specifies the size of the VM's swap partition as a percentage of the VM instance type's memory.

Example: If swap_as_percent_of_memory_size is 50 and your VM has 8 GB of memory, 4 GB of ephemeral disk will be allocated to the swap partition.

The swap partition will never exceed the size of the ephemeral disk. At least 2 GB of ephemeral disk is always reserved for core functionality.

Example: If swap_as_percent_of_memory_size is 100 and your VM has 8 GB of memory with 8 GB of ephemeral disk, 6 GB of ephemeral disk will be allocated to the swap partition.