mirror of
https://github.com/benclaussen/NetboxPS.git
synced 2025-12-13 09:52:29 +00:00
30 lines
No EOL
635 B
PowerShell
30 lines
No EOL
635 B
PowerShell
|
|
function Get-NetboxVirtualizationClusterGroup {
|
|
[CmdletBinding()]
|
|
param
|
|
(
|
|
[string]$Name,
|
|
|
|
[string]$Slug,
|
|
|
|
[string]$Description,
|
|
|
|
[string]$Query,
|
|
|
|
[uint32[]]$Id,
|
|
|
|
[uint16]$Limit,
|
|
|
|
[uint16]$Offset,
|
|
|
|
[switch]$Raw
|
|
)
|
|
|
|
$Segments = [System.Collections.ArrayList]::new(@('virtualization', 'cluster-groups'))
|
|
|
|
$URIComponents = BuildURIComponents -URISegments $Segments -ParametersDictionary $PSBoundParameters
|
|
|
|
$uri = BuildNewURI -Segments $URIComponents.Segments -Parameters $URIComponents.Parameters
|
|
|
|
InvokeNetboxRequest -URI $uri -Raw:$Raw
|
|
} |