< Back
Set-GceFirewall
Post
NAME Set-GceFirewall
SYNOPSIS
Sets the data of a firewall rule.
SYNTAX
Set-GceFirewall [-Project <string>] [-Firewall] <Firewall> [<CommonParameters>]
DESCRIPTION
Overwrites all data about a firewall rule.
PARAMETERS
-Project <string>
The name of the project that owns the firewall rule to change.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Firewall <Firewall>
The new firewall rule data.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Google.Apis.Compute.v1.Data.Firewall
RELATED LINKS
[Firewall resource definition] (https://cloud.google.com/compute/docs/r ... s#resource)
SYNOPSIS
Sets the data of a firewall rule.
SYNTAX
Set-GceFirewall [-Project <string>] [-Firewall] <Firewall> [<CommonParameters>]
DESCRIPTION
Overwrites all data about a firewall rule.
PARAMETERS
-Project <string>
The name of the project that owns the firewall rule to change.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Firewall <Firewall>
The new firewall rule data.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Google.Apis.Compute.v1.Data.Firewall
RELATED LINKS
[Firewall resource definition] (https://cloud.google.com/compute/docs/r ... s#resource)