Skip to content

Latest commit

 

History

History
63 lines (58 loc) · 1.74 KB

ConnectionGroups.md

File metadata and controls

63 lines (58 loc) · 1.74 KB

ConnectionGroups

Get-GuacConnectionsGroup

Get-GuacConnectionsGroup -DataSource mysql -ConnectionGroupId 1 -Details $True

Get-GuacConnectionsGroupDetails

Get-GuacConnectionsGroupDetails -DataSource mysql -ConnectionGroupId 2

Get-GuacConnectionsGroups

Get-GuacConnectionsGroups -DataSource mysql

Get-GuacConnectionsGroupsConnections

Get-GuacConnectionsGroupsConnections -DataSource mysql

New-GuacConnectionGroup

$Parameters = @{
    "name"="New Group Name 2"
    "parentIdentifier"="1"
    "type"="BALANCING"
    "attributes"=@{
        "max-connections"=""
        "max-connections-per-user"=""
        "enable-session-affinity"=""
    }
}

New-GuacConnectionGroup -DataSource mysql -Parameters $Parameters

Remove-GuacConnectionGroup

Remove-GuacConnectionGroup -DataSource mysql -ConnectionGroupId 3

Update-GuacConnectionGroup

$Parameters = @{
    "name"="Desktop"
    "identifier"="1"
    "parentIdentifier"="ROOT"
    "type"="BALANCING"
    "activeConnections"=0
    "attributes"=@{
        "max-connections"=""
        "max-connections-per-user"=""
        "enable-session-affinity"=""
    }
}

Update-GuacConnectionGroup -DataSource mysql -ConnectionGroupId 1 -Parameters $Parameters