Skip to content

Commit 358af6f

Browse files
authored
Update Set-AzSqlDatabase.md (#13674)
Added an example for Hyperscale and updated the edition for Hyperscale
1 parent ce2f5dd commit 358af6f

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

src/Sql/Sql/help/Set-AzSqlDatabase.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,43 @@ Tags :
122122

123123
This command updates a database named Database01 to set its max size to 1 TB.
124124

125+
### Example 4: Update a existing General Purpose database to Hyperscale service tier
126+
```
127+
PS C:\>Set-AzSqlDatabase -ResourceGroupName "ResourceGroup01" -DatabaseName "Database01" -ServerName "Server01" -Edition "Hyperscale" -RequestedServiceObjectiveName "HS_Gen5_2"
128+
ResourceGroupName : ResourceGroup01
129+
ServerName : Server01
130+
DatabaseName : Database01
131+
Location : Central US
132+
DatabaseId : 56246136-839f-4171-80af-4c28142463b1
133+
Edition : Hyperscale
134+
CollationName : SQL_Latin1_General_CP1_CI_AS
135+
CatalogCollation :
136+
MaxSizeBytes : -1
137+
Status : Online
138+
CreationDate : 12/6/2020 5:34:16 PM
139+
CurrentServiceObjectiveId : 00000000-0000-0000-0000-000000000000
140+
CurrentServiceObjectiveName : HS_Gen5_2
141+
RequestedServiceObjectiveName : HS_Gen5_2
142+
RequestedServiceObjectiveId :
143+
ElasticPoolName :
144+
EarliestRestoreDate : 12/6/2020 5:34:16 PM
145+
Tags : {}
146+
ResourceId : /subscriptions/xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx/resourceGroups/ResourceGroup01/providers/Microsoft.Sql/servers/Server01/databases/Database01
147+
CreateMode :
148+
ReadScale : Enabled
149+
ZoneRedundant :
150+
Capacity : 2
151+
Family : Gen5
152+
SkuName : HS_Gen5
153+
LicenseType : LicenseIncluded
154+
AutoPauseDelayInMinutes :
155+
MinimumCapacity :
156+
ReadReplicaCount : 1
157+
BackupStorageRedundancy : Geo
158+
```
159+
160+
This command updates a database named Database01 from General Purpose to Hyperscale service tier.
161+
125162
## PARAMETERS
126163

127164
### -AsJob
@@ -241,6 +278,7 @@ The acceptable values for this parameter are:
241278
- Free
242279
- Stretch
243280
- GeneralPurpose
281+
- Hyperscale
244282
- BusinessCritical
245283
246284
```yaml

0 commit comments

Comments
 (0)