Show / Hide Table of Contents

Class ElasticPool

Allows you to manage an Azure SQL Elastic Pool via the v3.0 API which allows for vCore and DTU based configurations.

Inheritance
System.Object
Resource
CustomResource
ElasticPool
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.MSSql
Assembly: Pulumi.Azure.dll
Syntax
public class ElasticPool : CustomResource

Constructors

View Source

ElasticPool(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 Source

LicenseType

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

PerDatabaseSettings

A per_database_settings block as defined below.

Declaration
public Output<ElasticPoolPerDatabaseSettings> PerDatabaseSettings { get; }
Property Value
Type Description
Output<ElasticPoolPerDatabaseSettings>
View Source

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>
View Source

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>
View Source

Sku

A sku block as defined below.

Declaration
public Output<ElasticPoolSku> Sku { get; }
Property Value
Type Description
Output<ElasticPoolSku>
View Source

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>>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.