library
turbot/azure
Get Involved
Version
Pipeline: Update SQL Server Public Network Access
Enable or disable public network access for the specified SQL server.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run azure.pipeline.update_sql_server_public_network_access \  --arg 'subscription_id=<string>' \  --arg 'resource_group=<string>' \  --arg 'server_name=<string>' \  --arg 'enable_public_network=<bool>'Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" {  pipeline = azure.pipeline.update_sql_server_public_network_access    args = {    subscription_id = <string>    resource_group = <string>    server_name = <string>    enable_public_network = <bool>  }}Params
| Name | Type | Required | Description | Default | 
|---|---|---|---|---|
| conn | connection.azure | Yes | Name of Azure connection to use. If not provided, the default Azure connection will be used. | connection.azure.default | 
| subscription_id | string | Yes | Azure Subscription Id. Examples: d46d7416-f95f-4771-bbb5-529d4c766. | - | 
| resource_group | string | Yes | Azure Resource Group. Examples: my-rg, my-rg-123. | - | 
| server_name | string | Yes | The SQL server name. | - | 
| enable_public_network | bool | Yes | Enable or disable public network access for the SQL server. Accepted values: true, false. | - | 
Outputs
| Name | Description | 
|---|---|
| sql_server_public_network_status | The updated public network access setting for the SQL server. |