wiki:updateing_azure_database_firewall_via_api
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| wiki:updateing_azure_database_firewall_via_api [2022/09/02 13:29] – created antisa | wiki:updateing_azure_database_firewall_via_api [2024/04/25 11:15] (current) – [See also] add Connect to Azure database antisa | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ====== Updateing Azure database firewall via Azure API ====== | ====== Updateing Azure database firewall via Azure API ====== | ||
| - | Via bash script | + | Via bash script. (Install " |
| - | <file bash> | + | <file bash azure_whitelist.sh> |
| #!/bin/bash | #!/bin/bash | ||
| Line 24: | Line 24: | ||
| To use in rundeck check this job definition: | To use in rundeck check this job definition: | ||
| - | <code yaml> | + | <file yaml azure_whitelist1.yaml> |
| - defaultTab: nodes | - defaultTab: nodes | ||
| description: | description: | ||
| Line 65: | Line 65: | ||
| strategy: node-first | strategy: node-first | ||
| uuid: d63d774f-1302-4ed7-aa50-cdcf1bc96810 | uuid: d63d774f-1302-4ed7-aa50-cdcf1bc96810 | ||
| - | </code> | + | </file> |
| - | Here is an alternative to the script above using the Rundecks "HTTP Request Node Step" | + | Here is an alternative to the script above using the Rundecks "HTTP Request Node Step" |
| - | <code yaml> | + | <file yaml azure_whitelist2> |
| - defaultTab: nodes | - defaultTab: nodes | ||
| description: | description: | ||
| Line 146: | Line 146: | ||
| strategy: node-first | strategy: node-first | ||
| uuid: c1354a3d-c0f9-4b56-a30c-ddac083d99ec | uuid: c1354a3d-c0f9-4b56-a30c-ddac083d99ec | ||
| - | </code> | + | </file> |
| Replace the " | Replace the " | ||
| Line 155: | Line 155: | ||
| ====== See also ====== | ====== See also ====== | ||
| * [[wiki: | * [[wiki: | ||
| + | * [[wiki: | ||
| ====== References ====== | ====== References ====== | ||
wiki/updateing_azure_database_firewall_via_api.1662125392.txt.gz · Last modified: by antisa
