For the complete documentation index, see llms.txt. This page is also available as Markdown.

Update-DSGatewayRuleset

Synopsis

Update a gateway ruleset.

Syntax

GetByID

Update-DSGatewayRuleset [-GatewayID] <guid> [[-Name] <string>] [[-Description] <string>]
 [[-Rule] <PSGatewayAccessRule[]>] [[-LinkedGatewayID] <guid>] [-Security <GatewaySecurity>]
 [-IsDefault <bool>] [<CommonParameters>]

InputObject

Update-DSGatewayRuleset [-Gateway] <Gateway> [[-Name] <string>] [[-Description] <string>]
 [[-Rule] <PSGatewayAccessRule[]>] [[-LinkedGatewayID] <guid>] [-Security <GatewaySecurity>]
 [-IsDefault <bool>] [<CommonParameters>]

Description

Update a gateway ruleset. Use the parameter to modify the corresponding properties.

This cmdlet was previously named Update-DSVirtualGateway. That name is still available as an alias.

Examples

Example 1

Replace all existing access rules of the gateway ruleset for one that denies the IP address '1.2.3.4'.

Example 2

Add a new rule that allows the IP address '1.2.3.4' to the gateway ruleset.

Example 3

Create a security configuration with access limited to specific vaults, disallow private vaults, and apply it to a gateway ruleset.

Parameters

-Description

New description of the gateway ruleset.

-Gateway

Gateway ruleset to update.

-GatewayID

ID of the gateway ruleset to update.

-IsDefault

Set as the default gateway.

-LinkedGatewayID

New physical gateway's ID.

-Name

Gateway ruleset's new name. The value will be trimmed.

-Rule

New set of access rules. It will replace all old ones.

-Security

Security configuration for the gateway ruleset. Use New-DSGatewaySecurity to create this object.

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Notes

For more information, type "Get-Help Update-DSGatewayRuleset -detailed". For technical information, type "Get-Help Update-DSGatewayRuleset -full".

Last updated

Was this helpful?