Azure / Azure/azure-libraries-for-java

[Design]: SQL Database flow has ImportFrom sub-flow which does not have clear flow end stage

Open
#217 0 comments 0 reactions 1 assignee Assigned to @milismsft View on GitHub
feature-request SQL
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.