Using Console
Using CLI
[FIREWALL_RULE_NAME]
with the name of the firewall rule that allows the SQL Server port to be open.
Using Python
your-project-id
and your-region
with your actual project ID and region. The target_tags
field specifies the tags of the resources that should be blocked from accessing the SQL Server port.sql-server
tag to all the instances that are running SQL Server.your-project-id
, your-region
, and your-instance-name
with your actual project ID, region, and instance name. The tags
field specifies the tags that should be applied to the instance.