Azure / Azure/azure-libraries-for-java
[Design]: SQL Database flow has ImportFrom sub-flow which does not have clear flow end stage
- Dominant language
- Java
- Stars
- 97
- Forks
- 102
- PR merge metrics
- No merged PRs in 30d
Description
here is the sample from CR:
```
var dbFromImport = sqlServer.Databases
.Define("db-from-import1")
.DefineElasticPool("epi")
.WithStandardPool()
.Attach()
.ImportFrom(storageAccount, "from-sample", "dbfromsample.bacpac")
.WithSqlAdministratorLoginAndPassword(administratorLogin, administratorPassword)
.Create();
```
I think it would be better to have define.....Apply/Attach flow instead of ImportFrom which I read as a single statement and then the next line `WithSqlAdministratorLoginAndPassword` for me is related to database definition and not to Import configuration.
Contributor guide
Assessment
This issue has not been assessed yet.