Skip to content

Commit

Permalink
[AutoPR sql/resource-manager] Improve documentation of sql database &…
Browse files Browse the repository at this point in the history
… elastic pool skus (#4659)

* Generated from e9cd7abc0b53f101c96bf099d197daacafdc5049

Fixed syntax error in elasticPools 2017-10-01

* Generated from ab50c9bae36ff1a9b11efda63a3a400a674fe40f

Remove DW DTU capacity example due to feedback

* Generated from 6690d07ca931ea6321bdbacdf241528248a87caa

Fixed broken Sku reference

* Generated from 20ffeb28a6971fd17d75c1fb94c561e3182c7e67

Additional doc tweaks
  • Loading branch information
AutorestCI authored and jhendrixMSFT committed May 6, 2019
1 parent 97fdb33 commit e8d817a
Show file tree
Hide file tree
Showing 7 changed files with 240 additions and 72 deletions.
33 changes: 19 additions & 14 deletions profiles/latest/sql/mgmt/sql/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,25 +55,30 @@ const (
type DatabaseEdition = original.DatabaseEdition

const (
Basic DatabaseEdition = original.Basic
Business DatabaseEdition = original.Business
DataWarehouse DatabaseEdition = original.DataWarehouse
Free DatabaseEdition = original.Free
Premium DatabaseEdition = original.Premium
PremiumRS DatabaseEdition = original.PremiumRS
Standard DatabaseEdition = original.Standard
Stretch DatabaseEdition = original.Stretch
System DatabaseEdition = original.System
System2 DatabaseEdition = original.System2
Web DatabaseEdition = original.Web
Basic DatabaseEdition = original.Basic
Business DatabaseEdition = original.Business
BusinessCritical DatabaseEdition = original.BusinessCritical
DataWarehouse DatabaseEdition = original.DataWarehouse
Free DatabaseEdition = original.Free
GeneralPurpose DatabaseEdition = original.GeneralPurpose
Hyperscale DatabaseEdition = original.Hyperscale
Premium DatabaseEdition = original.Premium
PremiumRS DatabaseEdition = original.PremiumRS
Standard DatabaseEdition = original.Standard
Stretch DatabaseEdition = original.Stretch
System DatabaseEdition = original.System
System2 DatabaseEdition = original.System2
Web DatabaseEdition = original.Web
)

type ElasticPoolEdition = original.ElasticPoolEdition

const (
ElasticPoolEditionBasic ElasticPoolEdition = original.ElasticPoolEditionBasic
ElasticPoolEditionPremium ElasticPoolEdition = original.ElasticPoolEditionPremium
ElasticPoolEditionStandard ElasticPoolEdition = original.ElasticPoolEditionStandard
ElasticPoolEditionBasic ElasticPoolEdition = original.ElasticPoolEditionBasic
ElasticPoolEditionBusinessCritical ElasticPoolEdition = original.ElasticPoolEditionBusinessCritical
ElasticPoolEditionGeneralPurpose ElasticPoolEdition = original.ElasticPoolEditionGeneralPurpose
ElasticPoolEditionPremium ElasticPoolEdition = original.ElasticPoolEditionPremium
ElasticPoolEditionStandard ElasticPoolEdition = original.ElasticPoolEditionStandard
)

type ElasticPoolState = original.ElasticPoolState
Expand Down
38 changes: 20 additions & 18 deletions profiles/preview/preview/sql/mgmt/sql/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,24 +85,26 @@ const (
type DatabaseStatus = original.DatabaseStatus

const (
AutoClosed DatabaseStatus = original.AutoClosed
Copying DatabaseStatus = original.Copying
Creating DatabaseStatus = original.Creating
EmergencyMode DatabaseStatus = original.EmergencyMode
Inaccessible DatabaseStatus = original.Inaccessible
Offline DatabaseStatus = original.Offline
OfflineSecondary DatabaseStatus = original.OfflineSecondary
Online DatabaseStatus = original.Online
Paused DatabaseStatus = original.Paused
Pausing DatabaseStatus = original.Pausing
Recovering DatabaseStatus = original.Recovering
RecoveryPending DatabaseStatus = original.RecoveryPending
Restoring DatabaseStatus = original.Restoring
Resuming DatabaseStatus = original.Resuming
Scaling DatabaseStatus = original.Scaling
Shutdown DatabaseStatus = original.Shutdown
Standby DatabaseStatus = original.Standby
Suspect DatabaseStatus = original.Suspect
AutoClosed DatabaseStatus = original.AutoClosed
Copying DatabaseStatus = original.Copying
Creating DatabaseStatus = original.Creating
EmergencyMode DatabaseStatus = original.EmergencyMode
Inaccessible DatabaseStatus = original.Inaccessible
Offline DatabaseStatus = original.Offline
OfflineChangingDwPerformanceTiers DatabaseStatus = original.OfflineChangingDwPerformanceTiers
OfflineSecondary DatabaseStatus = original.OfflineSecondary
Online DatabaseStatus = original.Online
OnlineChangingDwPerformanceTiers DatabaseStatus = original.OnlineChangingDwPerformanceTiers
Paused DatabaseStatus = original.Paused
Pausing DatabaseStatus = original.Pausing
Recovering DatabaseStatus = original.Recovering
RecoveryPending DatabaseStatus = original.RecoveryPending
Restoring DatabaseStatus = original.Restoring
Resuming DatabaseStatus = original.Resuming
Scaling DatabaseStatus = original.Scaling
Shutdown DatabaseStatus = original.Shutdown
Standby DatabaseStatus = original.Standby
Suspect DatabaseStatus = original.Suspect
)

type ElasticPoolLicenseType = original.ElasticPoolLicenseType
Expand Down
33 changes: 19 additions & 14 deletions profiles/preview/sql/mgmt/sql/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,25 +55,30 @@ const (
type DatabaseEdition = original.DatabaseEdition

const (
Basic DatabaseEdition = original.Basic
Business DatabaseEdition = original.Business
DataWarehouse DatabaseEdition = original.DataWarehouse
Free DatabaseEdition = original.Free
Premium DatabaseEdition = original.Premium
PremiumRS DatabaseEdition = original.PremiumRS
Standard DatabaseEdition = original.Standard
Stretch DatabaseEdition = original.Stretch
System DatabaseEdition = original.System
System2 DatabaseEdition = original.System2
Web DatabaseEdition = original.Web
Basic DatabaseEdition = original.Basic
Business DatabaseEdition = original.Business
BusinessCritical DatabaseEdition = original.BusinessCritical
DataWarehouse DatabaseEdition = original.DataWarehouse
Free DatabaseEdition = original.Free
GeneralPurpose DatabaseEdition = original.GeneralPurpose
Hyperscale DatabaseEdition = original.Hyperscale
Premium DatabaseEdition = original.Premium
PremiumRS DatabaseEdition = original.PremiumRS
Standard DatabaseEdition = original.Standard
Stretch DatabaseEdition = original.Stretch
System DatabaseEdition = original.System
System2 DatabaseEdition = original.System2
Web DatabaseEdition = original.Web
)

type ElasticPoolEdition = original.ElasticPoolEdition

const (
ElasticPoolEditionBasic ElasticPoolEdition = original.ElasticPoolEditionBasic
ElasticPoolEditionPremium ElasticPoolEdition = original.ElasticPoolEditionPremium
ElasticPoolEditionStandard ElasticPoolEdition = original.ElasticPoolEditionStandard
ElasticPoolEditionBasic ElasticPoolEdition = original.ElasticPoolEditionBasic
ElasticPoolEditionBusinessCritical ElasticPoolEdition = original.ElasticPoolEditionBusinessCritical
ElasticPoolEditionGeneralPurpose ElasticPoolEdition = original.ElasticPoolEditionGeneralPurpose
ElasticPoolEditionPremium ElasticPoolEdition = original.ElasticPoolEditionPremium
ElasticPoolEditionStandard ElasticPoolEdition = original.ElasticPoolEditionStandard
)

type ElasticPoolState = original.ElasticPoolState
Expand Down
Loading

0 comments on commit e8d817a

Please sign in to comment.