Skip to content

Commit

Permalink
tralala
Browse files Browse the repository at this point in the history
  • Loading branch information
alrayyes committed Dec 31, 2024
1 parent 19fcef1 commit 54688ca
Show file tree
Hide file tree
Showing 6 changed files with 737 additions and 4 deletions.
41 changes: 41 additions & 0 deletions docs/resources/ipmgmt_null_route.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "leaseweb_ipmgmt_null_route Resource - leaseweb"
subcategory: ""
description: |-
---

# leaseweb_ipmgmt_null_route (Resource)





<!-- schema generated by tfplugindocs -->
## Schema

### Optional

- `automatic_unnulling_at` (String) The date and time when the null route is to be deactivated. The date and time should be specified using the RFC3339 format (`yyyy-mm-ddThh:mm:ssZ`). If this field is not present then the null route will not be automatically removed
- `comment` (String) A comment to be stored with the null route (e.g. null route reason)
- `id` (String) IP address or IP address with prefixLength {ip}_{prefix}. If prefixLength is not given, then we assume 32 (for IPv4) or 128 (for IPv6). PrefixLength is mandatory for IP range, for example, the IPv6 address range with prefixLength = 112
- `ip` (String) IP address
- `ticket_id` (String) A reference to be stored with the null route

### Read-Only

- `assigned_contract` (Attributes) An explanation about the purpose of this instance (see [below for nested schema](#nestedatt--assigned_contract))
- `equipment_id` (String) ID of the equipment which was assigned to the IP at the time of null route creation
- `null_level` (Number) Null route permission level. If greater than 1 then the null route can only be removed by LeaseWeb
- `nulled_at` (String) Null route date
- `nulled_by` (String) Email address of the user who created the null route or 'LeaseWeb' if null route was created by LeaseWeb
- `unnulled_at` (String) The date and time when the null route has been removed. If null then the null route is still active
- `unnulled_by` (String) Email address of the user who removed the null route or 'LeaseWeb' if null route was removed by LeaseWeb

<a id="nestedatt--assigned_contract"></a>
### Nested Schema for `assigned_contract`

Read-Only:

- `id` (String) ID of the contract connected to the IP
4 changes: 0 additions & 4 deletions internal/provider/ipmgmt/ip_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,6 @@ func adaptIPToIPResourceModel(
}
}

type assignedContractResourceModel struct {
ID types.String `tfsdk:"id"`
}

type subnetResourceModel struct {
Gateway types.String `tfsdk:"gateway"`
ID types.String `tfsdk:"id"`
Expand Down
Loading

0 comments on commit 54688ca

Please sign in to comment.