Skip to content

Commit

Permalink
Add SQL database resource id to environment (Azure#655)
Browse files Browse the repository at this point in the history
Co-authored-by: Joel Hendrix <[email protected]>
  • Loading branch information
feiyushi and jhendrixMSFT authored Sep 10, 2021
1 parent 1417ae2 commit 492f94b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions autorest/azure/environments.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ type ResourceIdentifier struct {
Storage string `json:"storage"`
Synapse string `json:"synapse"`
ServiceBus string `json:"serviceBus"`
SQLDatabase string `json:"sqlDatabase"`
}

// Environment represents a set of endpoints for each of Azure's Clouds.
Expand Down Expand Up @@ -121,6 +122,7 @@ var (
Storage: "https://storage.azure.com/",
Synapse: "https://dev.azuresynapse.net",
ServiceBus: "https://servicebus.azure.net/",
SQLDatabase: "https://database.windows.net/",
},
}

Expand Down Expand Up @@ -162,6 +164,7 @@ var (
Storage: "https://storage.azure.com/",
Synapse: NotAvailable,
ServiceBus: "https://servicebus.azure.net/",
SQLDatabase: "https://database.usgovcloudapi.net/",
},
}

Expand Down Expand Up @@ -203,6 +206,7 @@ var (
Storage: "https://storage.azure.com/",
Synapse: "https://dev.azuresynapse.net",
ServiceBus: "https://servicebus.azure.net/",
SQLDatabase: "https://database.chinacloudapi.cn/",
},
}

Expand Down Expand Up @@ -244,6 +248,7 @@ var (
Storage: "https://storage.azure.com/",
Synapse: NotAvailable,
ServiceBus: "https://servicebus.azure.net/",
SQLDatabase: "https://database.cloudapi.de/",
},
}
)
Expand Down

0 comments on commit 492f94b

Please sign in to comment.