mirror of
https://github.com/benclaussen/NetboxPS.git
synced 2025-12-15 18:55:46 +00:00
Address(IPAM): all integer are [int] (not uint16)
This commit is contained in:
parent
7a8bdff480
commit
71081fed7b
4 changed files with 11 additions and 11 deletions
|
|
@ -46,10 +46,10 @@ function Get-NetboxIPAMAvailableIP {
|
|||
[Parameter(Mandatory = $true,
|
||||
ValueFromPipelineByPropertyName = $true)]
|
||||
[Alias('Id')]
|
||||
[uint16]$Prefix_ID,
|
||||
[int]$Prefix_ID,
|
||||
|
||||
[Alias('NumberOfIPs')]
|
||||
[uint16]$Limit,
|
||||
[int]$Limit,
|
||||
|
||||
[switch]$Raw
|
||||
)
|
||||
|
|
|
|||
|
|
@ -74,17 +74,17 @@ function New-NetboxIPAMAddress {
|
|||
|
||||
[object]$Status = 'Active',
|
||||
|
||||
[uint16]$Tenant,
|
||||
[int]$Tenant,
|
||||
|
||||
[uint16]$VRF,
|
||||
[int]$VRF,
|
||||
|
||||
[object]$Role,
|
||||
|
||||
[uint16]$NAT_Inside,
|
||||
[int]$NAT_Inside,
|
||||
|
||||
[hashtable]$Custom_Fields,
|
||||
|
||||
[uint16]$Interface,
|
||||
[int]$Interface,
|
||||
|
||||
[string]$Description,
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ function Remove-NetboxIPAMAddress {
|
|||
(
|
||||
[Parameter(Mandatory = $true,
|
||||
ValueFromPipelineByPropertyName = $true)]
|
||||
[uint16[]]$Id,
|
||||
[int[]]$Id,
|
||||
|
||||
[switch]$Force
|
||||
)
|
||||
|
|
|
|||
|
|
@ -19,19 +19,19 @@ function Set-NetboxIPAMAddress {
|
|||
(
|
||||
[Parameter(Mandatory = $true,
|
||||
ValueFromPipelineByPropertyName = $true)]
|
||||
[uint16[]]$Id,
|
||||
[int[]]$Id,
|
||||
|
||||
[string]$Address,
|
||||
|
||||
[string]$Status,
|
||||
|
||||
[uint16]$Tenant,
|
||||
[int]$Tenant,
|
||||
|
||||
[uint16]$VRF,
|
||||
[int]$VRF,
|
||||
|
||||
[object]$Role,
|
||||
|
||||
[uint16]$NAT_Inside,
|
||||
[int]$NAT_Inside,
|
||||
|
||||
[hashtable]$Custom_Fields,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue