Documentation ¶
Overview ¶
nolint: lll Package mssql exports types, functions, subpackages for provisioning mssql resources.
> This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-azurerm) > distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature, > first check the [`pulumi/pulumi-azure` repo](https://github.com/pulumi/pulumi-azure/issues); however, if that doesn't turn up anything, > please consult the source [`terraform-providers/terraform-provider-azurerm` repo](https://github.com/terraform-providers/terraform-provider-azurerm/issues).
Index ¶
- type ElasticPool
- func (r *ElasticPool) ElasticPoolProperties() *pulumi.Output
- func (r *ElasticPool) ID() *pulumi.IDOutput
- func (r *ElasticPool) Location() *pulumi.StringOutput
- func (r *ElasticPool) MaxSizeBytes() *pulumi.IntOutput
- func (r *ElasticPool) MaxSizeGb() *pulumi.Float64Output
- func (r *ElasticPool) Name() *pulumi.StringOutput
- func (r *ElasticPool) PerDatabaseSettings() *pulumi.Output
- func (r *ElasticPool) ResourceGroupName() *pulumi.StringOutput
- func (r *ElasticPool) ServerName() *pulumi.StringOutput
- func (r *ElasticPool) Sku() *pulumi.Output
- func (r *ElasticPool) Tags() *pulumi.MapOutput
- func (r *ElasticPool) URN() *pulumi.URNOutput
- func (r *ElasticPool) ZoneRedundant() *pulumi.BoolOutput
- type ElasticPoolArgs
- type ElasticPoolState
- type GetElasticPoolArgs
- type GetElasticPoolResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ElasticPool ¶
type ElasticPool struct {
// contains filtered or unexported fields
}
Allows you to manage an Azure SQL Elastic Pool via the `2017-10-01-preview` API which allows for `vCore` and `DTU` based configurations.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/mssql_elasticpool.html.markdown.
func GetElasticPool ¶
func GetElasticPool(ctx *pulumi.Context, name string, id pulumi.ID, state *ElasticPoolState, opts ...pulumi.ResourceOpt) (*ElasticPool, error)
GetElasticPool gets an existing ElasticPool resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewElasticPool ¶
func NewElasticPool(ctx *pulumi.Context, name string, args *ElasticPoolArgs, opts ...pulumi.ResourceOpt) (*ElasticPool, error)
NewElasticPool registers a new resource with the given unique name, arguments, and options.
func (*ElasticPool) ElasticPoolProperties ¶
func (r *ElasticPool) ElasticPoolProperties() *pulumi.Output
func (*ElasticPool) ID ¶
func (r *ElasticPool) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*ElasticPool) Location ¶
func (r *ElasticPool) Location() *pulumi.StringOutput
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
func (*ElasticPool) MaxSizeBytes ¶ added in v0.16.6
func (r *ElasticPool) MaxSizeBytes() *pulumi.IntOutput
The max data size of the elastic pool in bytes. Conflicts with `maxSizeGb`.
func (*ElasticPool) MaxSizeGb ¶ added in v0.16.8
func (r *ElasticPool) MaxSizeGb() *pulumi.Float64Output
The max data size of the elastic pool in gigabytes. Conflicts with `maxSizeBytes`.
func (*ElasticPool) Name ¶
func (r *ElasticPool) Name() *pulumi.StringOutput
Specifies the SKU Name for this Elasticpool. The name of the SKU, will be either `vCore` based `tier` + `family` pattern (e.g. GP_Gen4, BC_Gen5) or the `DTU` based `BasicPool`, `StandardPool`, or `PremiumPool` pattern.
func (*ElasticPool) PerDatabaseSettings ¶
func (r *ElasticPool) PerDatabaseSettings() *pulumi.Output
A `perDatabaseSettings` block as defined below.
func (*ElasticPool) ResourceGroupName ¶
func (r *ElasticPool) ResourceGroupName() *pulumi.StringOutput
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.
func (*ElasticPool) ServerName ¶
func (r *ElasticPool) ServerName() *pulumi.StringOutput
The name of the SQL Server on which to create the elastic pool. Changing this forces a new resource to be created.
func (*ElasticPool) Sku ¶
func (r *ElasticPool) Sku() *pulumi.Output
A `sku` block as defined below.
func (*ElasticPool) Tags ¶
func (r *ElasticPool) Tags() *pulumi.MapOutput
A mapping of tags to assign to the resource.
func (*ElasticPool) URN ¶
func (r *ElasticPool) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
func (*ElasticPool) ZoneRedundant ¶ added in v0.16.6
func (r *ElasticPool) ZoneRedundant() *pulumi.BoolOutput
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`.
type ElasticPoolArgs ¶
type ElasticPoolArgs struct { // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location interface{} // The max data size of the elastic pool in bytes. Conflicts with `maxSizeGb`. MaxSizeBytes interface{} // The max data size of the elastic pool in gigabytes. Conflicts with `maxSizeBytes`. MaxSizeGb interface{} // Specifies the SKU Name for this Elasticpool. The name of the SKU, will be either `vCore` based `tier` + `family` pattern (e.g. GP_Gen4, BC_Gen5) or the `DTU` based `BasicPool`, `StandardPool`, or `PremiumPool` pattern. Name interface{} // A `perDatabaseSettings` block as defined below. PerDatabaseSettings interface{} // 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. ResourceGroupName interface{} // The name of the SQL Server on which to create the elastic pool. Changing this forces a new resource to be created. ServerName interface{} // A `sku` block as defined below. Sku interface{} // A mapping of tags to assign to the resource. Tags interface{} // 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`. ZoneRedundant interface{} }
The set of arguments for constructing a ElasticPool resource.
type ElasticPoolState ¶
type ElasticPoolState struct { ElasticPoolProperties interface{} // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location interface{} // The max data size of the elastic pool in bytes. Conflicts with `maxSizeGb`. MaxSizeBytes interface{} // The max data size of the elastic pool in gigabytes. Conflicts with `maxSizeBytes`. MaxSizeGb interface{} // Specifies the SKU Name for this Elasticpool. The name of the SKU, will be either `vCore` based `tier` + `family` pattern (e.g. GP_Gen4, BC_Gen5) or the `DTU` based `BasicPool`, `StandardPool`, or `PremiumPool` pattern. Name interface{} // A `perDatabaseSettings` block as defined below. PerDatabaseSettings interface{} // 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. ResourceGroupName interface{} // The name of the SQL Server on which to create the elastic pool. Changing this forces a new resource to be created. ServerName interface{} // A `sku` block as defined below. Sku interface{} // A mapping of tags to assign to the resource. Tags interface{} // 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`. ZoneRedundant interface{} }
Input properties used for looking up and filtering ElasticPool resources.
type GetElasticPoolArgs ¶ added in v1.0.0
type GetElasticPoolArgs struct { // The name of the elastic pool. Name interface{} // The name of the resource group which contains the elastic pool. ResourceGroupName interface{} // The name of the SQL Server which contains the elastic pool. ServerName interface{} }
A collection of arguments for invoking getElasticPool.
type GetElasticPoolResult ¶ added in v1.0.0
type GetElasticPoolResult struct { // Specifies the supported Azure location where the resource exists. Location interface{} // The max data size of the elastic pool in bytes. MaxSizeBytes interface{} // The max data size of the elastic pool in gigabytes. MaxSizeGb interface{} Name interface{} // The maximum capacity any one database can consume. PerDbMaxCapacity interface{} // The minimum capacity all databases are guaranteed. PerDbMinCapacity interface{} ResourceGroupName interface{} ServerName interface{} // A mapping of tags to assign to the resource. Tags interface{} // Whether or not this elastic pool is zone redundant. ZoneRedundant interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getElasticPool.
func LookupElasticPool ¶ added in v1.0.0
func LookupElasticPool(ctx *pulumi.Context, args *GetElasticPoolArgs) (*GetElasticPoolResult, error)
Use this data source to access information about an existing SQL elastic pool.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/mssql_elasticpool.html.markdown.