1. Registry
  2. Packages
  3. Netbox Provider
  4. API Docs
  5. VirtualMachineType
Viewing docs for netbox 6.0.1
published on Monday, Nov 16, 2026 by e-breuninger
netbox
Viewing docs for netbox 6.0.1
published on Monday, Nov 16, 2026 by e-breuninger

    A NetBox virtual machine type (virtualization.virtualmachinetype): a reusable sizing template for virtual machines.

    From the official documentation:

    A virtual machine type defines a reusable classification and default configuration for virtual machines.

    A type can optionally provide default values for a VM’s platform, vCPU allocation, and memory allocation. When a virtual machine is created with an assigned type, any unset values among these fields will inherit their defaults from the type. Changes made to a virtual machine type do not apply retroactively to existing virtual machines.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as netbox from "@pulumi/netbox";
    
    const test = new netbox.Platform("test", {name: "test-platform"});
    const testVirtualMachineType = new netbox.VirtualMachineType("test", {
        name: "test-virtual-machine-type",
        slug: "test-virtual-machine-type",
        defaultPlatformId: test.platformId,
        defaultVcpus: 4,
        defaultMemory: 8192,
        description: "test-description",
    });
    
    import pulumi
    import pulumi_netbox as netbox
    
    test = netbox.Platform("test", name="test-platform")
    test_virtual_machine_type = netbox.VirtualMachineType("test",
        name="test-virtual-machine-type",
        slug="test-virtual-machine-type",
        default_platform_id=test.platform_id,
        default_vcpus=4,
        default_memory=8192,
        description="test-description")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/netbox/v6/netbox"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		test, err := netbox.NewPlatform(ctx, "test", &netbox.PlatformArgs{
    			Name: pulumi.String("test-platform"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = netbox.NewVirtualMachineType(ctx, "test", &netbox.VirtualMachineTypeArgs{
    			Name:              pulumi.String("test-virtual-machine-type"),
    			Slug:              pulumi.String("test-virtual-machine-type"),
    			DefaultPlatformId: test.PlatformId,
    			DefaultVcpus:      pulumi.Float64(4),
    			DefaultMemory:     pulumi.Float64(8192),
    			Description:       pulumi.String("test-description"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Netbox = Pulumi.Netbox;
    
    return await Deployment.RunAsync(() => 
    {
        var test = new Netbox.Platform("test", new()
        {
            Name = "test-platform",
        });
    
        var testVirtualMachineType = new Netbox.VirtualMachineType("test", new()
        {
            Name = "test-virtual-machine-type",
            Slug = "test-virtual-machine-type",
            DefaultPlatformId = test.PlatformId,
            DefaultVcpus = 4,
            DefaultMemory = 8192,
            Description = "test-description",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.netbox.Platform;
    import com.pulumi.netbox.PlatformArgs;
    import com.pulumi.netbox.VirtualMachineType;
    import com.pulumi.netbox.VirtualMachineTypeArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var test = new Platform("test", PlatformArgs.builder()
                .name("test-platform")
                .build());
    
            var testVirtualMachineType = new VirtualMachineType("testVirtualMachineType", VirtualMachineTypeArgs.builder()
                .name("test-virtual-machine-type")
                .slug("test-virtual-machine-type")
                .defaultPlatformId(test.platformId())
                .defaultVcpus(4.0)
                .defaultMemory(8192.0)
                .description("test-description")
                .build());
    
        }
    }
    
    resources:
      test:
        type: netbox:Platform
        properties:
          name: test-platform
      testVirtualMachineType:
        type: netbox:VirtualMachineType
        name: test
        properties:
          name: test-virtual-machine-type
          slug: test-virtual-machine-type
          defaultPlatformId: ${test.platformId}
          defaultVcpus: 4
          defaultMemory: 8192
          description: test-description
    
    Example coming soon!
    

    Create VirtualMachineType Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new VirtualMachineType(name: string, args?: VirtualMachineTypeArgs, opts?: CustomResourceOptions);
    @overload
    def VirtualMachineType(resource_name: str,
                           args: Optional[VirtualMachineTypeArgs] = None,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def VirtualMachineType(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           comments: Optional[str] = None,
                           custom_fields: Optional[Mapping[str, str]] = None,
                           default_memory: Optional[float] = None,
                           default_platform_id: Optional[float] = None,
                           default_vcpus: Optional[float] = None,
                           description: Optional[str] = None,
                           name: Optional[str] = None,
                           owner_id: Optional[float] = None,
                           slug: Optional[str] = None,
                           tags: Optional[Sequence[str]] = None)
    func NewVirtualMachineType(ctx *Context, name string, args *VirtualMachineTypeArgs, opts ...ResourceOption) (*VirtualMachineType, error)
    public VirtualMachineType(string name, VirtualMachineTypeArgs? args = null, CustomResourceOptions? opts = null)
    public VirtualMachineType(String name, VirtualMachineTypeArgs args)
    public VirtualMachineType(String name, VirtualMachineTypeArgs args, CustomResourceOptions options)
    
    type: netbox:VirtualMachineType
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "netbox_virtual_machine_type" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args VirtualMachineTypeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args VirtualMachineTypeArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args VirtualMachineTypeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VirtualMachineTypeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VirtualMachineTypeArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var virtualMachineTypeResource = new Netbox.VirtualMachineType("virtualMachineTypeResource", new()
    {
        Comments = "string",
        CustomFields = 
        {
            { "string", "string" },
        },
        DefaultMemory = 0.0,
        DefaultPlatformId = 0.0,
        DefaultVcpus = 0.0,
        Description = "string",
        Name = "string",
        OwnerId = 0.0,
        Slug = "string",
        Tags = new[]
        {
            "string",
        },
    });
    
    example, err := netbox.NewVirtualMachineType(ctx, "virtualMachineTypeResource", &netbox.VirtualMachineTypeArgs{
    	Comments: pulumi.String("string"),
    	CustomFields: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	DefaultMemory:     pulumi.Float64(0),
    	DefaultPlatformId: pulumi.Float64(0),
    	DefaultVcpus:      pulumi.Float64(0),
    	Description:       pulumi.String("string"),
    	Name:              pulumi.String("string"),
    	OwnerId:           pulumi.Float64(0),
    	Slug:              pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    resource "netbox_virtual_machine_type" "virtualMachineTypeResource" {
      lifecycle {
        create_before_destroy = true
      }
      comments = "string"
      custom_fields = {
        "string" = "string"
      }
      default_memory      = 0
      default_platform_id = 0
      default_vcpus       = 0
      description         = "string"
      name                = "string"
      owner_id            = 0
      slug                = "string"
      tags                = ["string"]
    }
    
    var virtualMachineTypeResource = new VirtualMachineType("virtualMachineTypeResource", VirtualMachineTypeArgs.builder()
        .comments("string")
        .customFields(Map.of("string", "string"))
        .defaultMemory(0.0)
        .defaultPlatformId(0.0)
        .defaultVcpus(0.0)
        .description("string")
        .name("string")
        .ownerId(0.0)
        .slug("string")
        .tags("string")
        .build());
    
    virtual_machine_type_resource = netbox.VirtualMachineType("virtualMachineTypeResource",
        comments="string",
        custom_fields={
            "string": "string",
        },
        default_memory=float(0),
        default_platform_id=float(0),
        default_vcpus=float(0),
        description="string",
        name="string",
        owner_id=float(0),
        slug="string",
        tags=["string"])
    
    const virtualMachineTypeResource = new netbox.VirtualMachineType("virtualMachineTypeResource", {
        comments: "string",
        customFields: {
            string: "string",
        },
        defaultMemory: 0,
        defaultPlatformId: 0,
        defaultVcpus: 0,
        description: "string",
        name: "string",
        ownerId: 0,
        slug: "string",
        tags: ["string"],
    });
    
    type: netbox:VirtualMachineType
    properties:
        comments: string
        customFields:
            string: string
        defaultMemory: 0
        defaultPlatformId: 0
        defaultVcpus: 0
        description: string
        name: string
        ownerId: 0
        slug: string
        tags:
            - string
    

    VirtualMachineType Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The VirtualMachineType resource accepts the following input properties:

    Comments string
    CustomFields Dictionary<string, string>
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    DefaultMemory double
    Default memory in megabytes. Must be a whole number.
    DefaultPlatformId double
    Id of the platform virtual machines of this type default to.
    DefaultVcpus double
    Default number of virtual CPUs.
    Description string
    Name string
    OwnerId double
    Id of the owner the object is assigned to.
    Slug string
    URL-friendly unique shorthand; derived from name when not set.
    Tags List<string>
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    Comments string
    CustomFields map[string]string
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    DefaultMemory float64
    Default memory in megabytes. Must be a whole number.
    DefaultPlatformId float64
    Id of the platform virtual machines of this type default to.
    DefaultVcpus float64
    Default number of virtual CPUs.
    Description string
    Name string
    OwnerId float64
    Id of the owner the object is assigned to.
    Slug string
    URL-friendly unique shorthand; derived from name when not set.
    Tags []string
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    comments string
    custom_fields map(string)
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    default_memory number
    Default memory in megabytes. Must be a whole number.
    default_platform_id number
    Id of the platform virtual machines of this type default to.
    default_vcpus number
    Default number of virtual CPUs.
    description string
    name string
    owner_id number
    Id of the owner the object is assigned to.
    slug string
    URL-friendly unique shorthand; derived from name when not set.
    tags list(string)
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    comments String
    customFields Map<String,String>
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    defaultMemory Double
    Default memory in megabytes. Must be a whole number.
    defaultPlatformId Double
    Id of the platform virtual machines of this type default to.
    defaultVcpus Double
    Default number of virtual CPUs.
    description String
    name String
    ownerId Double
    Id of the owner the object is assigned to.
    slug String
    URL-friendly unique shorthand; derived from name when not set.
    tags List<String>
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    comments string
    customFields {[key: string]: string}
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    defaultMemory number
    Default memory in megabytes. Must be a whole number.
    defaultPlatformId number
    Id of the platform virtual machines of this type default to.
    defaultVcpus number
    Default number of virtual CPUs.
    description string
    name string
    ownerId number
    Id of the owner the object is assigned to.
    slug string
    URL-friendly unique shorthand; derived from name when not set.
    tags string[]
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    comments str
    custom_fields Mapping[str, str]
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    default_memory float
    Default memory in megabytes. Must be a whole number.
    default_platform_id float
    Id of the platform virtual machines of this type default to.
    default_vcpus float
    Default number of virtual CPUs.
    description str
    name str
    owner_id float
    Id of the owner the object is assigned to.
    slug str
    URL-friendly unique shorthand; derived from name when not set.
    tags Sequence[str]
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    comments String
    customFields Map<String>
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    defaultMemory Number
    Default memory in megabytes. Must be a whole number.
    defaultPlatformId Number
    Id of the platform virtual machines of this type default to.
    defaultVcpus Number
    Default number of virtual CPUs.
    description String
    name String
    ownerId Number
    Id of the owner the object is assigned to.
    slug String
    URL-friendly unique shorthand; derived from name when not set.
    tags List<String>
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).

    Outputs

    All input properties are implicitly available as output properties. Additionally, the VirtualMachineType resource produces the following output properties:

    Created string
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdated string
    TagsAlls List<string>
    Slugs of all tags on the object, including the provider's default_tags.
    Url string
    VirtualMachineCount double
    Number of virtual machines of the type.
    VirtualMachineTypeId double
    NetBox id.
    Created string
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdated string
    TagsAlls []string
    Slugs of all tags on the object, including the provider's default_tags.
    Url string
    VirtualMachineCount float64
    Number of virtual machines of the type.
    VirtualMachineTypeId float64
    NetBox id.
    created string
    id string
    The provider-assigned unique ID for this managed resource.
    last_updated string
    tags_alls list(string)
    Slugs of all tags on the object, including the provider's default_tags.
    url string
    virtual_machine_count number
    Number of virtual machines of the type.
    virtual_machine_type_id number
    NetBox id.
    created String
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdated String
    tagsAlls List<String>
    Slugs of all tags on the object, including the provider's default_tags.
    url String
    virtualMachineCount Double
    Number of virtual machines of the type.
    virtualMachineTypeId Double
    NetBox id.
    created string
    id string
    The provider-assigned unique ID for this managed resource.
    lastUpdated string
    tagsAlls string[]
    Slugs of all tags on the object, including the provider's default_tags.
    url string
    virtualMachineCount number
    Number of virtual machines of the type.
    virtualMachineTypeId number
    NetBox id.
    created str
    id str
    The provider-assigned unique ID for this managed resource.
    last_updated str
    tags_alls Sequence[str]
    Slugs of all tags on the object, including the provider's default_tags.
    url str
    virtual_machine_count float
    Number of virtual machines of the type.
    virtual_machine_type_id float
    NetBox id.
    created String
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdated String
    tagsAlls List<String>
    Slugs of all tags on the object, including the provider's default_tags.
    url String
    virtualMachineCount Number
    Number of virtual machines of the type.
    virtualMachineTypeId Number
    NetBox id.

    Look up Existing VirtualMachineType Resource

    Get an existing VirtualMachineType resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: VirtualMachineTypeState, opts?: CustomResourceOptions): VirtualMachineType
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            comments: Optional[str] = None,
            created: Optional[str] = None,
            custom_fields: Optional[Mapping[str, str]] = None,
            default_memory: Optional[float] = None,
            default_platform_id: Optional[float] = None,
            default_vcpus: Optional[float] = None,
            description: Optional[str] = None,
            last_updated: Optional[str] = None,
            name: Optional[str] = None,
            owner_id: Optional[float] = None,
            slug: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            tags_alls: Optional[Sequence[str]] = None,
            url: Optional[str] = None,
            virtual_machine_count: Optional[float] = None,
            virtual_machine_type_id: Optional[float] = None) -> VirtualMachineType
    func GetVirtualMachineType(ctx *Context, name string, id IDInput, state *VirtualMachineTypeState, opts ...ResourceOption) (*VirtualMachineType, error)
    public static VirtualMachineType Get(string name, Input<string> id, VirtualMachineTypeState? state, CustomResourceOptions? opts = null)
    public static VirtualMachineType get(String name, Output<String> id, VirtualMachineTypeState state, CustomResourceOptions options)
    resources:  existingVirtualMachineType:    type: netbox:VirtualMachineType    get:      id: ${id}
    import {
      to = netbox_virtual_machine_type.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    state VirtualMachineTypeState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state VirtualMachineTypeState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    state VirtualMachineTypeState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    state VirtualMachineTypeState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    options CustomResourceOptions
    Bag of options to control resource's behavior.
    The following state arguments are supported:
    Comments string
    Created string
    CustomFields Dictionary<string, string>
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    DefaultMemory double
    Default memory in megabytes. Must be a whole number.
    DefaultPlatformId double
    Id of the platform virtual machines of this type default to.
    DefaultVcpus double
    Default number of virtual CPUs.
    Description string
    LastUpdated string
    Name string
    OwnerId double
    Id of the owner the object is assigned to.
    Slug string
    URL-friendly unique shorthand; derived from name when not set.
    Tags List<string>
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    TagsAlls List<string>
    Slugs of all tags on the object, including the provider's default_tags.
    Url string
    VirtualMachineCount double
    Number of virtual machines of the type.
    VirtualMachineTypeId double
    NetBox id.
    Comments string
    Created string
    CustomFields map[string]string
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    DefaultMemory float64
    Default memory in megabytes. Must be a whole number.
    DefaultPlatformId float64
    Id of the platform virtual machines of this type default to.
    DefaultVcpus float64
    Default number of virtual CPUs.
    Description string
    LastUpdated string
    Name string
    OwnerId float64
    Id of the owner the object is assigned to.
    Slug string
    URL-friendly unique shorthand; derived from name when not set.
    Tags []string
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    TagsAlls []string
    Slugs of all tags on the object, including the provider's default_tags.
    Url string
    VirtualMachineCount float64
    Number of virtual machines of the type.
    VirtualMachineTypeId float64
    NetBox id.
    comments string
    created string
    custom_fields map(string)
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    default_memory number
    Default memory in megabytes. Must be a whole number.
    default_platform_id number
    Id of the platform virtual machines of this type default to.
    default_vcpus number
    Default number of virtual CPUs.
    description string
    last_updated string
    name string
    owner_id number
    Id of the owner the object is assigned to.
    slug string
    URL-friendly unique shorthand; derived from name when not set.
    tags list(string)
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tags_alls list(string)
    Slugs of all tags on the object, including the provider's default_tags.
    url string
    virtual_machine_count number
    Number of virtual machines of the type.
    virtual_machine_type_id number
    NetBox id.
    comments String
    created String
    customFields Map<String,String>
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    defaultMemory Double
    Default memory in megabytes. Must be a whole number.
    defaultPlatformId Double
    Id of the platform virtual machines of this type default to.
    defaultVcpus Double
    Default number of virtual CPUs.
    description String
    lastUpdated String
    name String
    ownerId Double
    Id of the owner the object is assigned to.
    slug String
    URL-friendly unique shorthand; derived from name when not set.
    tags List<String>
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tagsAlls List<String>
    Slugs of all tags on the object, including the provider's default_tags.
    url String
    virtualMachineCount Double
    Number of virtual machines of the type.
    virtualMachineTypeId Double
    NetBox id.
    comments string
    created string
    customFields {[key: string]: string}
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    defaultMemory number
    Default memory in megabytes. Must be a whole number.
    defaultPlatformId number
    Id of the platform virtual machines of this type default to.
    defaultVcpus number
    Default number of virtual CPUs.
    description string
    lastUpdated string
    name string
    ownerId number
    Id of the owner the object is assigned to.
    slug string
    URL-friendly unique shorthand; derived from name when not set.
    tags string[]
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tagsAlls string[]
    Slugs of all tags on the object, including the provider's default_tags.
    url string
    virtualMachineCount number
    Number of virtual machines of the type.
    virtualMachineTypeId number
    NetBox id.
    comments str
    created str
    custom_fields Mapping[str, str]
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    default_memory float
    Default memory in megabytes. Must be a whole number.
    default_platform_id float
    Id of the platform virtual machines of this type default to.
    default_vcpus float
    Default number of virtual CPUs.
    description str
    last_updated str
    name str
    owner_id float
    Id of the owner the object is assigned to.
    slug str
    URL-friendly unique shorthand; derived from name when not set.
    tags Sequence[str]
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tags_alls Sequence[str]
    Slugs of all tags on the object, including the provider's default_tags.
    url str
    virtual_machine_count float
    Number of virtual machines of the type.
    virtual_machine_type_id float
    NetBox id.
    comments String
    created String
    customFields Map<String>
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    defaultMemory Number
    Default memory in megabytes. Must be a whole number.
    defaultPlatformId Number
    Id of the platform virtual machines of this type default to.
    defaultVcpus Number
    Default number of virtual CPUs.
    description String
    lastUpdated String
    name String
    ownerId Number
    Id of the owner the object is assigned to.
    slug String
    URL-friendly unique shorthand; derived from name when not set.
    tags List<String>
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tagsAlls List<String>
    Slugs of all tags on the object, including the provider's default_tags.
    url String
    virtualMachineCount Number
    Number of virtual machines of the type.
    virtualMachineTypeId Number
    NetBox id.

    Import

    In Terraform v1.5.0 and later, the import block can be used with the id attribute, for example:

    terraform

    import {

    to = netbox_virtual_machine_type.test

    id = “123”

    }

    The pulumi import command can be used, for example:

    $ pulumi import netbox:index/virtualMachineType:VirtualMachineType test 123
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    netbox e-breuninger/terraform-provider-netbox
    License
    Notes
    This Pulumi package is based on the netbox Terraform Provider.
    netbox
    Viewing docs for netbox 6.0.1
    published on Monday, Nov 16, 2026 by e-breuninger

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial