Skip to content
This repository was archived by the owner on Feb 12, 2025. It is now read-only.

Commit 492f94b

Browse files
Add SQL database resource id to environment (#655)
Co-authored-by: Joel Hendrix <[email protected]>
1 parent 1417ae2 commit 492f94b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

autorest/azure/environments.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ type ResourceIdentifier struct {
4949
Storage string `json:"storage"`
5050
Synapse string `json:"synapse"`
5151
ServiceBus string `json:"serviceBus"`
52+
SQLDatabase string `json:"sqlDatabase"`
5253
}
5354

5455
// Environment represents a set of endpoints for each of Azure's Clouds.
@@ -121,6 +122,7 @@ var (
121122
Storage: "https://storage.azure.com/",
122123
Synapse: "https://dev.azuresynapse.net",
123124
ServiceBus: "https://servicebus.azure.net/",
125+
SQLDatabase: "https://database.windows.net/",
124126
},
125127
}
126128

@@ -162,6 +164,7 @@ var (
162164
Storage: "https://storage.azure.com/",
163165
Synapse: NotAvailable,
164166
ServiceBus: "https://servicebus.azure.net/",
167+
SQLDatabase: "https://database.usgovcloudapi.net/",
165168
},
166169
}
167170

@@ -203,6 +206,7 @@ var (
203206
Storage: "https://storage.azure.com/",
204207
Synapse: "https://dev.azuresynapse.net",
205208
ServiceBus: "https://servicebus.azure.net/",
209+
SQLDatabase: "https://database.chinacloudapi.cn/",
206210
},
207211
}
208212

@@ -244,6 +248,7 @@ var (
244248
Storage: "https://storage.azure.com/",
245249
Synapse: NotAvailable,
246250
ServiceBus: "https://servicebus.azure.net/",
251+
SQLDatabase: "https://database.cloudapi.de/",
247252
},
248253
}
249254
)

0 commit comments

Comments
 (0)