Skip to content

Latest commit

 

History

History
73 lines (52 loc) · 1.79 KB

File metadata and controls

73 lines (52 loc) · 1.79 KB
page_title subcategory description
anxcloud_vlan Resource - terraform-provider-anxcloud
The VLAN resource allows you to create and configure VLAN.

anxcloud_vlan (Resource)

The VLAN resource allows you to create and configure VLAN.

Example Usage

data "anxcloud_core_location" "anx04" {
  code = "ANX04"
}

resource "anxcloud_vlan" "example" {
  location_id     = data.anxcloud_core_location.anx04.id
  vm_provisioning = true
}

Schema

Required

  • location_id (String) ANX Location Identifier.

Optional

  • description_customer (String) Additional customer description.
  • tags (List of String) List of tags attached to the resource.
  • timeouts (Block, Optional) (see below for nested schema)
  • vm_provisioning (Boolean) True if VM provisioning shall be enabled. Defaults to false.

Read-Only

  • description_internal (String) Internal description.
  • id (String) The ID of this resource.
  • locations (List of Object) Anexia Cloud Locations. (see below for nested schema)
  • name (String) VLAN name.
  • role_text (String) Role of the VLAN.
  • status (String) VLAN status.

Nested Schema for timeouts

Optional:

  • create (String)
  • delete (String)
  • read (String)
  • update (String)

Nested Schema for locations

Read-Only:

  • city_code (String) Location city code.
  • code (String) Location code.
  • country (String) Location country.
  • identifier (String) Identifier of the API resource.
  • lat (String) Location latitude.
  • lon (String) Location longitude.
  • name (String) Location name.