ResourceConfig

ResourceConfig
ResourceConfig
JSON Example
{
    "instance_type": {
        "id": "string"
    },
    "persistent_disk": {
        "name": "string",
        "size_mb": "string"
    },
    "additional_vm_extensions": [
        "string"
    ],
    "additional_networks": [
        {
            "guid": "string"
        }
    ],
    "internet_connected": false,
    "elb_names": [
        "string"
    ],
    "nsxt": {
        "ns_groups": [
            "string"
        ],
        "vif_type": "string",
        "lb": {
            "server_pools": [
                {
                    "name": "string",
                    "port": "number"
                }
            ]
        }
    },
    "avi": {
        "pools": [
            "string"
        ]
    },
    "floating_ips": "string"
}
instances
Required

The number of instances for the job or "automatic"

instance_type
Required

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 object
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.

boolean
internet_connected
Optional

AWS, GCP, and Azure only. True if VM should be given an IP accessible on the public internet

array of string
elb_names
Optional

AWS, GCP, and Azure only. An array of elb names prefixed with the LB type.

  • AWS - To specify an Application Load Balancer prefix the Application Load Balancer's target group name with alb:. Ex. ['alb:alb-target-group-name']
  • Azure - Max 1 entry. To specify an Azure Application Gateway prefix the Application Gateway name with agw:.
  • GCP - prefixed witheither tcp: or http:. Can not contain duplicate tcp or http load balancers.
nsxt
Optional

nsxt

avi
Optional

avi

string
floating_ips
Optional

Openstack only. An IP range for floating ips