-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
95 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# netbox\_dcim\_platform Data Source | ||
|
||
Get info about dcim platform from netbox. | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
data "netbox_dcim_platform" "platform_test" { | ||
slug = "TestPlatform" | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
The following arguments are supported: | ||
* ``slug`` - (Required) The slug of the dcim platform. | ||
|
||
## Attributes Reference | ||
|
||
In addition to the above arguments, the following attributes are exported: | ||
* ``id`` - The id (ref in Netbox) of this object. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# netbox\_virtualization\_cluster Data Source | ||
|
||
Get info about vitualization cluster from netbox. | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
data "netbox_virtualization_cluster" "cluster_test" { | ||
name = "TestCluster" | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
The following arguments are supported: | ||
* ``name`` - (Required) The name of the cluster. | ||
|
||
## Attributes Reference | ||
|
||
In addition to the above arguments, the following attributes are exported: | ||
* ``id`` - The id (ref in Netbox) of this object. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# netbox\_ipam\_prefix Resource | ||
|
||
Manages a prefix within Netbox. | ||
Manage a prefix within Netbox. | ||
|
||
## Example Usage | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# netbox\_ipam\_vlan Resource | ||
|
||
Manages a vlan within Netbox. | ||
Manage a vlan within Netbox. | ||
|
||
## Example Usage | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# netbox\_virtualization\_interface Resource | ||
|
||
Manage an interface resource within Netbox. | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
resource "netbox_virtualization_interface" "interface_test" { | ||
name = "default" | ||
virtualmachine_id = netbox_virtualization_vm.vm_test.id | ||
mac_address = "AA:AA:AA:AA:AA:AA" | ||
mtu = 1500 | ||
description = "Interface de test" | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
The following arguments are supported: | ||
* ``description`` - (Optional) Description for this object. | ||
* ``enabled`` - (Optional) true or false (true by default). | ||
* ``mac_address`` - (Optional) Mac address for this object. | ||
* ``mode`` - (Optional) The mode among access, tagged, tagged-all. | ||
* ``mtu`` - (Optional) The MTU between 1 and 65536 for this object. | ||
* ``name`` - (Required) The name for this object. | ||
* ``tagged_vlans`` - (Optional) List of vlan id tagged for this interface | ||
* ``untagged_vlans`` - (Optional) Vlan id untagged for this interface | ||
* ``virtualmachine_id`` - (Required) ID of the virtual machine where this object | ||
is attached | ||
The ``tag`` block supports: | ||
* ``name`` - (Required) Name of the existing tag to associate with this resource. | ||
* ``slug`` - (Required) Slug of the existing tag to associate with this resource. | ||
|
||
## Attributes Reference | ||
|
||
In addition to the above arguments, the following attributes are exported: | ||
* ``id`` - The id (ref in Netbox) of this object. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters