More uint64 updates for #49

This commit is contained in:
Ben Claussen 2023-07-28 16:17:23 -04:00
parent 914b245f24
commit 080d655f8d
45 changed files with 91 additions and 91 deletions

View file

@ -23,16 +23,16 @@ function Get-NetboxCircuit {
A raw search query... As if you were searching the web site A raw search query... As if you were searching the web site
.PARAMETER Provider .PARAMETER Provider
The name or ID of the provider. Provide either [string] or [int]. String will search provider names, integer will search database IDs The name or ID of the provider. Provide either [string] or [uint64]. String will search provider names, integer will search database IDs
.PARAMETER Type .PARAMETER Type
Type of circuit. Provide either [string] or [int]. String will search provider type names, integer will search database IDs Type of circuit. Provide either [string] or [uint64]. String will search provider type names, integer will search database IDs
.PARAMETER Site .PARAMETER Site
Location/site of circuit. Provide either [string] or [int]. String will search site names, integer will search database IDs Location/site of circuit. Provide either [string] or [uint64]. String will search site names, integer will search database IDs
.PARAMETER Tenant .PARAMETER Tenant
Tenant assigned to circuit. Provide either [string] or [int]. String will search tenant names, integer will search database IDs Tenant assigned to circuit. Provide either [string] or [uint64]. String will search tenant names, integer will search database IDs
.PARAMETER Limit .PARAMETER Limit
A description of the Limit parameter. A description of the Limit parameter.
@ -57,7 +57,7 @@ function Get-NetboxCircuit {
param param
( (
[Parameter(ParameterSetName = 'ById')] [Parameter(ParameterSetName = 'ById')]
[uint16[]]$Id, [uint64[]]$Id,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[string]$CID, [string]$CID,
@ -66,7 +66,7 @@ function Get-NetboxCircuit {
[datetime]$InstallDate, [datetime]$InstallDate,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[uint32]$CommitRate, [uint64]$CommitRate,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[string]$Query, [string]$Query,

View file

@ -10,17 +10,17 @@ function New-NetboxCircuit {
[string]$CID, [string]$CID,
[Parameter(Mandatory = $true)] [Parameter(Mandatory = $true)]
[uint32]$Provider, [uint64]$Provider,
[Parameter(Mandatory = $true)] [Parameter(Mandatory = $true)]
[uint32]$Type, [uint64]$Type,
#[ValidateSet('Active', 'Planned', 'Provisioning', 'Offline', 'Deprovisioning', 'Decommissioned ')] #[ValidateSet('Active', 'Planned', 'Provisioning', 'Offline', 'Deprovisioning', 'Decommissioned ')]
[uint16]$Status = 'Active', [uint16]$Status = 'Active',
[string]$Description, [string]$Description,
[uint32]$Tenant, [uint64]$Tenant,
[string]$Termination_A, [string]$Termination_A,
@ -29,7 +29,7 @@ function New-NetboxCircuit {
[string]$Termination_Z, [string]$Termination_Z,
[ValidateRange(0, 2147483647)] [ValidateRange(0, 2147483647)]
[uint32]$Commit_Rate, [uint64]$Commit_Rate,
[string]$Comments, [string]$Comments,

View file

@ -5,7 +5,7 @@ function Get-NetboxCircuitProvider {
( (
[Parameter(ParameterSetName = 'ById', [Parameter(ParameterSetName = 'ById',
Mandatory = $true)] Mandatory = $true)]
[uint16[]]$Id, [uint64[]]$Id,
[Parameter(ParameterSetName = 'Query', [Parameter(ParameterSetName = 'Query',
Mandatory = $false)] Mandatory = $false)]

View file

@ -5,7 +5,7 @@ function Get-NetboxCircuitTermination {
( (
[Parameter(ParameterSetName = 'ById', [Parameter(ParameterSetName = 'ById',
ValueFromPipelineByPropertyName = $true)] ValueFromPipelineByPropertyName = $true)]
[uint32[]]$Id, [uint64[]]$Id,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[string]$Circuit_ID, [string]$Circuit_ID,
@ -14,7 +14,7 @@ function Get-NetboxCircuitTermination {
[string]$Term_Side, [string]$Term_Side,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[uint32]$Port_Speed, [uint64]$Port_Speed,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[string]$Query, [string]$Query,

View file

@ -4,7 +4,7 @@ function Get-NetboxCircuitType {
param param
( (
[Parameter(ParameterSetName = 'ById')] [Parameter(ParameterSetName = 'ById')]
[uint16[]]$Id, [uint64[]]$Id,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[string]$Name, [string]$Name,

View file

@ -8,7 +8,7 @@
[uint16]$Offset, [uint16]$Offset,
[Parameter(ValueFromPipelineByPropertyName = $true)] [Parameter(ValueFromPipelineByPropertyName = $true)]
[uint16[]]$Id, [uint64[]]$Id,
[uint16]$Cable, [uint16]$Cable,

View file

@ -8,7 +8,7 @@
[uint16]$Offset, [uint16]$Offset,
[Parameter(ValueFromPipelineByPropertyName = $true)] [Parameter(ValueFromPipelineByPropertyName = $true)]
[uint16[]]$Id, [uint64[]]$Id,
[string]$Label, [string]$Label,

View file

@ -9,7 +9,7 @@ function Get-NetboxDCIMDevice {
[uint16]$Offset, [uint16]$Offset,
[Parameter(ValueFromPipelineByPropertyName = $true)] [Parameter(ValueFromPipelineByPropertyName = $true)]
[uint16[]]$Id, [uint64[]]$Id,
[string]$Query, [string]$Query,

View file

@ -8,7 +8,7 @@ function Get-NetboxDCIMDeviceRole {
[uint16]$Offset, [uint16]$Offset,
[Parameter(ParameterSetName = 'ById')] [Parameter(ParameterSetName = 'ById')]
[uint16[]]$Id, [uint64[]]$Id,
[string]$Name, [string]$Name,

View file

@ -8,7 +8,7 @@ function Get-NetboxDCIMDeviceType {
[uint16]$Limit, [uint16]$Limit,
[uint16[]]$Id, [uint64[]]$Id,
[string]$Query, [string]$Query,

View file

@ -26,7 +26,7 @@ function Remove-NetboxDCIMDevice {
( (
[Parameter(Mandatory = $true, [Parameter(Mandatory = $true,
ValueFromPipelineByPropertyName = $true)] ValueFromPipelineByPropertyName = $true)]
[uint16[]]$Id, [uint64[]]$Id,
[switch]$Force [switch]$Force
) )

View file

@ -5,7 +5,7 @@ function Set-NetboxDCIMDevice {
( (
[Parameter(Mandatory = $true, [Parameter(Mandatory = $true,
ValueFromPipelineByPropertyName = $true)] ValueFromPipelineByPropertyName = $true)]
[uint16[]]$Id, [uint64[]]$Id,
[string]$Name, [string]$Name,

View file

@ -6,7 +6,7 @@
( (
[Parameter(Mandatory = $true, [Parameter(Mandatory = $true,
ValueFromPipelineByPropertyName = $true)] ValueFromPipelineByPropertyName = $true)]
[uint16[]]$Id, [uint64[]]$Id,
[switch]$Force [switch]$Force
) )

View file

@ -6,7 +6,7 @@
( (
[Parameter(Mandatory = $true, [Parameter(Mandatory = $true,
ValueFromPipelineByPropertyName = $true)] ValueFromPipelineByPropertyName = $true)]
[uint16[]]$Id, [uint64[]]$Id,
[uint16]$Device, [uint16]$Device,

View file

@ -9,7 +9,7 @@ function Get-NetboxDCIMPlatform {
[uint16]$Offset, [uint16]$Offset,
[Parameter(ParameterSetName = 'ById')] [Parameter(ParameterSetName = 'ById')]
[uint16[]]$Id, [uint64[]]$Id,
[string]$Name, [string]$Name,

View file

@ -25,7 +25,7 @@
( (
[Parameter(Mandatory = $true, [Parameter(Mandatory = $true,
ValueFromPipelineByPropertyName = $true)] ValueFromPipelineByPropertyName = $true)]
[uint16[]]$Id, [uint64[]]$Id,
[switch]$Force [switch]$Force
) )

View file

@ -7,7 +7,7 @@ function Remove-NetboxDCIMInterfaceConnection {
( (
[Parameter(Mandatory = $true, [Parameter(Mandatory = $true,
ValueFromPipelineByPropertyName = $true)] ValueFromPipelineByPropertyName = $true)]
[uint16[]]$Id, [uint64[]]$Id,
[switch]$Force [switch]$Force
) )

View file

@ -6,7 +6,7 @@
( (
[Parameter(Mandatory = $true, [Parameter(Mandatory = $true,
ValueFromPipelineByPropertyName = $true)] ValueFromPipelineByPropertyName = $true)]
[uint16[]]$Id, [uint64[]]$Id,
[uint64]$Device, [uint64]$Device,

View file

@ -35,7 +35,7 @@ function Set-NetboxDCIMInterfaceConnection {
( (
[Parameter(Mandatory = $true, [Parameter(Mandatory = $true,
ValueFromPipelineByPropertyName = $true)] ValueFromPipelineByPropertyName = $true)]
[uint16[]]$Id, [uint64[]]$Id,
[object]$Connection_Status, [object]$Connection_Status,

View file

@ -6,7 +6,7 @@
( (
[Parameter(Mandatory = $true, [Parameter(Mandatory = $true,
ValueFromPipelineByPropertyName = $true)] ValueFromPipelineByPropertyName = $true)]
[uint16[]]$Id, [uint64[]]$Id,
[switch]$Force [switch]$Force
) )

View file

@ -7,7 +7,7 @@ function Set-NetboxDCIMRearPort {
( (
[Parameter(Mandatory = $true, [Parameter(Mandatory = $true,
ValueFromPipelineByPropertyName = $true)] ValueFromPipelineByPropertyName = $true)]
[uint16[]]$Id, [uint64[]]$Id,
[uint64]$Device, [uint64]$Device,

View file

@ -5,7 +5,7 @@ function Get-NetboxDCIMSite {
param param
( (
[Parameter(ParameterSetName = 'ByID', ValueFromPipelineByPropertyName = $true)] [Parameter(ParameterSetName = 'ByID', ValueFromPipelineByPropertyName = $true)]
[uint32]$Id, [uint64]$Id,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[string]$Name, [string]$Name,
@ -20,7 +20,7 @@ function Get-NetboxDCIMSite {
[string]$Facility, [string]$Facility,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[uint32]$ASN, [uint64]$ASN,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[decimal]$Latitude, [decimal]$Latitude,
@ -38,13 +38,13 @@ function Get-NetboxDCIMSite {
[string]$Contact_Email, [string]$Contact_Email,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[uint32]$Tenant_Group_ID, [uint64]$Tenant_Group_ID,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[string]$Tenant_Group, [string]$Tenant_Group,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[uint32]$Tenant_ID, [uint64]$Tenant_ID,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[string]$Tenant, [string]$Tenant,
@ -53,7 +53,7 @@ function Get-NetboxDCIMSite {
[string]$Status, [string]$Status,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[uint32]$Region_ID, [uint64]$Region_ID,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[string]$Region, [string]$Region,

View file

@ -40,7 +40,7 @@ function New-NetboxDCIMSite {
[string]$Facility, [string]$Facility,
[uint32]$ASN, [uint64]$ASN,
[decimal]$Latitude, [decimal]$Latitude,
@ -52,13 +52,13 @@ function New-NetboxDCIMSite {
[string]$Contact_Email, [string]$Contact_Email,
[int]$Tenant_Group, [uint64]$Tenant_Group,
[int]$Tenant, [uint64]$Tenant,
[string]$Status, [string]$Status,
[uint32]$Region, [uint64]$Region,
[string]$Description, [string]$Description,

View file

@ -7,7 +7,7 @@
[string]$Address, [string]$Address,
[Parameter(ParameterSetName = 'ByID')] [Parameter(ParameterSetName = 'ByID')]
[uint32[]]$Id, [uint64[]]$Id,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[string]$Query, [string]$Query,
@ -25,28 +25,28 @@
[string]$VRF, [string]$VRF,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[uint32]$VRF_Id, [uint64]$VRF_Id,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[string]$Tenant, [string]$Tenant,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[uint32]$Tenant_Id, [uint64]$Tenant_Id,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[string]$Device, [string]$Device,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[uint32]$Device_ID, [uint64]$Device_ID,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[string]$Virtual_Machine, [string]$Virtual_Machine,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[uint32]$Virtual_Machine_Id, [uint64]$Virtual_Machine_Id,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[uint32]$Interface_Id, [uint64]$Interface_Id,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[object]$Status, [object]$Status,

View file

@ -40,10 +40,10 @@ function Get-NetboxIPAMAvailableIP {
[Parameter(Mandatory = $true, [Parameter(Mandatory = $true,
ValueFromPipelineByPropertyName = $true)] ValueFromPipelineByPropertyName = $true)]
[Alias('Id')] [Alias('Id')]
[int]$Prefix_ID, [uint64]$Prefix_ID,
[Alias('NumberOfIPs')] [Alias('NumberOfIPs')]
[int]$Limit, [uint64]$Limit,
[switch]$Raw [switch]$Raw
) )

View file

@ -66,17 +66,17 @@ function New-NetboxIPAMAddress {
[object]$Status = 'Active', [object]$Status = 'Active',
[int]$Tenant, [uint64]$Tenant,
[int]$VRF, [uint64]$VRF,
[object]$Role, [object]$Role,
[int]$NAT_Inside, [uint64]$NAT_Inside,
[hashtable]$Custom_Fields, [hashtable]$Custom_Fields,
[int]$Interface, [uint64]$Interface,
[string]$Description, [string]$Description,
@ -85,7 +85,7 @@ function New-NetboxIPAMAddress {
[ValidateSet('dcim.interface', 'virtualization.vminterface', IgnoreCase = $true)] [ValidateSet('dcim.interface', 'virtualization.vminterface', IgnoreCase = $true)]
[string]$Assigned_Object_Type, [string]$Assigned_Object_Type,
[int]$Assigned_Object_Id, [uint64]$Assigned_Object_Id,
[switch]$Raw [switch]$Raw
) )

View file

@ -26,7 +26,7 @@ function Remove-NetboxIPAMAddress {
( (
[Parameter(Mandatory = $true, [Parameter(Mandatory = $true,
ValueFromPipelineByPropertyName = $true)] ValueFromPipelineByPropertyName = $true)]
[int[]]$Id, [uint64[]]$Id,
[switch]$Force [switch]$Force
) )

View file

@ -6,19 +6,19 @@ function Set-NetboxIPAMAddress {
( (
[Parameter(Mandatory = $true, [Parameter(Mandatory = $true,
ValueFromPipelineByPropertyName = $true)] ValueFromPipelineByPropertyName = $true)]
[int[]]$Id, [uint64[]]$Id,
[string]$Address, [string]$Address,
[string]$Status, [string]$Status,
[int]$Tenant, [uint64]$Tenant,
[int]$VRF, [uint64]$VRF,
[object]$Role, [object]$Role,
[int]$NAT_Inside, [uint64]$NAT_Inside,
[hashtable]$Custom_Fields, [hashtable]$Custom_Fields,

View file

@ -7,7 +7,7 @@ function Get-NetboxIPAMAggregate {
[string]$Query, [string]$Query,
[Parameter(ParameterSetName = 'ByID')] [Parameter(ParameterSetName = 'ByID')]
[uint16[]]$Id, [uint64[]]$Id,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[string]$Prefix, [string]$Prefix,

View file

@ -91,7 +91,7 @@ function Get-NetboxIPAMPrefix {
[string]$Query, [string]$Query,
[Parameter(ParameterSetName = 'ByID')] [Parameter(ParameterSetName = 'ByID')]
[uint32[]]$Id, [uint64[]]$Id,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[object]$Family, [object]$Family,
@ -116,25 +116,25 @@ function Get-NetboxIPAMPrefix {
[string]$VRF, [string]$VRF,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[uint32]$VRF_Id, [uint64]$VRF_Id,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[string]$Tenant, [string]$Tenant,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[uint32]$Tenant_Id, [uint64]$Tenant_Id,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[string]$Site, [string]$Site,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[uint32]$Site_Id, [uint64]$Site_Id,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[string]$Vlan_VId, [string]$Vlan_VId,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[uint32]$Vlan_Id, [uint64]$Vlan_Id,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[object]$Status, [object]$Status,
@ -143,7 +143,7 @@ function Get-NetboxIPAMPrefix {
[string]$Role, [string]$Role,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[uint32]$Role_Id, [uint64]$Role_Id,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[uint16]$Limit, [uint16]$Limit,

View file

@ -6,7 +6,7 @@ function Set-NetboxIPAMPrefix {
( (
[Parameter(Mandatory = $true, [Parameter(Mandatory = $true,
ValueFromPipelineByPropertyName = $true)] ValueFromPipelineByPropertyName = $true)]
[uint16[]]$Id, [uint64[]]$Id,
[string]$Prefix, [string]$Prefix,

View file

@ -49,7 +49,7 @@ function Get-NetboxIPAMRole {
[string]$Query, [string]$Query,
[Parameter(ParameterSetName = 'ByID')] [Parameter(ParameterSetName = 'ByID')]
[uint32[]]$Id, [uint64[]]$Id,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[string]$Slug, [string]$Slug,

View file

@ -9,7 +9,7 @@ function Get-NetboxIPAMVLAN {
[uint16]$VID, [uint16]$VID,
[Parameter(ParameterSetName = 'ByID')] [Parameter(ParameterSetName = 'ByID')]
[uint32[]]$Id, [uint64[]]$Id,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[string]$Query, [string]$Query,
@ -21,13 +21,13 @@ function Get-NetboxIPAMVLAN {
[string]$Tenant, [string]$Tenant,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[uint32]$Tenant_Id, [uint64]$Tenant_Id,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[string]$TenantGroup, [string]$TenantGroup,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[uint32]$TenantGroup_Id, [uint64]$TenantGroup_Id,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[object]$Status, [object]$Status,
@ -39,19 +39,19 @@ function Get-NetboxIPAMVLAN {
[string]$Site, [string]$Site,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[uint32]$Site_Id, [uint64]$Site_Id,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[string]$Group, [string]$Group,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[uint32]$Group_Id, [uint64]$Group_Id,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[string]$Role, [string]$Role,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[uint32]$Role_Id, [uint64]$Role_Id,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[uint16]$Limit, [uint16]$Limit,

View file

@ -42,7 +42,7 @@
[string]$Model, [string]$Model,
[Parameter(ParameterSetName = 'ByID')] [Parameter(ParameterSetName = 'ByID')]
[uint32[]]$Id, [uint64[]]$Id,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[string]$App_Label, [string]$App_Label,

View file

@ -52,22 +52,22 @@ function Get-NetboxContactAssignment {
[string]$Name, [string]$Name,
[Parameter(ParameterSetName = 'ByID')] [Parameter(ParameterSetName = 'ByID')]
[uint32[]]$Id, [uint64[]]$Id,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[uint32]$Content_Type_Id, [uint64]$Content_Type_Id,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[string]$Content_Type, [string]$Content_Type,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[uint32]$Object_Id, [uint64]$Object_Id,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[uint32]$Contact_Id, [uint64]$Contact_Id,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[uint32]$Role_Id, [uint64]$Role_Id,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[uint16]$Limit, [uint16]$Limit,

View file

@ -42,13 +42,13 @@ function New-NetboxContactRole {
[object]$Content_Type, [object]$Content_Type,
[Parameter(Mandatory = $true)] [Parameter(Mandatory = $true)]
[uint32]$Object_Id, [uint64]$Object_Id,
[Parameter(Mandatory = $true)] [Parameter(Mandatory = $true)]
[uint32]$Contact, [uint64]$Contact,
[Parameter(Mandatory = $true)] [Parameter(Mandatory = $true)]
[uint32]$Role, [uint64]$Role,
[ValidateSet('primary', 'secondary', 'tertiary', 'inactive', IgnoreCase = $true)] [ValidateSet('primary', 'secondary', 'tertiary', 'inactive', IgnoreCase = $true)]
[string]$Priority, [string]$Priority,

View file

@ -40,7 +40,7 @@ function Get-NetboxContactRole {
[string]$Name, [string]$Name,
[Parameter(ParameterSetName = 'ByID')] [Parameter(ParameterSetName = 'ByID')]
[uint32[]]$Id, [uint64[]]$Id,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[string]$Query, [string]$Query,

View file

@ -58,7 +58,7 @@ function Get-NetboxContact {
[string]$Name, [string]$Name,
[Parameter(ParameterSetName = 'ByID')] [Parameter(ParameterSetName = 'ByID')]
[uint32[]]$Id, [uint64[]]$Id,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[string]$Query, [string]$Query,

View file

@ -60,7 +60,7 @@ function Set-NetboxContact {
( (
[Parameter(Mandatory = $true, [Parameter(Mandatory = $true,
ValueFromPipelineByPropertyName = $true)] ValueFromPipelineByPropertyName = $true)]
[uint32[]]$Id, [uint64[]]$Id,
[ValidateLength(1, 100)] [ValidateLength(1, 100)]
[string]$Name, [string]$Name,
@ -68,7 +68,7 @@ function Set-NetboxContact {
[ValidateLength(0, 254)] [ValidateLength(0, 254)]
[string]$Email, [string]$Email,
[uint32]$Group, [uint64]$Group,
[ValidateLength(0, 100)] [ValidateLength(0, 100)]
[string]$Title, [string]$Title,

View file

@ -52,7 +52,7 @@ function Get-NetboxTenant {
[string]$Name, [string]$Name,
[Parameter(ParameterSetName = 'ByID')] [Parameter(ParameterSetName = 'ByID')]
[uint32[]]$Id, [uint64[]]$Id,
[Parameter(ParameterSetName = 'Query')] [Parameter(ParameterSetName = 'Query')]
[string]$Query, [string]$Query,

View file

@ -91,7 +91,7 @@ function Get-NetboxVirtualMachine {
[string]$Name, [string]$Name,
[uint16[]]$Id, [uint64[]]$Id,
[object]$Status, [object]$Status,

View file

@ -26,7 +26,7 @@ function Remove-NetboxVirtualMachine {
( (
[Parameter(Mandatory = $true, [Parameter(Mandatory = $true,
ValueFromPipelineByPropertyName = $true)] ValueFromPipelineByPropertyName = $true)]
[uint16[]]$Id, [uint64[]]$Id,
[switch]$Force [switch]$Force
) )

View file

@ -7,7 +7,7 @@ function Set-NetboxVirtualMachineInterface {
( (
[Parameter(Mandatory = $true, [Parameter(Mandatory = $true,
ValueFromPipelineByPropertyName = $true)] ValueFromPipelineByPropertyName = $true)]
[uint16[]]$Id, [uint64[]]$Id,
[string]$Name, [string]$Name,

View file

@ -58,7 +58,7 @@ function Get-NetboxVirtualizationCluster {
[Alias('q')] [Alias('q')]
[string]$Query, [string]$Query,
[uint16[]]$Id, [uint64[]]$Id,
[string]$Group, [string]$Group,

View file

@ -11,7 +11,7 @@ function Get-NetboxVirtualizationClusterGroup {
[string]$Query, [string]$Query,
[uint32[]]$Id, [uint64[]]$Id,
[uint16]$Limit, [uint16]$Limit,