Get-LiquitEntityFilter
Synopsis
This command displays a list of filters belonging to an entity. This way you can see whether or not the filter sets are used in an 'AND' or 'OR' clause.
Syntax
Get-LiquitEntityFilter
[-Entity] <Entity>
[-LiquitContext <LiquitContext>]
[<CommonParameters>]
Example
$package = Get-LiquitPackage -id 00000000-0000-0000-0000-000000000000
$snapshot = Get-LiquitPackageSnapshot -id 00000000-0000-0000-0000-000000000000 -package $package
$filterset = Get-LiquitFilterSet -Snapshot $snapshot -id 00000000-0000-0000-0000-000000000000
Get-LiquitEntityFilter -Entity $filterset
This command lists all the entity filters belonging to a specific filter set.
Set-LiquitEntityFilter
Synopsis
This command creates a new entity filter.
Syntax
Set-LiquitEntityFilter
[-EntityFilter] <EntityFilter[]>
[-Operator {And | Or}]
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-LiquitEntityFilter
[-Snapshot] <PackageSnapshot[]>
[-Operator {And | Or}]
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-LiquitEntityFilter
[-Action] <Action[]>
[-Operator {And | Or}]
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-LiquitEntityFilter
[-ActionSet] <ActionSet[]>
[-Operator {And | Or}]
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-LiquitEntityFilter
[-ConditionSet] <ConditionSet[]>
[-Operator {And | Or}]
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-LiquitEntityFilter
[-Deployment] <Deployment[]>
[-Operator {And | Or}]
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-LiquitEntityFilter
[-DeploymentAction] <DeploymentAction[]>
[-Operator {And | Or}]
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Example
$package = Get-LiquitPackage -id 00000000-0000-0000-0000-000000000000
$snapshot = Get-LiquitPackageSnapshot -id 00000000-0000-0000-0000-000000000000 -package $package
Set-LiquitEntityFilter -Snapshot $snapshot -Operator Or
This command creates a new entity filter in the selected snapshot.
Parameters
Name | Value | Description | Required | Default value |
---|---|---|---|---|
EntityFilter | <EntityFilter[]> |
The entity filter determines whether or not filter sets are used in an 'AND' or 'OR' clause. | ||
Snapshot | <PackageSnapshot[]> |
The package snapshot to which the entity filter should apply. | Snapshot only | |
Action | <Action[]> |
The action to which the entity filter should apply. | Action only | |
ActionSet | <ActionSet[]> |
The action set to which the entity filter should apply. | ActionSet only | |
ConditionSet | <ConditionSet[]> |
The condition set to which the entity filter should apply. | ConditionSet only | |
DeploymentAction | <DeploymentAction[]> |
The deployment action to which the entity filter should apply. | Deployment Action only | |
Deployment | <Deployment[]> |
The deployment to which the entity filter should apply. | Deployment only | |
Operator | {And | Or} |
Determines whether the filter sets are evaluated in an 'AND' or 'OR' clause. | No | And |
LiquitContext | <LiquitContext> |
Determines the selected zone. | No | Default |
Remove-LiquitEntityFilter
Synopsis
This command removes a filter entity from the Application Workspace.
Syntax
Remove-LiquitEntityFilter
[-EntityFilter] <EntityFilter[]>
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-LiquitEntityFilter
[-Snapshot] <PackageSnapshot[]>
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-LiquitEntityFilter
[-Action] <Action[]>
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-LiquitEntityFilter
[-ActionSet] <ActionSet[]>
[-Operator {And | Or}]
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-LiquitEntityFilter
[-ConditionSet] <ConditionSet[]>
[-Operator {And | Or}]
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-LiquitEntityFilter
[-Deployment] <Deployment[]>
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-LiquitEntityFilter
[-DeploymentAction] <DeploymentAction[]>
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Example
$package = Get-LiquitPackage -id 00000000-0000-0000-0000-000000000000
$snapshot = Get-LiquitPackageSnapshot -id 00000000-0000-0000-0000-000000000000 -package $package
Remove-LiquitEntityFilter -Snapshot $snapshot
This command removes the selected entity filter from the Application Workspace.
Parameters
Name | Value | Description | Required | Default value |
---|---|---|---|---|
EntityFilter | <EntityFilter[]> |
The entity filter(s) that should be removed. | EntityFilter only | |
Snapshot | <PackageSnapshot[]> |
The snapshot(s) containing the entity filter that should be removed. | Snapshot only | |
Action | <Action[]> |
The action(s) containing the entity filter that should be removed. | Action only | |
ActionSet | <ActionSet[]> |
The action set containing the entity filter that should be removed. | ActionSet only | |
ConditionSet | <ConditionSet[]> |
The condition set containing the entity filter that should be removed. | ConditionSet only | |
DeploymentAction | <DeploymentAction[]> |
The deployment action(s) containing the entity filter that should be removed. | Deployment Action only | |
Deployment | <Deployment[]> |
The deployment(s) containing the entity filter that should be removed. | Deployment only | |
LiquitContext | <LiquitContext> |
Determines the selected zone. | No | Default |