Skip to content

Commit

Permalink
azurerm_mssql_elasticpool - support the sku name HS_MOPRMS and sku fa…
Browse files Browse the repository at this point in the history
…mily MOPRMS (#27085)

* Added Hyperscale MOPRMS config for azurerm_mssql_elasticpool

* Added missing comma from documentation

* Added missing comma from documentation

---------

Co-authored-by: Jack Crawford <[email protected]>
  • Loading branch information
crawfs and Jack Crawford authored Aug 19, 2024
1 parent 8daa8c4 commit efe6682
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions internal/services/mssql/mssql_elasticpool_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ func resourceMsSqlElasticPool() *pluginsdk.Resource {
"BC_DC",
"HS_Gen5",
"HS_PRMS",
"HS_MOPRMS",
}, false),
},

Expand Down Expand Up @@ -121,6 +122,7 @@ func resourceMsSqlElasticPool() *pluginsdk.Resource {
"Gen5",
"Fsv2",
"DC",
"MOPRMS",
}, false),
},
},
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/mssql_elasticpool.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,13 @@ The following arguments are supported:

The `sku` block supports the following:

* `name` - (Required) Specifies the SKU Name for this Elasticpool. The name of the SKU, will be either `vCore` based or `DTU` based. Possible `DTU` based values are `BasicPool`, `StandardPool`, `PremiumPool` while possible `vCore` based values are `GP_Gen4`, `GP_Gen5`, `GP_Fsv2`, `GP_DC`, `BC_Gen4`, `BC_Gen5`, `BC_DC`, `HS_PRMS`, or `HS_Gen5`.
* `name` - (Required) Specifies the SKU Name for this Elasticpool. The name of the SKU, will be either `vCore` based or `DTU` based. Possible `DTU` based values are `BasicPool`, `StandardPool`, `PremiumPool` while possible `vCore` based values are `GP_Gen4`, `GP_Gen5`, `GP_Fsv2`, `GP_DC`, `BC_Gen4`, `BC_Gen5`, `BC_DC`, `HS_PRMS`, `HS_MOPRMS`, or `HS_Gen5`.

* `capacity` - (Required) The scale up/out capacity, representing server's compute units. For more information see the documentation for your Elasticpool configuration: [vCore-based](https://docs.microsoft.com/azure/sql-database/sql-database-vcore-resource-limits-elastic-pools) or [DTU-based](https://docs.microsoft.com/azure/sql-database/sql-database-dtu-resource-limits-elastic-pools).

* `tier` - (Required) The tier of the particular SKU. Possible values are `GeneralPurpose`, `BusinessCritical`, `Basic`, `Standard`, `Premium`, or `HyperScale`. For more information see the documentation for your Elasticpool configuration: [vCore-based](https://docs.microsoft.com/azure/sql-database/sql-database-vcore-resource-limits-elastic-pools) or [DTU-based](https://docs.microsoft.com/azure/sql-database/sql-database-dtu-resource-limits-elastic-pools).

* `family` - (Optional) The `family` of hardware `Gen4`, `Gen5`, `Fsv2` or `DC`.
* `family` - (Optional) The `family` of hardware `Gen4`, `Gen5`, `Fsv2`, `MOPRMS`, or `DC`.

---

Expand Down

0 comments on commit efe6682

Please sign in to comment.