mirror of
https://github.com/benclaussen/NetboxPS.git
synced 2025-12-15 18:55:46 +00:00
IPAMAddress(New): Add Validate for Assigned Object Type
Can be only dcim.interface or virtualization.vminterface
This commit is contained in:
parent
a610ed6b9f
commit
70b01257de
1 changed files with 1 additions and 0 deletions
|
|
@ -96,6 +96,7 @@ function New-NetboxIPAMAddress {
|
|||
|
||||
[string]$Dns_name,
|
||||
|
||||
[ValidateSet('dcim.interface', 'virtualization.vminterface', IgnoreCase = $true)]
|
||||
[string]$Assigned_Object_Type,
|
||||
|
||||
[int]$Assigned_Object_Id,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue