Class ElasticPool
Allows you to manage an Azure SQL Elastic Pool via the v3.0 API which allows for vCore and DTU based configurations.
Inherited Members
Namespace: Pulumi.Azure.MSSql
Assembly: Pulumi.Azure.dll
Syntax
public class ElasticPool : CustomResource
Constructors
View SourceElasticPool(String, ElasticPoolArgs, CustomResourceOptions)
Create a ElasticPool resource with the given unique name, arguments, and options.
Declaration
public ElasticPool(string name, ElasticPoolArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ElasticPoolArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceLicenseType
Specifies the license type applied to this database. Possible values are LicenseIncluded and BasePrice.
Declaration
public Output<string> LicenseType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Location
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
Declaration
public Output<string> Location { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
MaxSizeBytes
The max data size of the elastic pool in bytes. Conflicts with max_size_gb.
Declaration
public Output<int> MaxSizeBytes { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
MaxSizeGb
The max data size of the elastic pool in gigabytes. Conflicts with max_size_bytes.
Declaration
public Output<double> MaxSizeGb { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Double> |
Name
The name of the elastic pool. This needs to be globally unique. Changing this forces a new resource to be created.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
PerDatabaseSettings
A per_database_settings block as defined below.
Declaration
public Output<ElasticPoolPerDatabaseSettings> PerDatabaseSettings { get; }
Property Value
| Type | Description |
|---|---|
| Output<ElasticPoolPerDatabaseSettings> |
ResourceGroupName
The name of the resource group in which to create the elastic pool. This must be the same as the resource group of the underlying SQL server.
Declaration
public Output<string> ResourceGroupName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ServerName
The name of the SQL Server on which to create the elastic pool. Changing this forces a new resource to be created.
Declaration
public Output<string> ServerName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Sku
A sku block as defined below.
Declaration
public Output<ElasticPoolSku> Sku { get; }
Property Value
| Type | Description |
|---|---|
| Output<ElasticPoolSku> |
Tags
A mapping of tags to assign to the resource.
Declaration
public Output<ImmutableDictionary<string, string>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>> |
ZoneRedundant
Whether or not this elastic pool is zone redundant. tier needs to be Premium for DTU based or BusinessCritical for vCore based sku. Defaults to false.
Declaration
public Output<bool?> ZoneRedundant { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
Methods
View SourceGet(String, Input<String>, ElasticPoolState, CustomResourceOptions)
Get an existing ElasticPool resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static ElasticPool Get(string name, Input<string> id, ElasticPoolState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ElasticPoolState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| ElasticPool |