library
turbot/azure
OverviewPipelines
0
Triggers
0
Variables
GitHub

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

NameTypeRequiredDescriptionDefault
conn
connection.azure
YesName of Azure connection to use. If not provided, the default Azure connection will be used.connection.azure.default
subscription_id
string
YesAzure Subscription Id. Examples: d46d7416-f95f-4771-bbb5-529d4c766.-
resource_group
string
YesAzure Resource Group. Examples: my-rg, my-rg-123.-
server_name
string
YesThe SQL server name.-
enable_public_network
bool
YesEnable or disable public network access for the SQL server. Accepted values: true, false.-

Outputs

NameDescription
sql_server_public_network_statusThe updated public network access setting for the SQL server.