File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,43 @@ Tags :
122
122
123
123
This command updates a database named Database01 to set its max size to 1 TB.
124
124
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
+
125
162
## PARAMETERS
126
163
127
164
### -AsJob
@@ -241,6 +278,7 @@ The acceptable values for this parameter are:
241
278
- Free
242
279
- Stretch
243
280
- GeneralPurpose
281
+ - Hyperscale
244
282
- BusinessCritical
245
283
246
284
` ` ` yaml
You can’t perform that action at this time.
0 commit comments