Creates and manages an Aiven for MySQL® service user. If this resource is missing (e.g., after a service power off), it will be removed from the state and a new create plan will be generated.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const exampleMysqlUser = new aiven.MysqlUser("example_mysql_user", {
serviceName: exampleMysql.serviceName,
project: exampleProject.project,
username: "example-mysql-user",
password: serviceUserPw,
});
import pulumi
import pulumi_aiven as aiven
example_mysql_user = aiven.MysqlUser("example_mysql_user",
service_name=example_mysql["serviceName"],
project=example_project["project"],
username="example-mysql-user",
password=service_user_pw)
package main
import (
"github.com/pulumi/pulumi-aiven/sdk/v6/go/aiven"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := aiven.NewMysqlUser(ctx, "example_mysql_user", &aiven.MysqlUserArgs{
ServiceName: pulumi.Any(exampleMysql.ServiceName),
Project: pulumi.Any(exampleProject.Project),
Username: pulumi.String("example-mysql-user"),
Password: pulumi.Any(serviceUserPw),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aiven = Pulumi.Aiven;
return await Deployment.RunAsync(() =>
{
var exampleMysqlUser = new Aiven.MysqlUser("example_mysql_user", new()
{
ServiceName = exampleMysql.ServiceName,
Project = exampleProject.Project,
Username = "example-mysql-user",
Password = serviceUserPw,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aiven.MysqlUser;
import com.pulumi.aiven.MysqlUserArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleMysqlUser = new MysqlUser("exampleMysqlUser", MysqlUserArgs.builder()
.serviceName(exampleMysql.serviceName())
.project(exampleProject.project())
.username("example-mysql-user")
.password(serviceUserPw)
.build());
}
}
resources:
exampleMysqlUser:
type: aiven:MysqlUser
name: example_mysql_user
properties:
serviceName: ${exampleMysql.serviceName}
project: ${exampleProject.project}
username: example-mysql-user
password: ${serviceUserPw}
Create MysqlUser Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MysqlUser(name: string, args: MysqlUserArgs, opts?: CustomResourceOptions);@overload
def MysqlUser(resource_name: str,
args: MysqlUserArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MysqlUser(resource_name: str,
opts: Optional[ResourceOptions] = None,
project: Optional[str] = None,
service_name: Optional[str] = None,
username: Optional[str] = None,
authentication: Optional[str] = None,
password: Optional[str] = None,
password_wo: Optional[str] = None,
password_wo_version: Optional[int] = None,
timeouts: Optional[MysqlUserTimeoutsArgs] = None)func NewMysqlUser(ctx *Context, name string, args MysqlUserArgs, opts ...ResourceOption) (*MysqlUser, error)public MysqlUser(string name, MysqlUserArgs args, CustomResourceOptions? opts = null)
public MysqlUser(String name, MysqlUserArgs args)
public MysqlUser(String name, MysqlUserArgs args, CustomResourceOptions options)
type: aiven:MysqlUser
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args MysqlUserArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args MysqlUserArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args MysqlUserArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MysqlUserArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MysqlUserArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var mysqlUserResource = new Aiven.MysqlUser("mysqlUserResource", new()
{
Project = "string",
ServiceName = "string",
Username = "string",
Authentication = "string",
Password = "string",
PasswordWo = "string",
PasswordWoVersion = 0,
Timeouts = new Aiven.Inputs.MysqlUserTimeoutsArgs
{
Create = "string",
Delete = "string",
Read = "string",
Update = "string",
},
});
example, err := aiven.NewMysqlUser(ctx, "mysqlUserResource", &aiven.MysqlUserArgs{
Project: pulumi.String("string"),
ServiceName: pulumi.String("string"),
Username: pulumi.String("string"),
Authentication: pulumi.String("string"),
Password: pulumi.String("string"),
PasswordWo: pulumi.String("string"),
PasswordWoVersion: pulumi.Int(0),
Timeouts: &aiven.MysqlUserTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Read: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var mysqlUserResource = new MysqlUser("mysqlUserResource", MysqlUserArgs.builder()
.project("string")
.serviceName("string")
.username("string")
.authentication("string")
.password("string")
.passwordWo("string")
.passwordWoVersion(0)
.timeouts(MysqlUserTimeoutsArgs.builder()
.create("string")
.delete("string")
.read("string")
.update("string")
.build())
.build());
mysql_user_resource = aiven.MysqlUser("mysqlUserResource",
project="string",
service_name="string",
username="string",
authentication="string",
password="string",
password_wo="string",
password_wo_version=0,
timeouts={
"create": "string",
"delete": "string",
"read": "string",
"update": "string",
})
const mysqlUserResource = new aiven.MysqlUser("mysqlUserResource", {
project: "string",
serviceName: "string",
username: "string",
authentication: "string",
password: "string",
passwordWo: "string",
passwordWoVersion: 0,
timeouts: {
create: "string",
"delete": "string",
read: "string",
update: "string",
},
});
type: aiven:MysqlUser
properties:
authentication: string
password: string
passwordWo: string
passwordWoVersion: 0
project: string
serviceName: string
timeouts:
create: string
delete: string
read: string
update: string
username: string
MysqlUser Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The MysqlUser resource accepts the following input properties:
- Project string
- Project name. Changing this property forces recreation of the resource.
- Service
Name string - The name of the MySQL® service user. Changing this property forces recreation of the resource.
- Username string
- The name of the MySQL® service user. Maximum length:
64. Changing this property forces recreation of the resource. - Authentication string
- Service specific authentication details. Currently only used for MySQL where accepted options are 'mysql_native_password' and 'caching_sha2_password', latter being default when this is not explicitly set. The possible values are
caching_sha2_passwordandmysql_native_password. - Password string
- The password of the service user (auto-generated if not provided). The field conflicts with
password_wo. Value must be between8and256. - Password
Wo string - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
The password of the service user (write-only, not stored in state). The field is required with
password_wo_version. The field conflicts withpassword. Value must be between8and256. - Password
Wo intVersion - Version number for
password_wo. Increment this to rotate the password. The field is required withpassword_wo. Minimum value:1. - Timeouts
Mysql
User Timeouts
- Project string
- Project name. Changing this property forces recreation of the resource.
- Service
Name string - The name of the MySQL® service user. Changing this property forces recreation of the resource.
- Username string
- The name of the MySQL® service user. Maximum length:
64. Changing this property forces recreation of the resource. - Authentication string
- Service specific authentication details. Currently only used for MySQL where accepted options are 'mysql_native_password' and 'caching_sha2_password', latter being default when this is not explicitly set. The possible values are
caching_sha2_passwordandmysql_native_password. - Password string
- The password of the service user (auto-generated if not provided). The field conflicts with
password_wo. Value must be between8and256. - Password
Wo string - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
The password of the service user (write-only, not stored in state). The field is required with
password_wo_version. The field conflicts withpassword. Value must be between8and256. - Password
Wo intVersion - Version number for
password_wo. Increment this to rotate the password. The field is required withpassword_wo. Minimum value:1. - Timeouts
Mysql
User Timeouts Args
- project String
- Project name. Changing this property forces recreation of the resource.
- service
Name String - The name of the MySQL® service user. Changing this property forces recreation of the resource.
- username String
- The name of the MySQL® service user. Maximum length:
64. Changing this property forces recreation of the resource. - authentication String
- Service specific authentication details. Currently only used for MySQL where accepted options are 'mysql_native_password' and 'caching_sha2_password', latter being default when this is not explicitly set. The possible values are
caching_sha2_passwordandmysql_native_password. - password String
- The password of the service user (auto-generated if not provided). The field conflicts with
password_wo. Value must be between8and256. - password
Wo String - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
The password of the service user (write-only, not stored in state). The field is required with
password_wo_version. The field conflicts withpassword. Value must be between8and256. - password
Wo IntegerVersion - Version number for
password_wo. Increment this to rotate the password. The field is required withpassword_wo. Minimum value:1. - timeouts
Mysql
User Timeouts
- project string
- Project name. Changing this property forces recreation of the resource.
- service
Name string - The name of the MySQL® service user. Changing this property forces recreation of the resource.
- username string
- The name of the MySQL® service user. Maximum length:
64. Changing this property forces recreation of the resource. - authentication string
- Service specific authentication details. Currently only used for MySQL where accepted options are 'mysql_native_password' and 'caching_sha2_password', latter being default when this is not explicitly set. The possible values are
caching_sha2_passwordandmysql_native_password. - password string
- The password of the service user (auto-generated if not provided). The field conflicts with
password_wo. Value must be between8and256. - password
Wo string - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
The password of the service user (write-only, not stored in state). The field is required with
password_wo_version. The field conflicts withpassword. Value must be between8and256. - password
Wo numberVersion - Version number for
password_wo. Increment this to rotate the password. The field is required withpassword_wo. Minimum value:1. - timeouts
Mysql
User Timeouts
- project str
- Project name. Changing this property forces recreation of the resource.
- service_
name str - The name of the MySQL® service user. Changing this property forces recreation of the resource.
- username str
- The name of the MySQL® service user. Maximum length:
64. Changing this property forces recreation of the resource. - authentication str
- Service specific authentication details. Currently only used for MySQL where accepted options are 'mysql_native_password' and 'caching_sha2_password', latter being default when this is not explicitly set. The possible values are
caching_sha2_passwordandmysql_native_password. - password str
- The password of the service user (auto-generated if not provided). The field conflicts with
password_wo. Value must be between8and256. - password_
wo str - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
The password of the service user (write-only, not stored in state). The field is required with
password_wo_version. The field conflicts withpassword. Value must be between8and256. - password_
wo_ intversion - Version number for
password_wo. Increment this to rotate the password. The field is required withpassword_wo. Minimum value:1. - timeouts
Mysql
User Timeouts Args
- project String
- Project name. Changing this property forces recreation of the resource.
- service
Name String - The name of the MySQL® service user. Changing this property forces recreation of the resource.
- username String
- The name of the MySQL® service user. Maximum length:
64. Changing this property forces recreation of the resource. - authentication String
- Service specific authentication details. Currently only used for MySQL where accepted options are 'mysql_native_password' and 'caching_sha2_password', latter being default when this is not explicitly set. The possible values are
caching_sha2_passwordandmysql_native_password. - password String
- The password of the service user (auto-generated if not provided). The field conflicts with
password_wo. Value must be between8and256. - password
Wo String - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
The password of the service user (write-only, not stored in state). The field is required with
password_wo_version. The field conflicts withpassword. Value must be between8and256. - password
Wo NumberVersion - Version number for
password_wo. Increment this to rotate the password. The field is required withpassword_wo. Minimum value:1. - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the MysqlUser resource produces the following output properties:
- Access
Cert string - Access certificate for TLS client authentication.
- Access
Key string - Access key for TLS client authentication.
- Id string
- The provider-assigned unique ID for this managed resource.
- Type string
- User account type, such as primary or regular account.
- Access
Cert string - Access certificate for TLS client authentication.
- Access
Key string - Access key for TLS client authentication.
- Id string
- The provider-assigned unique ID for this managed resource.
- Type string
- User account type, such as primary or regular account.
- access
Cert String - Access certificate for TLS client authentication.
- access
Key String - Access key for TLS client authentication.
- id String
- The provider-assigned unique ID for this managed resource.
- type String
- User account type, such as primary or regular account.
- access
Cert string - Access certificate for TLS client authentication.
- access
Key string - Access key for TLS client authentication.
- id string
- The provider-assigned unique ID for this managed resource.
- type string
- User account type, such as primary or regular account.
- access_
cert str - Access certificate for TLS client authentication.
- access_
key str - Access key for TLS client authentication.
- id str
- The provider-assigned unique ID for this managed resource.
- type str
- User account type, such as primary or regular account.
- access
Cert String - Access certificate for TLS client authentication.
- access
Key String - Access key for TLS client authentication.
- id String
- The provider-assigned unique ID for this managed resource.
- type String
- User account type, such as primary or regular account.
Look up Existing MysqlUser Resource
Get an existing MysqlUser resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: MysqlUserState, opts?: CustomResourceOptions): MysqlUser@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_cert: Optional[str] = None,
access_key: Optional[str] = None,
authentication: Optional[str] = None,
password: Optional[str] = None,
password_wo: Optional[str] = None,
password_wo_version: Optional[int] = None,
project: Optional[str] = None,
service_name: Optional[str] = None,
timeouts: Optional[MysqlUserTimeoutsArgs] = None,
type: Optional[str] = None,
username: Optional[str] = None) -> MysqlUserfunc GetMysqlUser(ctx *Context, name string, id IDInput, state *MysqlUserState, opts ...ResourceOption) (*MysqlUser, error)public static MysqlUser Get(string name, Input<string> id, MysqlUserState? state, CustomResourceOptions? opts = null)public static MysqlUser get(String name, Output<String> id, MysqlUserState state, CustomResourceOptions options)resources: _: type: aiven:MysqlUser get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Access
Cert string - Access certificate for TLS client authentication.
- Access
Key string - Access key for TLS client authentication.
- Authentication string
- Service specific authentication details. Currently only used for MySQL where accepted options are 'mysql_native_password' and 'caching_sha2_password', latter being default when this is not explicitly set. The possible values are
caching_sha2_passwordandmysql_native_password. - Password string
- The password of the service user (auto-generated if not provided). The field conflicts with
password_wo. Value must be between8and256. - Password
Wo string - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
The password of the service user (write-only, not stored in state). The field is required with
password_wo_version. The field conflicts withpassword. Value must be between8and256. - Password
Wo intVersion - Version number for
password_wo. Increment this to rotate the password. The field is required withpassword_wo. Minimum value:1. - Project string
- Project name. Changing this property forces recreation of the resource.
- Service
Name string - The name of the MySQL® service user. Changing this property forces recreation of the resource.
- Timeouts
Mysql
User Timeouts - Type string
- User account type, such as primary or regular account.
- Username string
- The name of the MySQL® service user. Maximum length:
64. Changing this property forces recreation of the resource.
- Access
Cert string - Access certificate for TLS client authentication.
- Access
Key string - Access key for TLS client authentication.
- Authentication string
- Service specific authentication details. Currently only used for MySQL where accepted options are 'mysql_native_password' and 'caching_sha2_password', latter being default when this is not explicitly set. The possible values are
caching_sha2_passwordandmysql_native_password. - Password string
- The password of the service user (auto-generated if not provided). The field conflicts with
password_wo. Value must be between8and256. - Password
Wo string - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
The password of the service user (write-only, not stored in state). The field is required with
password_wo_version. The field conflicts withpassword. Value must be between8and256. - Password
Wo intVersion - Version number for
password_wo. Increment this to rotate the password. The field is required withpassword_wo. Minimum value:1. - Project string
- Project name. Changing this property forces recreation of the resource.
- Service
Name string - The name of the MySQL® service user. Changing this property forces recreation of the resource.
- Timeouts
Mysql
User Timeouts Args - Type string
- User account type, such as primary or regular account.
- Username string
- The name of the MySQL® service user. Maximum length:
64. Changing this property forces recreation of the resource.
- access
Cert String - Access certificate for TLS client authentication.
- access
Key String - Access key for TLS client authentication.
- authentication String
- Service specific authentication details. Currently only used for MySQL where accepted options are 'mysql_native_password' and 'caching_sha2_password', latter being default when this is not explicitly set. The possible values are
caching_sha2_passwordandmysql_native_password. - password String
- The password of the service user (auto-generated if not provided). The field conflicts with
password_wo. Value must be between8and256. - password
Wo String - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
The password of the service user (write-only, not stored in state). The field is required with
password_wo_version. The field conflicts withpassword. Value must be between8and256. - password
Wo IntegerVersion - Version number for
password_wo. Increment this to rotate the password. The field is required withpassword_wo. Minimum value:1. - project String
- Project name. Changing this property forces recreation of the resource.
- service
Name String - The name of the MySQL® service user. Changing this property forces recreation of the resource.
- timeouts
Mysql
User Timeouts - type String
- User account type, such as primary or regular account.
- username String
- The name of the MySQL® service user. Maximum length:
64. Changing this property forces recreation of the resource.
- access
Cert string - Access certificate for TLS client authentication.
- access
Key string - Access key for TLS client authentication.
- authentication string
- Service specific authentication details. Currently only used for MySQL where accepted options are 'mysql_native_password' and 'caching_sha2_password', latter being default when this is not explicitly set. The possible values are
caching_sha2_passwordandmysql_native_password. - password string
- The password of the service user (auto-generated if not provided). The field conflicts with
password_wo. Value must be between8and256. - password
Wo string - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
The password of the service user (write-only, not stored in state). The field is required with
password_wo_version. The field conflicts withpassword. Value must be between8and256. - password
Wo numberVersion - Version number for
password_wo. Increment this to rotate the password. The field is required withpassword_wo. Minimum value:1. - project string
- Project name. Changing this property forces recreation of the resource.
- service
Name string - The name of the MySQL® service user. Changing this property forces recreation of the resource.
- timeouts
Mysql
User Timeouts - type string
- User account type, such as primary or regular account.
- username string
- The name of the MySQL® service user. Maximum length:
64. Changing this property forces recreation of the resource.
- access_
cert str - Access certificate for TLS client authentication.
- access_
key str - Access key for TLS client authentication.
- authentication str
- Service specific authentication details. Currently only used for MySQL where accepted options are 'mysql_native_password' and 'caching_sha2_password', latter being default when this is not explicitly set. The possible values are
caching_sha2_passwordandmysql_native_password. - password str
- The password of the service user (auto-generated if not provided). The field conflicts with
password_wo. Value must be between8and256. - password_
wo str - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
The password of the service user (write-only, not stored in state). The field is required with
password_wo_version. The field conflicts withpassword. Value must be between8and256. - password_
wo_ intversion - Version number for
password_wo. Increment this to rotate the password. The field is required withpassword_wo. Minimum value:1. - project str
- Project name. Changing this property forces recreation of the resource.
- service_
name str - The name of the MySQL® service user. Changing this property forces recreation of the resource.
- timeouts
Mysql
User Timeouts Args - type str
- User account type, such as primary or regular account.
- username str
- The name of the MySQL® service user. Maximum length:
64. Changing this property forces recreation of the resource.
- access
Cert String - Access certificate for TLS client authentication.
- access
Key String - Access key for TLS client authentication.
- authentication String
- Service specific authentication details. Currently only used for MySQL where accepted options are 'mysql_native_password' and 'caching_sha2_password', latter being default when this is not explicitly set. The possible values are
caching_sha2_passwordandmysql_native_password. - password String
- The password of the service user (auto-generated if not provided). The field conflicts with
password_wo. Value must be between8and256. - password
Wo String - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
The password of the service user (write-only, not stored in state). The field is required with
password_wo_version. The field conflicts withpassword. Value must be between8and256. - password
Wo NumberVersion - Version number for
password_wo. Increment this to rotate the password. The field is required withpassword_wo. Minimum value:1. - project String
- Project name. Changing this property forces recreation of the resource.
- service
Name String - The name of the MySQL® service user. Changing this property forces recreation of the resource.
- timeouts Property Map
- type String
- User account type, such as primary or regular account.
- username String
- The name of the MySQL® service user. Maximum length:
64. Changing this property forces recreation of the resource.
Supporting Types
MysqlUserTimeouts, MysqlUserTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Default string
- Timeout for all operations. Deprecated, use operation-specific timeouts instead.
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Default string
- Timeout for all operations. Deprecated, use operation-specific timeouts instead.
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- default_ String
- Timeout for all operations. Deprecated, use operation-specific timeouts instead.
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- default string
- Timeout for all operations. Deprecated, use operation-specific timeouts instead.
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- default str
- Timeout for all operations. Deprecated, use operation-specific timeouts instead.
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- default String
- Timeout for all operations. Deprecated, use operation-specific timeouts instead.
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Import
$ pulumi import aiven:index/mysqlUser:MysqlUser example PROJECT/SERVICE_NAME/USERNAME
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Aiven pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aivenTerraform Provider.
