mysql

package
v0.15.3-dev Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2018 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 Configuration

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

Sets a MySQL Configuration value on a MySQL Server.

func GetConfiguration

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

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

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

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

func (*Configuration) Name

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

Specifies the name of the MySQL Configuration, which needs [to be a valid MySQL configuration name](https://dev.mysql.com/doc/refman/5.7/en/server-configuration.html). Changing this forces a new resource to be created.

func (*Configuration) ResourceGroupName

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

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

func (*Configuration) ServerName

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

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

func (*Configuration) URN

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

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

func (*Configuration) Value

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

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

type ConfigurationArgs

type ConfigurationArgs struct {
	// Specifies the name of the MySQL Configuration, which needs [to be a valid MySQL configuration name](https://dev.mysql.com/doc/refman/5.7/en/server-configuration.html). Changing this forces a new resource to be created.
	Name interface{}
	// The name of the resource group in which the MySQL Server exists. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// Specifies the name of the MySQL Server. Changing this forces a new resource to be created.
	ServerName interface{}
	// Specifies the value of the MySQL Configuration. See the MySQL documentation for valid values.
	Value interface{}
}

The set of arguments for constructing a Configuration resource.

type ConfigurationState

type ConfigurationState struct {
	// Specifies the name of the MySQL Configuration, which needs [to be a valid MySQL configuration name](https://dev.mysql.com/doc/refman/5.7/en/server-configuration.html). Changing this forces a new resource to be created.
	Name interface{}
	// The name of the resource group in which the MySQL Server exists. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// Specifies the name of the MySQL Server. Changing this forces a new resource to be created.
	ServerName interface{}
	// Specifies the value of the MySQL Configuration. See the MySQL 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 MySQL Database within a MySQL Server

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 MySQL Database, which needs [to be a valid MySQL Charset](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html). Changing this forces a new resource to be created.

func (*Database) Collation

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

Specifies the Collation for the MySQL Database, which needs [to be a valid MySQL Collation](https://dev.mysql.com/doc/refman/5.7/en/charset-mysql.html). 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 MySQL Database, which needs [to be a valid MySQL identifier](https://dev.mysql.com/doc/refman/5.7/en/identifiers.html). 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 MySQL 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 MySQL 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 MySQL Database, which needs [to be a valid MySQL Charset](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html). Changing this forces a new resource to be created.
	Charset interface{}
	// Specifies the Collation for the MySQL Database, which needs [to be a valid MySQL Collation](https://dev.mysql.com/doc/refman/5.7/en/charset-mysql.html). Changing this forces a new resource to be created.
	Collation interface{}
	// Specifies the name of the MySQL Database, which needs [to be a valid MySQL identifier](https://dev.mysql.com/doc/refman/5.7/en/identifiers.html). Changing this forces a new resource to be created.
	Name interface{}
	// The name of the resource group in which the MySQL Server exists. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// Specifies the name of the MySQL 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 MySQL Database, which needs [to be a valid MySQL Charset](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html). Changing this forces a new resource to be created.
	Charset interface{}
	// Specifies the Collation for the MySQL Database, which needs [to be a valid MySQL Collation](https://dev.mysql.com/doc/refman/5.7/en/charset-mysql.html). Changing this forces a new resource to be created.
	Collation interface{}
	// Specifies the name of the MySQL Database, which needs [to be a valid MySQL identifier](https://dev.mysql.com/doc/refman/5.7/en/identifiers.html). Changing this forces a new resource to be created.
	Name interface{}
	// The name of the resource group in which the MySQL Server exists. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// Specifies the name of the MySQL Server. Changing this forces a new resource to be created.
	ServerName interface{}
}

Input properties used for looking up and filtering Database resources.

type FirewallRule

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

Manages a Firewall Rule for a MySQL Server

func GetFirewallRule

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

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

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

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

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

func (*FirewallRule) Name

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

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

func (*FirewallRule) ResourceGroupName

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

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

func (*FirewallRule) ServerName

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

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

func (*FirewallRule) StartIpAddress

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

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

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

type FirewallRuleArgs

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

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

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 MySQL Server. Changing this forces a new resource to be created.

func (*Server) AdministratorLoginPassword

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

The Password associated with the `administrator_login` for the MySQL Server.

func (*Server) Fqdn

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

The FQDN of the MySQL 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 SKU Name for this MySQL 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/mysql/servers/create#sku).

func (*Server) ResourceGroupName

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

The name of the resource group in which to create the MySQL 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 `Enforced` and `Disabled`.

func (*Server) StorageProfile

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

A `storage_profile` 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 MySQL to use. Valid values are `5.6` and `5.7`. Changing this forces a new resource to be created.

type ServerArgs

type ServerArgs struct {
	// The Administrator Login for the MySQL Server. Changing this forces a new resource to be created.
	AdministratorLogin interface{}
	// The Password associated with the `administrator_login` for the MySQL 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 SKU Name for this MySQL 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/mysql/servers/create#sku).
	Name interface{}
	// The name of the resource group in which to create the MySQL 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 `Enforced` and `Disabled`.
	SslEnforcement interface{}
	// A `storage_profile` block as defined below.
	StorageProfile interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// Specifies the version of MySQL to use. Valid values are `5.6` and `5.7`. 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 MySQL Server. Changing this forces a new resource to be created.
	AdministratorLogin interface{}
	// The Password associated with the `administrator_login` for the MySQL Server.
	AdministratorLoginPassword interface{}
	// The FQDN of the MySQL 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 SKU Name for this MySQL 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/mysql/servers/create#sku).
	Name interface{}
	// The name of the resource group in which to create the MySQL 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 `Enforced` and `Disabled`.
	SslEnforcement interface{}
	// A `storage_profile` block as defined below.
	StorageProfile interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// Specifies the version of MySQL to use. Valid values are `5.6` and `5.7`. Changing this forces a new resource to be created.
	Version interface{}
}

Input properties used for looking up and filtering Server resources.

Jump to

Keyboard shortcuts

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