mirror of
https://github.com/benclaussen/NetboxPS.git
synced 2025-12-13 09:52:29 +00:00
More uint64 updates for #49
This commit is contained in:
parent
914b245f24
commit
080d655f8d
45 changed files with 91 additions and 91 deletions
|
|
@ -23,16 +23,16 @@ function Get-NetboxCircuit {
|
|||
A raw search query... As if you were searching the web site
|
||||
|
||||
.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
|
||||
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
|
||||
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
|
||||
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
|
||||
A description of the Limit parameter.
|
||||
|
|
@ -57,7 +57,7 @@ function Get-NetboxCircuit {
|
|||
param
|
||||
(
|
||||
[Parameter(ParameterSetName = 'ById')]
|
||||
[uint16[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[string]$CID,
|
||||
|
|
@ -66,7 +66,7 @@ function Get-NetboxCircuit {
|
|||
[datetime]$InstallDate,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[uint32]$CommitRate,
|
||||
[uint64]$CommitRate,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[string]$Query,
|
||||
|
|
|
|||
|
|
@ -10,17 +10,17 @@ function New-NetboxCircuit {
|
|||
[string]$CID,
|
||||
|
||||
[Parameter(Mandatory = $true)]
|
||||
[uint32]$Provider,
|
||||
[uint64]$Provider,
|
||||
|
||||
[Parameter(Mandatory = $true)]
|
||||
[uint32]$Type,
|
||||
[uint64]$Type,
|
||||
|
||||
#[ValidateSet('Active', 'Planned', 'Provisioning', 'Offline', 'Deprovisioning', 'Decommissioned ')]
|
||||
[uint16]$Status = 'Active',
|
||||
|
||||
[string]$Description,
|
||||
|
||||
[uint32]$Tenant,
|
||||
[uint64]$Tenant,
|
||||
|
||||
[string]$Termination_A,
|
||||
|
||||
|
|
@ -29,7 +29,7 @@ function New-NetboxCircuit {
|
|||
[string]$Termination_Z,
|
||||
|
||||
[ValidateRange(0, 2147483647)]
|
||||
[uint32]$Commit_Rate,
|
||||
[uint64]$Commit_Rate,
|
||||
|
||||
[string]$Comments,
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ function Get-NetboxCircuitProvider {
|
|||
(
|
||||
[Parameter(ParameterSetName = 'ById',
|
||||
Mandatory = $true)]
|
||||
[uint16[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query',
|
||||
Mandatory = $false)]
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ function Get-NetboxCircuitTermination {
|
|||
(
|
||||
[Parameter(ParameterSetName = 'ById',
|
||||
ValueFromPipelineByPropertyName = $true)]
|
||||
[uint32[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[string]$Circuit_ID,
|
||||
|
|
@ -14,7 +14,7 @@ function Get-NetboxCircuitTermination {
|
|||
[string]$Term_Side,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[uint32]$Port_Speed,
|
||||
[uint64]$Port_Speed,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[string]$Query,
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ function Get-NetboxCircuitType {
|
|||
param
|
||||
(
|
||||
[Parameter(ParameterSetName = 'ById')]
|
||||
[uint16[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[string]$Name,
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
[uint16]$Offset,
|
||||
|
||||
[Parameter(ValueFromPipelineByPropertyName = $true)]
|
||||
[uint16[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[uint16]$Cable,
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
[uint16]$Offset,
|
||||
|
||||
[Parameter(ValueFromPipelineByPropertyName = $true)]
|
||||
[uint16[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[string]$Label,
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ function Get-NetboxDCIMDevice {
|
|||
[uint16]$Offset,
|
||||
|
||||
[Parameter(ValueFromPipelineByPropertyName = $true)]
|
||||
[uint16[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[string]$Query,
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ function Get-NetboxDCIMDeviceRole {
|
|||
[uint16]$Offset,
|
||||
|
||||
[Parameter(ParameterSetName = 'ById')]
|
||||
[uint16[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[string]$Name,
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ function Get-NetboxDCIMDeviceType {
|
|||
|
||||
[uint16]$Limit,
|
||||
|
||||
[uint16[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[string]$Query,
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ function Remove-NetboxDCIMDevice {
|
|||
(
|
||||
[Parameter(Mandatory = $true,
|
||||
ValueFromPipelineByPropertyName = $true)]
|
||||
[uint16[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[switch]$Force
|
||||
)
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ function Set-NetboxDCIMDevice {
|
|||
(
|
||||
[Parameter(Mandatory = $true,
|
||||
ValueFromPipelineByPropertyName = $true)]
|
||||
[uint16[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[string]$Name,
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
(
|
||||
[Parameter(Mandatory = $true,
|
||||
ValueFromPipelineByPropertyName = $true)]
|
||||
[uint16[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[switch]$Force
|
||||
)
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
(
|
||||
[Parameter(Mandatory = $true,
|
||||
ValueFromPipelineByPropertyName = $true)]
|
||||
[uint16[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[uint16]$Device,
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ function Get-NetboxDCIMPlatform {
|
|||
[uint16]$Offset,
|
||||
|
||||
[Parameter(ParameterSetName = 'ById')]
|
||||
[uint16[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[string]$Name,
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
(
|
||||
[Parameter(Mandatory = $true,
|
||||
ValueFromPipelineByPropertyName = $true)]
|
||||
[uint16[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[switch]$Force
|
||||
)
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ function Remove-NetboxDCIMInterfaceConnection {
|
|||
(
|
||||
[Parameter(Mandatory = $true,
|
||||
ValueFromPipelineByPropertyName = $true)]
|
||||
[uint16[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[switch]$Force
|
||||
)
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
(
|
||||
[Parameter(Mandatory = $true,
|
||||
ValueFromPipelineByPropertyName = $true)]
|
||||
[uint16[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[uint64]$Device,
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ function Set-NetboxDCIMInterfaceConnection {
|
|||
(
|
||||
[Parameter(Mandatory = $true,
|
||||
ValueFromPipelineByPropertyName = $true)]
|
||||
[uint16[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[object]$Connection_Status,
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
(
|
||||
[Parameter(Mandatory = $true,
|
||||
ValueFromPipelineByPropertyName = $true)]
|
||||
[uint16[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[switch]$Force
|
||||
)
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ function Set-NetboxDCIMRearPort {
|
|||
(
|
||||
[Parameter(Mandatory = $true,
|
||||
ValueFromPipelineByPropertyName = $true)]
|
||||
[uint16[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[uint64]$Device,
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ function Get-NetboxDCIMSite {
|
|||
param
|
||||
(
|
||||
[Parameter(ParameterSetName = 'ByID', ValueFromPipelineByPropertyName = $true)]
|
||||
[uint32]$Id,
|
||||
[uint64]$Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[string]$Name,
|
||||
|
|
@ -20,7 +20,7 @@ function Get-NetboxDCIMSite {
|
|||
[string]$Facility,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[uint32]$ASN,
|
||||
[uint64]$ASN,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[decimal]$Latitude,
|
||||
|
|
@ -38,13 +38,13 @@ function Get-NetboxDCIMSite {
|
|||
[string]$Contact_Email,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[uint32]$Tenant_Group_ID,
|
||||
[uint64]$Tenant_Group_ID,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[string]$Tenant_Group,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[uint32]$Tenant_ID,
|
||||
[uint64]$Tenant_ID,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[string]$Tenant,
|
||||
|
|
@ -53,7 +53,7 @@ function Get-NetboxDCIMSite {
|
|||
[string]$Status,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[uint32]$Region_ID,
|
||||
[uint64]$Region_ID,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[string]$Region,
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ function New-NetboxDCIMSite {
|
|||
|
||||
[string]$Facility,
|
||||
|
||||
[uint32]$ASN,
|
||||
[uint64]$ASN,
|
||||
|
||||
[decimal]$Latitude,
|
||||
|
||||
|
|
@ -52,13 +52,13 @@ function New-NetboxDCIMSite {
|
|||
|
||||
[string]$Contact_Email,
|
||||
|
||||
[int]$Tenant_Group,
|
||||
[uint64]$Tenant_Group,
|
||||
|
||||
[int]$Tenant,
|
||||
[uint64]$Tenant,
|
||||
|
||||
[string]$Status,
|
||||
|
||||
[uint32]$Region,
|
||||
[uint64]$Region,
|
||||
|
||||
[string]$Description,
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
[string]$Address,
|
||||
|
||||
[Parameter(ParameterSetName = 'ByID')]
|
||||
[uint32[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[string]$Query,
|
||||
|
|
@ -25,28 +25,28 @@
|
|||
[string]$VRF,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[uint32]$VRF_Id,
|
||||
[uint64]$VRF_Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[string]$Tenant,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[uint32]$Tenant_Id,
|
||||
[uint64]$Tenant_Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[string]$Device,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[uint32]$Device_ID,
|
||||
[uint64]$Device_ID,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[string]$Virtual_Machine,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[uint32]$Virtual_Machine_Id,
|
||||
[uint64]$Virtual_Machine_Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[uint32]$Interface_Id,
|
||||
[uint64]$Interface_Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[object]$Status,
|
||||
|
|
|
|||
|
|
@ -40,10 +40,10 @@ function Get-NetboxIPAMAvailableIP {
|
|||
[Parameter(Mandatory = $true,
|
||||
ValueFromPipelineByPropertyName = $true)]
|
||||
[Alias('Id')]
|
||||
[int]$Prefix_ID,
|
||||
[uint64]$Prefix_ID,
|
||||
|
||||
[Alias('NumberOfIPs')]
|
||||
[int]$Limit,
|
||||
[uint64]$Limit,
|
||||
|
||||
[switch]$Raw
|
||||
)
|
||||
|
|
|
|||
|
|
@ -66,17 +66,17 @@ function New-NetboxIPAMAddress {
|
|||
|
||||
[object]$Status = 'Active',
|
||||
|
||||
[int]$Tenant,
|
||||
[uint64]$Tenant,
|
||||
|
||||
[int]$VRF,
|
||||
[uint64]$VRF,
|
||||
|
||||
[object]$Role,
|
||||
|
||||
[int]$NAT_Inside,
|
||||
[uint64]$NAT_Inside,
|
||||
|
||||
[hashtable]$Custom_Fields,
|
||||
|
||||
[int]$Interface,
|
||||
[uint64]$Interface,
|
||||
|
||||
[string]$Description,
|
||||
|
||||
|
|
@ -85,7 +85,7 @@ function New-NetboxIPAMAddress {
|
|||
[ValidateSet('dcim.interface', 'virtualization.vminterface', IgnoreCase = $true)]
|
||||
[string]$Assigned_Object_Type,
|
||||
|
||||
[int]$Assigned_Object_Id,
|
||||
[uint64]$Assigned_Object_Id,
|
||||
|
||||
[switch]$Raw
|
||||
)
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ function Remove-NetboxIPAMAddress {
|
|||
(
|
||||
[Parameter(Mandatory = $true,
|
||||
ValueFromPipelineByPropertyName = $true)]
|
||||
[int[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[switch]$Force
|
||||
)
|
||||
|
|
|
|||
|
|
@ -6,19 +6,19 @@ function Set-NetboxIPAMAddress {
|
|||
(
|
||||
[Parameter(Mandatory = $true,
|
||||
ValueFromPipelineByPropertyName = $true)]
|
||||
[int[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[string]$Address,
|
||||
|
||||
[string]$Status,
|
||||
|
||||
[int]$Tenant,
|
||||
[uint64]$Tenant,
|
||||
|
||||
[int]$VRF,
|
||||
[uint64]$VRF,
|
||||
|
||||
[object]$Role,
|
||||
|
||||
[int]$NAT_Inside,
|
||||
[uint64]$NAT_Inside,
|
||||
|
||||
[hashtable]$Custom_Fields,
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ function Get-NetboxIPAMAggregate {
|
|||
[string]$Query,
|
||||
|
||||
[Parameter(ParameterSetName = 'ByID')]
|
||||
[uint16[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[string]$Prefix,
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ function Get-NetboxIPAMPrefix {
|
|||
[string]$Query,
|
||||
|
||||
[Parameter(ParameterSetName = 'ByID')]
|
||||
[uint32[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[object]$Family,
|
||||
|
|
@ -116,25 +116,25 @@ function Get-NetboxIPAMPrefix {
|
|||
[string]$VRF,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[uint32]$VRF_Id,
|
||||
[uint64]$VRF_Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[string]$Tenant,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[uint32]$Tenant_Id,
|
||||
[uint64]$Tenant_Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[string]$Site,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[uint32]$Site_Id,
|
||||
[uint64]$Site_Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[string]$Vlan_VId,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[uint32]$Vlan_Id,
|
||||
[uint64]$Vlan_Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[object]$Status,
|
||||
|
|
@ -143,7 +143,7 @@ function Get-NetboxIPAMPrefix {
|
|||
[string]$Role,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[uint32]$Role_Id,
|
||||
[uint64]$Role_Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[uint16]$Limit,
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ function Set-NetboxIPAMPrefix {
|
|||
(
|
||||
[Parameter(Mandatory = $true,
|
||||
ValueFromPipelineByPropertyName = $true)]
|
||||
[uint16[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[string]$Prefix,
|
||||
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ function Get-NetboxIPAMRole {
|
|||
[string]$Query,
|
||||
|
||||
[Parameter(ParameterSetName = 'ByID')]
|
||||
[uint32[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[string]$Slug,
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ function Get-NetboxIPAMVLAN {
|
|||
[uint16]$VID,
|
||||
|
||||
[Parameter(ParameterSetName = 'ByID')]
|
||||
[uint32[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[string]$Query,
|
||||
|
|
@ -21,13 +21,13 @@ function Get-NetboxIPAMVLAN {
|
|||
[string]$Tenant,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[uint32]$Tenant_Id,
|
||||
[uint64]$Tenant_Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[string]$TenantGroup,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[uint32]$TenantGroup_Id,
|
||||
[uint64]$TenantGroup_Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[object]$Status,
|
||||
|
|
@ -39,19 +39,19 @@ function Get-NetboxIPAMVLAN {
|
|||
[string]$Site,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[uint32]$Site_Id,
|
||||
[uint64]$Site_Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[string]$Group,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[uint32]$Group_Id,
|
||||
[uint64]$Group_Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[string]$Role,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[uint32]$Role_Id,
|
||||
[uint64]$Role_Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[uint16]$Limit,
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@
|
|||
[string]$Model,
|
||||
|
||||
[Parameter(ParameterSetName = 'ByID')]
|
||||
[uint32[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[string]$App_Label,
|
||||
|
|
|
|||
|
|
@ -52,22 +52,22 @@ function Get-NetboxContactAssignment {
|
|||
[string]$Name,
|
||||
|
||||
[Parameter(ParameterSetName = 'ByID')]
|
||||
[uint32[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[uint32]$Content_Type_Id,
|
||||
[uint64]$Content_Type_Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[string]$Content_Type,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[uint32]$Object_Id,
|
||||
[uint64]$Object_Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[uint32]$Contact_Id,
|
||||
[uint64]$Contact_Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[uint32]$Role_Id,
|
||||
[uint64]$Role_Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[uint16]$Limit,
|
||||
|
|
|
|||
|
|
@ -42,13 +42,13 @@ function New-NetboxContactRole {
|
|||
[object]$Content_Type,
|
||||
|
||||
[Parameter(Mandatory = $true)]
|
||||
[uint32]$Object_Id,
|
||||
[uint64]$Object_Id,
|
||||
|
||||
[Parameter(Mandatory = $true)]
|
||||
[uint32]$Contact,
|
||||
[uint64]$Contact,
|
||||
|
||||
[Parameter(Mandatory = $true)]
|
||||
[uint32]$Role,
|
||||
[uint64]$Role,
|
||||
|
||||
[ValidateSet('primary', 'secondary', 'tertiary', 'inactive', IgnoreCase = $true)]
|
||||
[string]$Priority,
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ function Get-NetboxContactRole {
|
|||
[string]$Name,
|
||||
|
||||
[Parameter(ParameterSetName = 'ByID')]
|
||||
[uint32[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[string]$Query,
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ function Get-NetboxContact {
|
|||
[string]$Name,
|
||||
|
||||
[Parameter(ParameterSetName = 'ByID')]
|
||||
[uint32[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[string]$Query,
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ function Set-NetboxContact {
|
|||
(
|
||||
[Parameter(Mandatory = $true,
|
||||
ValueFromPipelineByPropertyName = $true)]
|
||||
[uint32[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[ValidateLength(1, 100)]
|
||||
[string]$Name,
|
||||
|
|
@ -68,7 +68,7 @@ function Set-NetboxContact {
|
|||
[ValidateLength(0, 254)]
|
||||
[string]$Email,
|
||||
|
||||
[uint32]$Group,
|
||||
[uint64]$Group,
|
||||
|
||||
[ValidateLength(0, 100)]
|
||||
[string]$Title,
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ function Get-NetboxTenant {
|
|||
[string]$Name,
|
||||
|
||||
[Parameter(ParameterSetName = 'ByID')]
|
||||
[uint32[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[Parameter(ParameterSetName = 'Query')]
|
||||
[string]$Query,
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ function Get-NetboxVirtualMachine {
|
|||
|
||||
[string]$Name,
|
||||
|
||||
[uint16[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[object]$Status,
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ function Remove-NetboxVirtualMachine {
|
|||
(
|
||||
[Parameter(Mandatory = $true,
|
||||
ValueFromPipelineByPropertyName = $true)]
|
||||
[uint16[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[switch]$Force
|
||||
)
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ function Set-NetboxVirtualMachineInterface {
|
|||
(
|
||||
[Parameter(Mandatory = $true,
|
||||
ValueFromPipelineByPropertyName = $true)]
|
||||
[uint16[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[string]$Name,
|
||||
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ function Get-NetboxVirtualizationCluster {
|
|||
[Alias('q')]
|
||||
[string]$Query,
|
||||
|
||||
[uint16[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[string]$Group,
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ function Get-NetboxVirtualizationClusterGroup {
|
|||
|
||||
[string]$Query,
|
||||
|
||||
[uint32[]]$Id,
|
||||
[uint64[]]$Id,
|
||||
|
||||
[uint16]$Limit,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue