This repository has been archived by the owner on Aug 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main'
- Loading branch information
Showing
13 changed files
with
188 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
param location string = resourceGroup().location | ||
|
||
param teamName string | ||
|
||
@secure() | ||
param username string | ||
|
||
@secure() | ||
param password string | ||
|
||
resource containerRegistry 'Microsoft.ContainerRegistry/registries@2023-07-01' = { | ||
name: teamName | ||
location: location | ||
sku: { | ||
name: 'Basic' | ||
} | ||
properties: { | ||
adminUserEnabled: true | ||
} | ||
} | ||
|
||
resource mySQLdb 'Microsoft.DBforMySQL/flexibleServers@2023-12-30' = { | ||
name: '${teamName}-db' | ||
location: location | ||
properties: { | ||
administratorLogin: username | ||
administratorLoginPassword: password | ||
createMode: 'Default' | ||
} | ||
} | ||
|
||
resource firewall 'Microsoft.DBforMySQL/flexibleServers/firewallRules@2023-12-30' = { | ||
name: 'firewallrules' | ||
parent: mySQLdb | ||
properties: { | ||
endIpAddress: '255.255.255.255' | ||
startIpAddress: '0.0.0.0' | ||
} | ||
} |
Oops, something went wrong.