azurerm_databox_edge_order

Manages a Databox Edge Order.

Example Usage

resource "azurerm_resource_group" "example" {
  name     = "example-databoxedge"
  location = "West Europe"
}

resource "azurerm_databox_edge_device" "example" {
  name                = "example-device"
  resource_group_name = azurerm_resource_group.example.name
  location            = azurerm_resource_group.example.location

  sku_name = "EdgeP_Base-Standard"
}

resource "azurerm_databox_edge_order" "example" {
  resource_group_name = azurerm_resource_group.example.name
  device_name         = azurerm_databox_edge_device.example.name

  contact {
    name         = "TerraForm Test"
    emails       = ["creator4983@FlynnsArcade.com"]
    company_name = "Flynn's Arcade"
    phone_number = "(800) 555-1234"
  }

  shipment_address {
    address     = ["One Microsoft Way"]
    city        = "Redmond"
    postal_code = "98052"
    state       = "WA"
    country     = "United States"
  }
}

Arguments Reference

The following arguments are supported:


An contact block includes the following:


An shipment_address block includes the following:

Attributes Reference

In addition to the Arguments listed above - the following Attributes are exported:


A shipment_tracking block exports the following:


A status block exports the following:


A shipment_history block exports the following:


A return_tracking block exports the following:

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

Import

Databox Edge Orders can be imported using the resource id, e.g.

terraform import azurerm_databox_edge_order.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/device1