mssql

package
v0.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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.

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 `max_size_gb`.

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 `max_size_bytes`.

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 `per_database_settings` 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 `max_size_gb`.
	MaxSizeBytes interface{}
	// The max data size of the elastic pool in gigabytes. Conflicts with `max_size_bytes`.
	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 `per_database_settings` 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 `max_size_gb`.
	MaxSizeBytes interface{}
	// The max data size of the elastic pool in gigabytes. Conflicts with `max_size_bytes`.
	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 `per_database_settings` 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL