Module mariadb

mariadb

This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-azure repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-azurerm repo.
class pulumi_azure.mariadb.Database(resource_name, opts=None, charset=None, collation=None, name=None, resource_group_name=None, server_name=None, __props__=None, __name__=None, __opts__=None)

Manages a MariaDB Database within a MariaDB Server

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • charset (pulumi.Input[str]) – Specifies the Charset for the MariaDB Database, which needs to be a valid MariaDB Charset. Changing this forces a new resource to be created.
  • collation (pulumi.Input[str]) – Specifies the Collation for the MariaDB Database, which needs to be a valid MariaDB Collation. Changing this forces a new resource to be created.
  • name (pulumi.Input[str]) – Specifies the name of the MariaDB Database, which needs to be a valid MariaDB identifier. Changing this forces a new resource to be created.
  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which the MariaDB Server exists. Changing this forces a new resource to be created.
  • server_name (pulumi.Input[str]) – Specifies the name of the MariaDB Server. Changing this forces a new resource to be created.
charset = None

Specifies the Charset for the MariaDB Database, which needs to be a valid MariaDB Charset. Changing this forces a new resource to be created.

collation = None

Specifies the Collation for the MariaDB Database, which needs to be a valid MariaDB Collation. Changing this forces a new resource to be created.

name = None

Specifies the name of the MariaDB Database, which needs to be a valid MariaDB identifier. Changing this forces a new resource to be created.

resource_group_name = None

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

server_name = None

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

static get(resource_name, id, opts=None, charset=None, collation=None, name=None, resource_group_name=None, server_name=None)

Get an existing Database resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] charset: Specifies the Charset for the MariaDB Database, which needs to be a valid MariaDB Charset. Changing this forces a new resource to be created. :param pulumi.Input[str] collation: Specifies the Collation for the MariaDB Database, which needs to be a valid MariaDB Collation. Changing this forces a new resource to be created. :param pulumi.Input[str] name: Specifies the name of the MariaDB Database, which needs to be a valid MariaDB identifier. Changing this forces a

new resource to be created.
Parameters:
  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which the MariaDB Server exists. Changing this forces a new resource to be created.
  • server_name (pulumi.Input[str]) – Specifies the name of the MariaDB Server. Changing this forces a new resource to be created.
translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_azure.mariadb.FirewallRule(resource_name, opts=None, end_ip_address=None, name=None, resource_group_name=None, server_name=None, start_ip_address=None, __props__=None, __name__=None, __opts__=None)

Manages a Firewall Rule for a MariaDB Server

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • end_ip_address (pulumi.Input[str]) – Specifies the End IP Address associated with this Firewall Rule. Changing this forces a new resource to be created.
  • name (pulumi.Input[str]) – Specifies the name of the MariaDB Firewall Rule. Changing this forces a new resource to be created.
  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which the MariaDB Server exists. Changing this forces a new resource to be created.
  • server_name (pulumi.Input[str]) – Specifies the name of the MariaDB Server. Changing this forces a new resource to be created.
  • start_ip_address (pulumi.Input[str]) – Specifies the Start IP Address associated with this Firewall Rule. Changing this forces a new resource to be created.
end_ip_address = None

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

name = None

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

resource_group_name = None

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

server_name = None

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

start_ip_address = None

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

static get(resource_name, id, opts=None, end_ip_address=None, name=None, resource_group_name=None, server_name=None, start_ip_address=None)

Get an existing FirewallRule resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] end_ip_address: Specifies the End IP Address associated with this Firewall Rule. Changing this forces a new resource to be created. :param pulumi.Input[str] name: Specifies the name of the MariaDB Firewall Rule. Changing this forces a new resource to be created. :param pulumi.Input[str] resource_group_name: The name of the resource group in which the MariaDB Server exists. Changing this forces a new resource to be created. :param pulumi.Input[str] server_name: Specifies the name of the MariaDB Server. Changing this forces a new resource to be created. :param pulumi.Input[str] start_ip_address: Specifies the Start IP Address associated with this Firewall Rule. Changing this forces a new resource to be created.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_azure.mariadb.Server(resource_name, opts=None, administrator_login=None, administrator_login_password=None, location=None, name=None, resource_group_name=None, sku=None, ssl_enforcement=None, storage_profile=None, tags=None, version=None, __props__=None, __name__=None, __opts__=None)

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.
Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • administrator_login (pulumi.Input[str]) – The Administrator Login for the MariaDB Server. Changing this forces a new resource to be created.
  • administrator_login_password (pulumi.Input[str]) – The Password associated with the administrator_login for the MariaDB Server.
  • location (pulumi.Input[str]) – Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
  • name (pulumi.Input[str]) – Specifies the name of the MariaDB Server. Changing this forces a new resource to be created.
  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which to create the MariaDB Server. Changing this forces a new resource to be created.
  • sku (pulumi.Input[dict]) – A sku block as defined below.
  • ssl_enforcement (pulumi.Input[str]) – Specifies if SSL should be enforced on connections. Possible values are Enabled and Disabled.
  • storage_profile (pulumi.Input[dict]) – A storage_profile block as defined below.
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
  • version (pulumi.Input[str]) – Specifies the version of MariaDB to use. The valid value is 10.2. Changing this forces a new resource to be created.
administrator_login = None

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

administrator_login_password = None

The Password associated with the administrator_login for the MariaDB Server.

fqdn = None

The FQDN of the MariaDB Server.

location = None

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

name = None

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

resource_group_name = None

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

sku = None

A sku block as defined below.

ssl_enforcement = None

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

storage_profile = None

A storage_profile block as defined below.

tags = None

A mapping of tags to assign to the resource.

version = None

Specifies the version of MariaDB to use. The valid value is 10.2. Changing this forces a new resource to be created.

static get(resource_name, id, opts=None, administrator_login=None, administrator_login_password=None, fqdn=None, location=None, name=None, resource_group_name=None, sku=None, ssl_enforcement=None, storage_profile=None, tags=None, version=None)

Get an existing Server resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] administrator_login: The Administrator Login for the MariaDB Server. Changing this forces a new resource to be created. :param pulumi.Input[str] administrator_login_password: The Password associated with the administrator_login for the MariaDB Server. :param pulumi.Input[str] fqdn: The FQDN of the MariaDB Server. :param pulumi.Input[str] location: Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. :param pulumi.Input[str] name: Specifies the name of the MariaDB Server. Changing this forces a new resource to be created. :param pulumi.Input[str] resource_group_name: The name of the resource group in which to create the MariaDB Server. Changing this forces a new resource to be created. :param pulumi.Input[dict] sku: A sku block as defined below. :param pulumi.Input[str] ssl_enforcement: Specifies if SSL should be enforced on connections. Possible values are Enabled and Disabled. :param pulumi.Input[dict] storage_profile: A storage_profile block as defined below. :param pulumi.Input[dict] tags: A mapping of tags to assign to the resource. :param pulumi.Input[str] version: Specifies the version of MariaDB to use. The valid value is 10.2. Changing this forces a new resource to be created.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str