mariadb

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration added in v1.0.0

type Configuration struct {
	pulumi.CustomResourceState

	// Specifies the name of the MariaDB Configuration, which needs [to be a valid MariaDB configuration name](https://mariadb.com/kb/en/library/server-system-variables/). Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which the MariaDB Server exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// Specifies the name of the MariaDB Server. Changing this forces a new resource to be created.
	ServerName pulumi.StringOutput `pulumi:"serverName"`
	// Specifies the value of the MariaDB Configuration. See the MariaDB documentation for valid values.
	Value pulumi.StringOutput `pulumi:"value"`
}

Sets a MariaDB Configuration value on a MariaDB Server.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/mariadb_configuration.html.markdown.

func GetConfiguration added in v1.0.0

func GetConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConfigurationState, opts ...pulumi.ResourceOption) (*Configuration, error)

GetConfiguration gets an existing Configuration 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 NewConfiguration added in v1.0.0

func NewConfiguration(ctx *pulumi.Context,
	name string, args *ConfigurationArgs, opts ...pulumi.ResourceOption) (*Configuration, error)

NewConfiguration registers a new resource with the given unique name, arguments, and options.

type ConfigurationArgs added in v1.0.0

type ConfigurationArgs struct {
	// Specifies the name of the MariaDB Configuration, which needs [to be a valid MariaDB configuration name](https://mariadb.com/kb/en/library/server-system-variables/). Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the MariaDB Server exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// Specifies the name of the MariaDB Server. Changing this forces a new resource to be created.
	ServerName pulumi.StringInput
	// Specifies the value of the MariaDB Configuration. See the MariaDB documentation for valid values.
	Value pulumi.StringInput
}

The set of arguments for constructing a Configuration resource.

func (ConfigurationArgs) ElementType added in v1.12.0

func (ConfigurationArgs) ElementType() reflect.Type

type ConfigurationState added in v1.0.0

type ConfigurationState struct {
	// Specifies the name of the MariaDB Configuration, which needs [to be a valid MariaDB configuration name](https://mariadb.com/kb/en/library/server-system-variables/). Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the MariaDB Server exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// Specifies the name of the MariaDB Server. Changing this forces a new resource to be created.
	ServerName pulumi.StringPtrInput
	// Specifies the value of the MariaDB Configuration. See the MariaDB documentation for valid values.
	Value pulumi.StringPtrInput
}

func (ConfigurationState) ElementType added in v1.12.0

func (ConfigurationState) ElementType() reflect.Type

type Database

type Database struct {
	pulumi.CustomResourceState

	// Specifies the Charset for the MariaDB Database, which needs [to be a valid MariaDB Charset](https://mariadb.com/kb/en/library/setting-character-sets-and-collations). Changing this forces a new resource to be created.
	Charset pulumi.StringOutput `pulumi:"charset"`
	// Specifies the Collation for the MariaDB Database, which needs [to be a valid MariaDB Collation](https://mariadb.com/kb/en/library/setting-character-sets-and-collations). Changing this forces a new resource to be created.
	Collation pulumi.StringOutput `pulumi:"collation"`
	// Specifies the name of the MariaDB Database, which needs [to be a valid MariaDB identifier](https://mariadb.com/kb/en/library/identifier-names/). Changing this forces a
	// new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which the MariaDB Server exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// Specifies the name of the MariaDB Server. Changing this forces a new resource to be created.
	ServerName pulumi.StringOutput `pulumi:"serverName"`
}

Manages a MariaDB Database within a MariaDB Server

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/mariadb_database.html.markdown.

func GetDatabase

func GetDatabase(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatabaseState, opts ...pulumi.ResourceOption) (*Database, error)

GetDatabase gets an existing Database 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 NewDatabase

func NewDatabase(ctx *pulumi.Context,
	name string, args *DatabaseArgs, opts ...pulumi.ResourceOption) (*Database, error)

NewDatabase registers a new resource with the given unique name, arguments, and options.

type DatabaseArgs

type DatabaseArgs struct {
	// Specifies the Charset for the MariaDB Database, which needs [to be a valid MariaDB Charset](https://mariadb.com/kb/en/library/setting-character-sets-and-collations). Changing this forces a new resource to be created.
	Charset pulumi.StringInput
	// Specifies the Collation for the MariaDB Database, which needs [to be a valid MariaDB Collation](https://mariadb.com/kb/en/library/setting-character-sets-and-collations). Changing this forces a new resource to be created.
	Collation pulumi.StringInput
	// Specifies the name of the MariaDB Database, which needs [to be a valid MariaDB identifier](https://mariadb.com/kb/en/library/identifier-names/). Changing this forces a
	// new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the MariaDB Server exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// Specifies the name of the MariaDB Server. Changing this forces a new resource to be created.
	ServerName pulumi.StringInput
}

The set of arguments for constructing a Database resource.

func (DatabaseArgs) ElementType added in v1.12.0

func (DatabaseArgs) ElementType() reflect.Type

type DatabaseState

type DatabaseState struct {
	// Specifies the Charset for the MariaDB Database, which needs [to be a valid MariaDB Charset](https://mariadb.com/kb/en/library/setting-character-sets-and-collations). Changing this forces a new resource to be created.
	Charset pulumi.StringPtrInput
	// Specifies the Collation for the MariaDB Database, which needs [to be a valid MariaDB Collation](https://mariadb.com/kb/en/library/setting-character-sets-and-collations). Changing this forces a new resource to be created.
	Collation pulumi.StringPtrInput
	// Specifies the name of the MariaDB Database, which needs [to be a valid MariaDB identifier](https://mariadb.com/kb/en/library/identifier-names/). Changing this forces a
	// new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the MariaDB Server exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// Specifies the name of the MariaDB Server. Changing this forces a new resource to be created.
	ServerName pulumi.StringPtrInput
}

func (DatabaseState) ElementType added in v1.12.0

func (DatabaseState) ElementType() reflect.Type

type FirewallRule added in v0.19.1

type FirewallRule struct {
	pulumi.CustomResourceState

	// Specifies the End IP Address associated with this Firewall Rule. Changing this forces a new resource to be created.
	EndIpAddress pulumi.StringOutput `pulumi:"endIpAddress"`
	// Specifies the name of the MariaDB Firewall Rule. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which the MariaDB Server exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// Specifies the name of the MariaDB Server. Changing this forces a new resource to be created.
	ServerName pulumi.StringOutput `pulumi:"serverName"`
	// Specifies the Start IP Address associated with this Firewall Rule. Changing this forces a new resource to be created.
	StartIpAddress pulumi.StringOutput `pulumi:"startIpAddress"`
}

Manages a Firewall Rule for a MariaDB Server

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/mariadb_firewall_rule.html.markdown.

func GetFirewallRule added in v0.19.1

func GetFirewallRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FirewallRuleState, opts ...pulumi.ResourceOption) (*FirewallRule, error)

GetFirewallRule gets an existing FirewallRule 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 NewFirewallRule added in v0.19.1

func NewFirewallRule(ctx *pulumi.Context,
	name string, args *FirewallRuleArgs, opts ...pulumi.ResourceOption) (*FirewallRule, error)

NewFirewallRule registers a new resource with the given unique name, arguments, and options.

type FirewallRuleArgs added in v0.19.1

type FirewallRuleArgs struct {
	// Specifies the End IP Address associated with this Firewall Rule. Changing this forces a new resource to be created.
	EndIpAddress pulumi.StringInput
	// Specifies the name of the MariaDB Firewall Rule. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the MariaDB Server exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// Specifies the name of the MariaDB Server. Changing this forces a new resource to be created.
	ServerName pulumi.StringInput
	// Specifies the Start IP Address associated with this Firewall Rule. Changing this forces a new resource to be created.
	StartIpAddress pulumi.StringInput
}

The set of arguments for constructing a FirewallRule resource.

func (FirewallRuleArgs) ElementType added in v1.12.0

func (FirewallRuleArgs) ElementType() reflect.Type

type FirewallRuleState added in v0.19.1

type FirewallRuleState struct {
	// Specifies the End IP Address associated with this Firewall Rule. Changing this forces a new resource to be created.
	EndIpAddress pulumi.StringPtrInput
	// Specifies the name of the MariaDB Firewall Rule. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the MariaDB Server exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// Specifies the name of the MariaDB Server. Changing this forces a new resource to be created.
	ServerName pulumi.StringPtrInput
	// Specifies the Start IP Address associated with this Firewall Rule. Changing this forces a new resource to be created.
	StartIpAddress pulumi.StringPtrInput
}

func (FirewallRuleState) ElementType added in v1.12.0

func (FirewallRuleState) ElementType() reflect.Type

type GetMariaDbServerArgs added in v1.13.0

type GetMariaDbServerArgs struct {
	// The name of the MariaDB Server to retrieve information about.
	Name string `pulumi:"name"`
	// The name of the resource group where the MariaDB Server exists.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getMariaDbServer.

type GetMariaDbServerResult added in v1.13.0

type GetMariaDbServerResult struct {
	// The Administrator Login for the MariaDB Server.
	AdministratorLogin string `pulumi:"administratorLogin"`
	// The password associated with the `administratorLogin` for the MariaDB Server.
	AdministratorLoginPassword string `pulumi:"administratorLoginPassword"`
	// The FQDN of the MariaDB Server.
	Fqdn string `pulumi:"fqdn"`
	// id is the provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The Azure location where the resource exists.
	Location          string `pulumi:"location"`
	Name              string `pulumi:"name"`
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The SKU Name for this MariaDB Server.
	SkuName string `pulumi:"skuName"`
	// The SSL being enforced on connections.
	SslEnforcement string `pulumi:"sslEnforcement"`
	// A `storageProfile` block as defined below.
	StorageProfiles []GetMariaDbServerStorageProfile `pulumi:"storageProfiles"`
	// A mapping of tags assigned to the resource.
	// ---
	Tags map[string]string `pulumi:"tags"`
	// The version of MariaDB being used.
	Version string `pulumi:"version"`
}

A collection of values returned by getMariaDbServer.

func GetMariaDbServer added in v1.13.0

func GetMariaDbServer(ctx *pulumi.Context, args *GetMariaDbServerArgs, opts ...pulumi.InvokeOption) (*GetMariaDbServerResult, error)

Use this data source to access information about an existing MariaDB Server.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/mariadb_server.html.markdown.

type GetMariaDbServerStorageProfile added in v1.13.0

type GetMariaDbServerStorageProfile struct {
	// Whether autogrow is enabled or disabled for the storage.
	AutoGrow string `pulumi:"autoGrow"`
	// Backup retention days for the server.
	BackupRetentionDays int `pulumi:"backupRetentionDays"`
	// Whether Geo-redundant is enabled or not for server backup.
	GeoRedundantBackup string `pulumi:"geoRedundantBackup"`
	// The max storage allowed for a server.
	StorageMb int `pulumi:"storageMb"`
}

type GetMariaDbServerStorageProfileArgs added in v1.13.0

type GetMariaDbServerStorageProfileArgs struct {
	// Whether autogrow is enabled or disabled for the storage.
	AutoGrow pulumi.StringInput `pulumi:"autoGrow"`
	// Backup retention days for the server.
	BackupRetentionDays pulumi.IntInput `pulumi:"backupRetentionDays"`
	// Whether Geo-redundant is enabled or not for server backup.
	GeoRedundantBackup pulumi.StringInput `pulumi:"geoRedundantBackup"`
	// The max storage allowed for a server.
	StorageMb pulumi.IntInput `pulumi:"storageMb"`
}

func (GetMariaDbServerStorageProfileArgs) ElementType added in v1.13.0

func (GetMariaDbServerStorageProfileArgs) ToGetMariaDbServerStorageProfileOutput added in v1.13.0

func (i GetMariaDbServerStorageProfileArgs) ToGetMariaDbServerStorageProfileOutput() GetMariaDbServerStorageProfileOutput

func (GetMariaDbServerStorageProfileArgs) ToGetMariaDbServerStorageProfileOutputWithContext added in v1.13.0

func (i GetMariaDbServerStorageProfileArgs) ToGetMariaDbServerStorageProfileOutputWithContext(ctx context.Context) GetMariaDbServerStorageProfileOutput

type GetMariaDbServerStorageProfileArray added in v1.13.0

type GetMariaDbServerStorageProfileArray []GetMariaDbServerStorageProfileInput

func (GetMariaDbServerStorageProfileArray) ElementType added in v1.13.0

func (GetMariaDbServerStorageProfileArray) ToGetMariaDbServerStorageProfileArrayOutput added in v1.13.0

func (i GetMariaDbServerStorageProfileArray) ToGetMariaDbServerStorageProfileArrayOutput() GetMariaDbServerStorageProfileArrayOutput

func (GetMariaDbServerStorageProfileArray) ToGetMariaDbServerStorageProfileArrayOutputWithContext added in v1.13.0

func (i GetMariaDbServerStorageProfileArray) ToGetMariaDbServerStorageProfileArrayOutputWithContext(ctx context.Context) GetMariaDbServerStorageProfileArrayOutput

type GetMariaDbServerStorageProfileArrayInput added in v1.13.0

type GetMariaDbServerStorageProfileArrayInput interface {
	pulumi.Input

	ToGetMariaDbServerStorageProfileArrayOutput() GetMariaDbServerStorageProfileArrayOutput
	ToGetMariaDbServerStorageProfileArrayOutputWithContext(context.Context) GetMariaDbServerStorageProfileArrayOutput
}

type GetMariaDbServerStorageProfileArrayOutput added in v1.13.0

type GetMariaDbServerStorageProfileArrayOutput struct{ *pulumi.OutputState }

func (GetMariaDbServerStorageProfileArrayOutput) ElementType added in v1.13.0

func (GetMariaDbServerStorageProfileArrayOutput) Index added in v1.13.0

func (GetMariaDbServerStorageProfileArrayOutput) ToGetMariaDbServerStorageProfileArrayOutput added in v1.13.0

func (o GetMariaDbServerStorageProfileArrayOutput) ToGetMariaDbServerStorageProfileArrayOutput() GetMariaDbServerStorageProfileArrayOutput

func (GetMariaDbServerStorageProfileArrayOutput) ToGetMariaDbServerStorageProfileArrayOutputWithContext added in v1.13.0

func (o GetMariaDbServerStorageProfileArrayOutput) ToGetMariaDbServerStorageProfileArrayOutputWithContext(ctx context.Context) GetMariaDbServerStorageProfileArrayOutput

type GetMariaDbServerStorageProfileInput added in v1.13.0

type GetMariaDbServerStorageProfileInput interface {
	pulumi.Input

	ToGetMariaDbServerStorageProfileOutput() GetMariaDbServerStorageProfileOutput
	ToGetMariaDbServerStorageProfileOutputWithContext(context.Context) GetMariaDbServerStorageProfileOutput
}

type GetMariaDbServerStorageProfileOutput added in v1.13.0

type GetMariaDbServerStorageProfileOutput struct{ *pulumi.OutputState }

func (GetMariaDbServerStorageProfileOutput) AutoGrow added in v1.13.0

Whether autogrow is enabled or disabled for the storage.

func (GetMariaDbServerStorageProfileOutput) BackupRetentionDays added in v1.13.0

func (o GetMariaDbServerStorageProfileOutput) BackupRetentionDays() pulumi.IntOutput

Backup retention days for the server.

func (GetMariaDbServerStorageProfileOutput) ElementType added in v1.13.0

func (GetMariaDbServerStorageProfileOutput) GeoRedundantBackup added in v1.13.0

Whether Geo-redundant is enabled or not for server backup.

func (GetMariaDbServerStorageProfileOutput) StorageMb added in v1.13.0

The max storage allowed for a server.

func (GetMariaDbServerStorageProfileOutput) ToGetMariaDbServerStorageProfileOutput added in v1.13.0

func (o GetMariaDbServerStorageProfileOutput) ToGetMariaDbServerStorageProfileOutput() GetMariaDbServerStorageProfileOutput

func (GetMariaDbServerStorageProfileOutput) ToGetMariaDbServerStorageProfileOutputWithContext added in v1.13.0

func (o GetMariaDbServerStorageProfileOutput) ToGetMariaDbServerStorageProfileOutputWithContext(ctx context.Context) GetMariaDbServerStorageProfileOutput

type Server

type Server struct {
	pulumi.CustomResourceState

	// The Administrator Login for the MariaDB Server. Changing this forces a new resource to be created.
	AdministratorLogin pulumi.StringOutput `pulumi:"administratorLogin"`
	// The Password associated with the `administratorLogin` for the MariaDB Server.
	AdministratorLoginPassword pulumi.StringOutput `pulumi:"administratorLoginPassword"`
	// The FQDN of the MariaDB Server.
	Fqdn pulumi.StringOutput `pulumi:"fqdn"`
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the name of the MariaDB Server. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which to create the MariaDB Server. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	Sku               ServerSkuOutput     `pulumi:"sku"`
	// Specifies the SKU Name for this MariaDB Server. The name of the SKU, follows the `tier` + `family` + `cores` pattern (e.g. `B_Gen4_1`, `GP_Gen5_8`). For more information see the [product documentation](https://docs.microsoft.com/en-us/rest/api/mariadb/servers/create#sku).
	SkuName pulumi.StringOutput `pulumi:"skuName"`
	// Specifies if SSL should be enforced on connections. Possible values are `Enabled` and `Disabled`.
	SslEnforcement pulumi.StringOutput `pulumi:"sslEnforcement"`
	// A `storageProfile` block as defined below.
	StorageProfile ServerStorageProfileOutput `pulumi:"storageProfile"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Specifies the version of MariaDB to use. Possible values are `10.2` and `10.3`. Changing this forces a new resource to be created.
	Version pulumi.StringOutput `pulumi:"version"`
}

Manages a MariaDB Server.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/mariadb_server.html.markdown.

func GetServer

func GetServer(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServerState, opts ...pulumi.ResourceOption) (*Server, error)

GetServer gets an existing Server 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 NewServer

func NewServer(ctx *pulumi.Context,
	name string, args *ServerArgs, opts ...pulumi.ResourceOption) (*Server, error)

NewServer registers a new resource with the given unique name, arguments, and options.

type ServerArgs

type ServerArgs struct {
	// The Administrator Login for the MariaDB Server. Changing this forces a new resource to be created.
	AdministratorLogin pulumi.StringInput
	// The Password associated with the `administratorLogin` for the MariaDB Server.
	AdministratorLoginPassword pulumi.StringInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the MariaDB Server. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which to create the MariaDB Server. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	Sku               ServerSkuPtrInput
	// Specifies the SKU Name for this MariaDB Server. The name of the SKU, follows the `tier` + `family` + `cores` pattern (e.g. `B_Gen4_1`, `GP_Gen5_8`). For more information see the [product documentation](https://docs.microsoft.com/en-us/rest/api/mariadb/servers/create#sku).
	SkuName pulumi.StringPtrInput
	// Specifies if SSL should be enforced on connections. Possible values are `Enabled` and `Disabled`.
	SslEnforcement pulumi.StringInput
	// A `storageProfile` block as defined below.
	StorageProfile ServerStorageProfileInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// Specifies the version of MariaDB to use. Possible values are `10.2` and `10.3`. Changing this forces a new resource to be created.
	Version pulumi.StringInput
}

The set of arguments for constructing a Server resource.

func (ServerArgs) ElementType added in v1.12.0

func (ServerArgs) ElementType() reflect.Type

type ServerSku added in v1.12.0

type ServerSku struct {
	Capacity int    `pulumi:"capacity"`
	Family   string `pulumi:"family"`
	// Specifies the name of the MariaDB Server. Changing this forces a new resource to be created.
	Name string `pulumi:"name"`
	Tier string `pulumi:"tier"`
}

type ServerSkuArgs added in v1.12.0

type ServerSkuArgs struct {
	Capacity pulumi.IntInput    `pulumi:"capacity"`
	Family   pulumi.StringInput `pulumi:"family"`
	// Specifies the name of the MariaDB Server. Changing this forces a new resource to be created.
	Name pulumi.StringInput `pulumi:"name"`
	Tier pulumi.StringInput `pulumi:"tier"`
}

func (ServerSkuArgs) ElementType added in v1.12.0

func (ServerSkuArgs) ElementType() reflect.Type

func (ServerSkuArgs) ToServerSkuOutput added in v1.12.0

func (i ServerSkuArgs) ToServerSkuOutput() ServerSkuOutput

func (ServerSkuArgs) ToServerSkuOutputWithContext added in v1.12.0

func (i ServerSkuArgs) ToServerSkuOutputWithContext(ctx context.Context) ServerSkuOutput

func (ServerSkuArgs) ToServerSkuPtrOutput added in v1.12.0

func (i ServerSkuArgs) ToServerSkuPtrOutput() ServerSkuPtrOutput

func (ServerSkuArgs) ToServerSkuPtrOutputWithContext added in v1.12.0

func (i ServerSkuArgs) ToServerSkuPtrOutputWithContext(ctx context.Context) ServerSkuPtrOutput

type ServerSkuInput added in v1.12.0

type ServerSkuInput interface {
	pulumi.Input

	ToServerSkuOutput() ServerSkuOutput
	ToServerSkuOutputWithContext(context.Context) ServerSkuOutput
}

type ServerSkuOutput added in v1.12.0

type ServerSkuOutput struct{ *pulumi.OutputState }

func (ServerSkuOutput) Capacity added in v1.12.0

func (o ServerSkuOutput) Capacity() pulumi.IntOutput

func (ServerSkuOutput) ElementType added in v1.12.0

func (ServerSkuOutput) ElementType() reflect.Type

func (ServerSkuOutput) Family added in v1.12.0

func (o ServerSkuOutput) Family() pulumi.StringOutput

func (ServerSkuOutput) Name added in v1.12.0

Specifies the name of the MariaDB Server. Changing this forces a new resource to be created.

func (ServerSkuOutput) Tier added in v1.12.0

func (ServerSkuOutput) ToServerSkuOutput added in v1.12.0

func (o ServerSkuOutput) ToServerSkuOutput() ServerSkuOutput

func (ServerSkuOutput) ToServerSkuOutputWithContext added in v1.12.0

func (o ServerSkuOutput) ToServerSkuOutputWithContext(ctx context.Context) ServerSkuOutput

func (ServerSkuOutput) ToServerSkuPtrOutput added in v1.12.0

func (o ServerSkuOutput) ToServerSkuPtrOutput() ServerSkuPtrOutput

func (ServerSkuOutput) ToServerSkuPtrOutputWithContext added in v1.12.0

func (o ServerSkuOutput) ToServerSkuPtrOutputWithContext(ctx context.Context) ServerSkuPtrOutput

type ServerSkuPtrInput added in v1.12.0

type ServerSkuPtrInput interface {
	pulumi.Input

	ToServerSkuPtrOutput() ServerSkuPtrOutput
	ToServerSkuPtrOutputWithContext(context.Context) ServerSkuPtrOutput
}

func ServerSkuPtr added in v1.12.0

func ServerSkuPtr(v *ServerSkuArgs) ServerSkuPtrInput

type ServerSkuPtrOutput added in v1.12.0

type ServerSkuPtrOutput struct{ *pulumi.OutputState }

func (ServerSkuPtrOutput) Capacity added in v1.12.0

func (o ServerSkuPtrOutput) Capacity() pulumi.IntOutput

func (ServerSkuPtrOutput) Elem added in v1.12.0

func (ServerSkuPtrOutput) ElementType added in v1.12.0

func (ServerSkuPtrOutput) ElementType() reflect.Type

func (ServerSkuPtrOutput) Family added in v1.12.0

func (ServerSkuPtrOutput) Name added in v1.12.0

Specifies the name of the MariaDB Server. Changing this forces a new resource to be created.

func (ServerSkuPtrOutput) Tier added in v1.12.0

func (ServerSkuPtrOutput) ToServerSkuPtrOutput added in v1.12.0

func (o ServerSkuPtrOutput) ToServerSkuPtrOutput() ServerSkuPtrOutput

func (ServerSkuPtrOutput) ToServerSkuPtrOutputWithContext added in v1.12.0

func (o ServerSkuPtrOutput) ToServerSkuPtrOutputWithContext(ctx context.Context) ServerSkuPtrOutput

type ServerState

type ServerState struct {
	// The Administrator Login for the MariaDB Server. Changing this forces a new resource to be created.
	AdministratorLogin pulumi.StringPtrInput
	// The Password associated with the `administratorLogin` for the MariaDB Server.
	AdministratorLoginPassword pulumi.StringPtrInput
	// The FQDN of the MariaDB Server.
	Fqdn pulumi.StringPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the MariaDB Server. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which to create the MariaDB Server. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	Sku               ServerSkuPtrInput
	// Specifies the SKU Name for this MariaDB Server. The name of the SKU, follows the `tier` + `family` + `cores` pattern (e.g. `B_Gen4_1`, `GP_Gen5_8`). For more information see the [product documentation](https://docs.microsoft.com/en-us/rest/api/mariadb/servers/create#sku).
	SkuName pulumi.StringPtrInput
	// Specifies if SSL should be enforced on connections. Possible values are `Enabled` and `Disabled`.
	SslEnforcement pulumi.StringPtrInput
	// A `storageProfile` block as defined below.
	StorageProfile ServerStorageProfilePtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// Specifies the version of MariaDB to use. Possible values are `10.2` and `10.3`. Changing this forces a new resource to be created.
	Version pulumi.StringPtrInput
}

func (ServerState) ElementType added in v1.12.0

func (ServerState) ElementType() reflect.Type

type ServerStorageProfile added in v1.12.0

type ServerStorageProfile struct {
	AutoGrow            *string `pulumi:"autoGrow"`
	BackupRetentionDays *int    `pulumi:"backupRetentionDays"`
	GeoRedundantBackup  *string `pulumi:"geoRedundantBackup"`
	StorageMb           int     `pulumi:"storageMb"`
}

type ServerStorageProfileArgs added in v1.12.0

type ServerStorageProfileArgs struct {
	AutoGrow            pulumi.StringPtrInput `pulumi:"autoGrow"`
	BackupRetentionDays pulumi.IntPtrInput    `pulumi:"backupRetentionDays"`
	GeoRedundantBackup  pulumi.StringPtrInput `pulumi:"geoRedundantBackup"`
	StorageMb           pulumi.IntInput       `pulumi:"storageMb"`
}

func (ServerStorageProfileArgs) ElementType added in v1.12.0

func (ServerStorageProfileArgs) ElementType() reflect.Type

func (ServerStorageProfileArgs) ToServerStorageProfileOutput added in v1.12.0

func (i ServerStorageProfileArgs) ToServerStorageProfileOutput() ServerStorageProfileOutput

func (ServerStorageProfileArgs) ToServerStorageProfileOutputWithContext added in v1.12.0

func (i ServerStorageProfileArgs) ToServerStorageProfileOutputWithContext(ctx context.Context) ServerStorageProfileOutput

func (ServerStorageProfileArgs) ToServerStorageProfilePtrOutput added in v1.12.0

func (i ServerStorageProfileArgs) ToServerStorageProfilePtrOutput() ServerStorageProfilePtrOutput

func (ServerStorageProfileArgs) ToServerStorageProfilePtrOutputWithContext added in v1.12.0

func (i ServerStorageProfileArgs) ToServerStorageProfilePtrOutputWithContext(ctx context.Context) ServerStorageProfilePtrOutput

type ServerStorageProfileInput added in v1.12.0

type ServerStorageProfileInput interface {
	pulumi.Input

	ToServerStorageProfileOutput() ServerStorageProfileOutput
	ToServerStorageProfileOutputWithContext(context.Context) ServerStorageProfileOutput
}

type ServerStorageProfileOutput added in v1.12.0

type ServerStorageProfileOutput struct{ *pulumi.OutputState }

func (ServerStorageProfileOutput) AutoGrow added in v1.12.0

func (ServerStorageProfileOutput) BackupRetentionDays added in v1.12.0

func (o ServerStorageProfileOutput) BackupRetentionDays() pulumi.IntPtrOutput

func (ServerStorageProfileOutput) ElementType added in v1.12.0

func (ServerStorageProfileOutput) ElementType() reflect.Type

func (ServerStorageProfileOutput) GeoRedundantBackup added in v1.12.0

func (o ServerStorageProfileOutput) GeoRedundantBackup() pulumi.StringPtrOutput

func (ServerStorageProfileOutput) StorageMb added in v1.12.0

func (ServerStorageProfileOutput) ToServerStorageProfileOutput added in v1.12.0

func (o ServerStorageProfileOutput) ToServerStorageProfileOutput() ServerStorageProfileOutput

func (ServerStorageProfileOutput) ToServerStorageProfileOutputWithContext added in v1.12.0

func (o ServerStorageProfileOutput) ToServerStorageProfileOutputWithContext(ctx context.Context) ServerStorageProfileOutput

func (ServerStorageProfileOutput) ToServerStorageProfilePtrOutput added in v1.12.0

func (o ServerStorageProfileOutput) ToServerStorageProfilePtrOutput() ServerStorageProfilePtrOutput

func (ServerStorageProfileOutput) ToServerStorageProfilePtrOutputWithContext added in v1.12.0

func (o ServerStorageProfileOutput) ToServerStorageProfilePtrOutputWithContext(ctx context.Context) ServerStorageProfilePtrOutput

type ServerStorageProfilePtrInput added in v1.12.0

type ServerStorageProfilePtrInput interface {
	pulumi.Input

	ToServerStorageProfilePtrOutput() ServerStorageProfilePtrOutput
	ToServerStorageProfilePtrOutputWithContext(context.Context) ServerStorageProfilePtrOutput
}

func ServerStorageProfilePtr added in v1.12.0

func ServerStorageProfilePtr(v *ServerStorageProfileArgs) ServerStorageProfilePtrInput

type ServerStorageProfilePtrOutput added in v1.12.0

type ServerStorageProfilePtrOutput struct{ *pulumi.OutputState }

func (ServerStorageProfilePtrOutput) AutoGrow added in v1.12.0

func (ServerStorageProfilePtrOutput) BackupRetentionDays added in v1.12.0

func (o ServerStorageProfilePtrOutput) BackupRetentionDays() pulumi.IntPtrOutput

func (ServerStorageProfilePtrOutput) Elem added in v1.12.0

func (ServerStorageProfilePtrOutput) ElementType added in v1.12.0

func (ServerStorageProfilePtrOutput) GeoRedundantBackup added in v1.12.0

func (o ServerStorageProfilePtrOutput) GeoRedundantBackup() pulumi.StringPtrOutput

func (ServerStorageProfilePtrOutput) StorageMb added in v1.12.0

func (ServerStorageProfilePtrOutput) ToServerStorageProfilePtrOutput added in v1.12.0

func (o ServerStorageProfilePtrOutput) ToServerStorageProfilePtrOutput() ServerStorageProfilePtrOutput

func (ServerStorageProfilePtrOutput) ToServerStorageProfilePtrOutputWithContext added in v1.12.0

func (o ServerStorageProfilePtrOutput) ToServerStorageProfilePtrOutputWithContext(ctx context.Context) ServerStorageProfilePtrOutput

type VirtualNetworkRule added in v1.0.0

type VirtualNetworkRule struct {
	pulumi.CustomResourceState

	// The name of the MariaDB Virtual Network Rule. Cannot be empty and must only contain alphanumeric characters and hyphens. Cannot start with a number, and cannot start or end with a hyphen. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group where the MariaDB server resides. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The name of the SQL Server to which this MariaDB virtual network rule will be applied to. Changing this forces a new resource to be created.
	ServerName pulumi.StringOutput `pulumi:"serverName"`
	// The ID of the subnet that the MariaDB server will be connected to.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
}

Manages a MariaDB Virtual Network Rule.

> **NOTE:** MariaDB Virtual Network Rules [can only be used with SKU Tiers of `GeneralPurpose` or `MemoryOptimized`](https://docs.microsoft.com/en-us/azure/mariadb/concepts-data-access-security-vnet)

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/mariadb_virtual_network_rule.html.markdown.

func GetVirtualNetworkRule added in v1.0.0

func GetVirtualNetworkRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VirtualNetworkRuleState, opts ...pulumi.ResourceOption) (*VirtualNetworkRule, error)

GetVirtualNetworkRule gets an existing VirtualNetworkRule 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 NewVirtualNetworkRule added in v1.0.0

func NewVirtualNetworkRule(ctx *pulumi.Context,
	name string, args *VirtualNetworkRuleArgs, opts ...pulumi.ResourceOption) (*VirtualNetworkRule, error)

NewVirtualNetworkRule registers a new resource with the given unique name, arguments, and options.

type VirtualNetworkRuleArgs added in v1.0.0

type VirtualNetworkRuleArgs struct {
	// The name of the MariaDB Virtual Network Rule. Cannot be empty and must only contain alphanumeric characters and hyphens. Cannot start with a number, and cannot start or end with a hyphen. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group where the MariaDB server resides. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The name of the SQL Server to which this MariaDB virtual network rule will be applied to. Changing this forces a new resource to be created.
	ServerName pulumi.StringInput
	// The ID of the subnet that the MariaDB server will be connected to.
	SubnetId pulumi.StringInput
}

The set of arguments for constructing a VirtualNetworkRule resource.

func (VirtualNetworkRuleArgs) ElementType added in v1.12.0

func (VirtualNetworkRuleArgs) ElementType() reflect.Type

type VirtualNetworkRuleState added in v1.0.0

type VirtualNetworkRuleState struct {
	// The name of the MariaDB Virtual Network Rule. Cannot be empty and must only contain alphanumeric characters and hyphens. Cannot start with a number, and cannot start or end with a hyphen. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group where the MariaDB server resides. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The name of the SQL Server to which this MariaDB virtual network rule will be applied to. Changing this forces a new resource to be created.
	ServerName pulumi.StringPtrInput
	// The ID of the subnet that the MariaDB server will be connected to.
	SubnetId pulumi.StringPtrInput
}

func (VirtualNetworkRuleState) ElementType added in v1.12.0

func (VirtualNetworkRuleState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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