mariadb

package
v1.2.0 Latest Latest
Warning

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

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

Documentation

Overview

nolint: lll Package mariadb exports types, functions, subpackages for provisioning mariadb 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

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 {
	// contains filtered or unexported fields
}

Sets a MariaDB Configuration value on a MariaDB Server.

> **NOTE** MariaDB Server is currently in Public Preview. You can find more information, including [how to register for the Public Preview here](https://azure.microsoft.com/en-us/updates/mariadb-public-preview/).

> 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.ID, state *ConfigurationState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*Configuration, error)

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

func (*Configuration) ID added in v1.0.0

func (r *Configuration) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Configuration) Name added in v1.0.0

func (r *Configuration) Name() *pulumi.StringOutput

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.

func (*Configuration) ResourceGroupName added in v1.0.0

func (r *Configuration) ResourceGroupName() *pulumi.StringOutput

The name of the resource group in which the MariaDB Server exists. Changing this forces a new resource to be created.

func (*Configuration) ServerName added in v1.0.0

func (r *Configuration) ServerName() *pulumi.StringOutput

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

func (*Configuration) URN added in v1.0.0

func (r *Configuration) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*Configuration) Value added in v1.0.0

func (r *Configuration) Value() *pulumi.StringOutput

Specifies the value of the MariaDB Configuration. See the MariaDB documentation for valid values.

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 interface{}
	// The name of the resource group in which the MariaDB Server exists. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// Specifies the name of the MariaDB Server. Changing this forces a new resource to be created.
	ServerName interface{}
	// Specifies the value of the MariaDB Configuration. See the MariaDB documentation for valid values.
	Value interface{}
}

The set of arguments for constructing a Configuration resource.

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 interface{}
	// The name of the resource group in which the MariaDB Server exists. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// Specifies the name of the MariaDB Server. Changing this forces a new resource to be created.
	ServerName interface{}
	// Specifies the value of the MariaDB Configuration. See the MariaDB documentation for valid values.
	Value interface{}
}

Input properties used for looking up and filtering Configuration resources.

type Database

type Database struct {
	// contains filtered or unexported fields
}

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.ID, state *DatabaseState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*Database, error)

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

func (*Database) Charset

func (r *Database) Charset() *pulumi.StringOutput

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.

func (*Database) Collation

func (r *Database) Collation() *pulumi.StringOutput

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.

func (*Database) ID

func (r *Database) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Database) Name

func (r *Database) Name() *pulumi.StringOutput

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.

func (*Database) ResourceGroupName

func (r *Database) ResourceGroupName() *pulumi.StringOutput

The name of the resource group in which the MariaDB Server exists. Changing this forces a new resource to be created.

func (*Database) ServerName

func (r *Database) ServerName() *pulumi.StringOutput

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

func (*Database) URN

func (r *Database) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

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 interface{}
	// 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 interface{}
	// 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 interface{}
	// The name of the resource group in which the MariaDB Server exists. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// Specifies the name of the MariaDB Server. Changing this forces a new resource to be created.
	ServerName interface{}
}

The set of arguments for constructing a Database resource.

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 interface{}
	// 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 interface{}
	// 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 interface{}
	// The name of the resource group in which the MariaDB Server exists. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// Specifies the name of the MariaDB Server. Changing this forces a new resource to be created.
	ServerName interface{}
}

Input properties used for looking up and filtering Database resources.

type FirewallRule added in v0.19.1

type FirewallRule struct {
	// contains filtered or unexported fields
}

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.ID, state *FirewallRuleState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*FirewallRule, error)

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

func (*FirewallRule) EndIpAddress added in v0.19.1

func (r *FirewallRule) EndIpAddress() *pulumi.StringOutput

Specifies the End IP Address associated with this Firewall Rule. Changing this forces a new resource to be created.

func (*FirewallRule) ID added in v0.19.1

func (r *FirewallRule) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*FirewallRule) Name added in v0.19.1

func (r *FirewallRule) Name() *pulumi.StringOutput

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

func (*FirewallRule) ResourceGroupName added in v0.19.1

func (r *FirewallRule) ResourceGroupName() *pulumi.StringOutput

The name of the resource group in which the MariaDB Server exists. Changing this forces a new resource to be created.

func (*FirewallRule) ServerName added in v0.19.1

func (r *FirewallRule) ServerName() *pulumi.StringOutput

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

func (*FirewallRule) StartIpAddress added in v0.19.1

func (r *FirewallRule) StartIpAddress() *pulumi.StringOutput

Specifies the Start IP Address associated with this Firewall Rule. Changing this forces a new resource to be created.

func (*FirewallRule) URN added in v0.19.1

func (r *FirewallRule) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

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 interface{}
	// Specifies the name of the MariaDB Firewall Rule. Changing this forces a new resource to be created.
	Name interface{}
	// The name of the resource group in which the MariaDB Server exists. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// Specifies the name of the MariaDB Server. Changing this forces a new resource to be created.
	ServerName interface{}
	// Specifies the Start IP Address associated with this Firewall Rule. Changing this forces a new resource to be created.
	StartIpAddress interface{}
}

The set of arguments for constructing a FirewallRule resource.

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 interface{}
	// Specifies the name of the MariaDB Firewall Rule. Changing this forces a new resource to be created.
	Name interface{}
	// The name of the resource group in which the MariaDB Server exists. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// Specifies the name of the MariaDB Server. Changing this forces a new resource to be created.
	ServerName interface{}
	// Specifies the Start IP Address associated with this Firewall Rule. Changing this forces a new resource to be created.
	StartIpAddress interface{}
}

Input properties used for looking up and filtering FirewallRule resources.

type Server

type Server struct {
	// contains filtered or unexported fields
}

Manages a MariaDB Server.

> **NOTE** MariaDB Server is currently in Public Preview. You can find more information, including [how to register for the Public Preview here](https://azure.microsoft.com/en-us/updates/mariadb-public-preview/).

> 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.ID, state *ServerState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*Server, error)

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

func (*Server) AdministratorLogin

func (r *Server) AdministratorLogin() *pulumi.StringOutput

The Administrator Login for the MariaDB Server. Changing this forces a new resource to be created.

func (*Server) AdministratorLoginPassword

func (r *Server) AdministratorLoginPassword() *pulumi.StringOutput

The Password associated with the `administratorLogin` for the MariaDB Server.

func (*Server) Fqdn

func (r *Server) Fqdn() *pulumi.StringOutput

The FQDN of the MariaDB Server.

func (*Server) ID

func (r *Server) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Server) Location

func (r *Server) Location() *pulumi.StringOutput

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (*Server) Name

func (r *Server) Name() *pulumi.StringOutput

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

func (*Server) ResourceGroupName

func (r *Server) ResourceGroupName() *pulumi.StringOutput

The name of the resource group in which to create the MariaDB Server. Changing this forces a new resource to be created.

func (*Server) Sku

func (r *Server) Sku() *pulumi.Output

A `sku` block as defined below.

func (*Server) SslEnforcement

func (r *Server) SslEnforcement() *pulumi.StringOutput

Specifies if SSL should be enforced on connections. Possible values are `Enabled` and `Disabled`.

func (*Server) StorageProfile

func (r *Server) StorageProfile() *pulumi.Output

A `storageProfile` block as defined below.

func (*Server) Tags

func (r *Server) Tags() *pulumi.MapOutput

A mapping of tags to assign to the resource.

func (*Server) URN

func (r *Server) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*Server) Version

func (r *Server) Version() *pulumi.StringOutput

Specifies the version of MariaDB to use. Possible values are `10.2` and `10.3`. Changing this forces a new resource to be created.

type ServerArgs

type ServerArgs struct {
	// The Administrator Login for the MariaDB Server. Changing this forces a new resource to be created.
	AdministratorLogin interface{}
	// The Password associated with the `administratorLogin` for the MariaDB Server.
	AdministratorLoginPassword interface{}
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location interface{}
	// Specifies the name of the MariaDB Server. Changing this forces a new resource to be created.
	Name interface{}
	// The name of the resource group in which to create the MariaDB Server. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// A `sku` block as defined below.
	Sku interface{}
	// Specifies if SSL should be enforced on connections. Possible values are `Enabled` and `Disabled`.
	SslEnforcement interface{}
	// A `storageProfile` block as defined below.
	StorageProfile interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// 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 interface{}
}

The set of arguments for constructing a Server resource.

type ServerState

type ServerState struct {
	// The Administrator Login for the MariaDB Server. Changing this forces a new resource to be created.
	AdministratorLogin interface{}
	// The Password associated with the `administratorLogin` for the MariaDB Server.
	AdministratorLoginPassword interface{}
	// The FQDN of the MariaDB Server.
	Fqdn interface{}
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location interface{}
	// Specifies the name of the MariaDB Server. Changing this forces a new resource to be created.
	Name interface{}
	// The name of the resource group in which to create the MariaDB Server. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// A `sku` block as defined below.
	Sku interface{}
	// Specifies if SSL should be enforced on connections. Possible values are `Enabled` and `Disabled`.
	SslEnforcement interface{}
	// A `storageProfile` block as defined below.
	StorageProfile interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// 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 interface{}
}

Input properties used for looking up and filtering Server resources.

type VirtualNetworkRule added in v1.0.0

type VirtualNetworkRule struct {
	// contains filtered or unexported fields
}

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.ID, state *VirtualNetworkRuleState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*VirtualNetworkRule, error)

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

func (*VirtualNetworkRule) ID added in v1.0.0

ID is this resource's unique identifier assigned by its provider.

func (*VirtualNetworkRule) Name added in v1.0.0

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.

func (*VirtualNetworkRule) ResourceGroupName added in v1.0.0

func (r *VirtualNetworkRule) ResourceGroupName() *pulumi.StringOutput

The name of the resource group where the MariaDB server resides. Changing this forces a new resource to be created.

func (*VirtualNetworkRule) ServerName added in v1.0.0

func (r *VirtualNetworkRule) ServerName() *pulumi.StringOutput

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.

func (*VirtualNetworkRule) SubnetId added in v1.0.0

func (r *VirtualNetworkRule) SubnetId() *pulumi.StringOutput

The ID of the subnet that the MariaDB server will be connected to.

func (*VirtualNetworkRule) URN added in v1.0.0

URN is this resource's unique name assigned by Pulumi.

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 interface{}
	// The name of the resource group where the MariaDB server resides. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// 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 interface{}
	// The ID of the subnet that the MariaDB server will be connected to.
	SubnetId interface{}
}

The set of arguments for constructing a VirtualNetworkRule resource.

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 interface{}
	// The name of the resource group where the MariaDB server resides. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// 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 interface{}
	// The ID of the subnet that the MariaDB server will be connected to.
	SubnetId interface{}
}

Input properties used for looking up and filtering VirtualNetworkRule resources.

Jump to

Keyboard shortcuts

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