tencentcloud.MariadbAccountPrivileges
Explore with Pulumi AI
Provides a resource to create a mariadb account_privileges
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const accountPrivileges = new tencentcloud.MariadbAccountPrivileges("accountPrivileges", {
accounts: {
host: "127.0.0.1",
user: "keep-modify-privileges",
},
globalPrivileges: [
"ALTER",
"CREATE",
"DELETE",
"SELECT",
"UPDATE",
"DROP",
],
instanceId: "tdsql-9vqvls95",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
account_privileges = tencentcloud.MariadbAccountPrivileges("accountPrivileges",
accounts={
"host": "127.0.0.1",
"user": "keep-modify-privileges",
},
global_privileges=[
"ALTER",
"CREATE",
"DELETE",
"SELECT",
"UPDATE",
"DROP",
],
instance_id="tdsql-9vqvls95")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewMariadbAccountPrivileges(ctx, "accountPrivileges", &tencentcloud.MariadbAccountPrivilegesArgs{
Accounts: &tencentcloud.MariadbAccountPrivilegesAccountsArgs{
Host: pulumi.String("127.0.0.1"),
User: pulumi.String("keep-modify-privileges"),
},
GlobalPrivileges: pulumi.StringArray{
pulumi.String("ALTER"),
pulumi.String("CREATE"),
pulumi.String("DELETE"),
pulumi.String("SELECT"),
pulumi.String("UPDATE"),
pulumi.String("DROP"),
},
InstanceId: pulumi.String("tdsql-9vqvls95"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var accountPrivileges = new Tencentcloud.MariadbAccountPrivileges("accountPrivileges", new()
{
Accounts = new Tencentcloud.Inputs.MariadbAccountPrivilegesAccountsArgs
{
Host = "127.0.0.1",
User = "keep-modify-privileges",
},
GlobalPrivileges = new[]
{
"ALTER",
"CREATE",
"DELETE",
"SELECT",
"UPDATE",
"DROP",
},
InstanceId = "tdsql-9vqvls95",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.MariadbAccountPrivileges;
import com.pulumi.tencentcloud.MariadbAccountPrivilegesArgs;
import com.pulumi.tencentcloud.inputs.MariadbAccountPrivilegesAccountsArgs;
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 accountPrivileges = new MariadbAccountPrivileges("accountPrivileges", MariadbAccountPrivilegesArgs.builder()
.accounts(MariadbAccountPrivilegesAccountsArgs.builder()
.host("127.0.0.1")
.user("keep-modify-privileges")
.build())
.globalPrivileges(
"ALTER",
"CREATE",
"DELETE",
"SELECT",
"UPDATE",
"DROP")
.instanceId("tdsql-9vqvls95")
.build());
}
}
resources:
accountPrivileges:
type: tencentcloud:MariadbAccountPrivileges
properties:
accounts:
host: 127.0.0.1
user: keep-modify-privileges
globalPrivileges:
- ALTER
- CREATE
- DELETE
- SELECT
- UPDATE
- DROP
instanceId: tdsql-9vqvls95
Create MariadbAccountPrivileges Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MariadbAccountPrivileges(name: string, args: MariadbAccountPrivilegesArgs, opts?: CustomResourceOptions);
@overload
def MariadbAccountPrivileges(resource_name: str,
args: MariadbAccountPrivilegesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MariadbAccountPrivileges(resource_name: str,
opts: Optional[ResourceOptions] = None,
accounts: Optional[MariadbAccountPrivilegesAccountsArgs] = None,
instance_id: Optional[str] = None,
column_privileges: Optional[Sequence[MariadbAccountPrivilegesColumnPrivilegeArgs]] = None,
database_privileges: Optional[Sequence[MariadbAccountPrivilegesDatabasePrivilegeArgs]] = None,
function_privileges: Optional[Sequence[MariadbAccountPrivilegesFunctionPrivilegeArgs]] = None,
global_privileges: Optional[Sequence[str]] = None,
mariadb_account_privileges_id: Optional[str] = None,
procedure_privileges: Optional[Sequence[MariadbAccountPrivilegesProcedurePrivilegeArgs]] = None,
table_privileges: Optional[Sequence[MariadbAccountPrivilegesTablePrivilegeArgs]] = None,
view_privileges: Optional[Sequence[MariadbAccountPrivilegesViewPrivilegeArgs]] = None)
func NewMariadbAccountPrivileges(ctx *Context, name string, args MariadbAccountPrivilegesArgs, opts ...ResourceOption) (*MariadbAccountPrivileges, error)
public MariadbAccountPrivileges(string name, MariadbAccountPrivilegesArgs args, CustomResourceOptions? opts = null)
public MariadbAccountPrivileges(String name, MariadbAccountPrivilegesArgs args)
public MariadbAccountPrivileges(String name, MariadbAccountPrivilegesArgs args, CustomResourceOptions options)
type: tencentcloud:MariadbAccountPrivileges
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 MariadbAccountPrivilegesArgs
- 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 MariadbAccountPrivilegesArgs
- 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 MariadbAccountPrivilegesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MariadbAccountPrivilegesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MariadbAccountPrivilegesArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
MariadbAccountPrivileges 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 MariadbAccountPrivileges resource accepts the following input properties:
- Accounts
Mariadb
Account Privileges Accounts - account information.
- Instance
Id string - instance id.
- Column
Privileges List<MariadbAccount Privileges Column Privilege> - Column permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,REFERENCES
.Note: if the parameter is left empty, no change will be made to the granted column permissions. To clear the granted column permissions, setPrivileges
to an empty array. - Database
Privileges List<MariadbAccount Privileges Database Privilege> - Database permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE TEMPORARY TABLES
,LOCK TABLES
,EXECUTE
,CREATE VIEW
,SHOW VIEW
,CREATE ROUTINE
,ALTER ROUTINE
,EVENT
,TRIGGER
.Note: if the parameter is left empty, no change will be made to the granted database permissions. To clear the granted database permissions, setPrivileges
to an empty array. - Function
Privileges List<MariadbAccount Privileges Function Privilege> - Database function permissions. Valid values of
Privileges
:ALTER ROUTINE
,EXECUTE
.Note: if the parameter is not passed in, no change will be made to the granted function permissions. To clear the granted function permissions, setPrivileges
to an empty array. - Global
Privileges List<string> - Global permission. Valid values of
GlobalPrivileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,PROCESS
,DROP
,REFERENCES
,INDEX
,ALTER
,SHOW DATABASES
,CREATE TEMPORARY TABLES
,LOCK TABLES
,EXECUTE
,CREATE VIEW
,SHOW VIEW
,CREATE ROUTINE
,ALTER ROUTINE
,EVENT
,TRIGGER
.Note: if the parameter is left empty, no change will be made to the granted global permissions. To clear the granted global permissions, set the parameter to an empty array. - Mariadb
Account stringPrivileges Id - ID of the resource.
- Procedure
Privileges List<MariadbAccount Privileges Procedure Privilege> - Database stored procedure permission. Valid values of
Privileges
:ALTER ROUTINE
,EXECUTE
.Note: if the parameter is not passed in, no change will be made to the granted stored procedure permissions. To clear the granted stored procedure permissions, setPrivileges
to an empty array. - Table
Privileges List<MariadbAccount Privileges Table Privilege> SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE VIEW
,SHOW VIEW
,TRIGGER
.Note: if the parameter is not passed in, no change will be made to the granted table permissions. To clear the granted table permissions, setPrivileges
to an empty array.- View
Privileges List<MariadbAccount Privileges View Privilege> - Database view permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE VIEW
,SHOW VIEW
,TRIGGER
.Note: if the parameter is not passed in, no change will be made to the granted view permissions. To clear the granted view permissions, setPrivileges
to an empty array.
- Accounts
Mariadb
Account Privileges Accounts Args - account information.
- Instance
Id string - instance id.
- Column
Privileges []MariadbAccount Privileges Column Privilege Args - Column permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,REFERENCES
.Note: if the parameter is left empty, no change will be made to the granted column permissions. To clear the granted column permissions, setPrivileges
to an empty array. - Database
Privileges []MariadbAccount Privileges Database Privilege Args - Database permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE TEMPORARY TABLES
,LOCK TABLES
,EXECUTE
,CREATE VIEW
,SHOW VIEW
,CREATE ROUTINE
,ALTER ROUTINE
,EVENT
,TRIGGER
.Note: if the parameter is left empty, no change will be made to the granted database permissions. To clear the granted database permissions, setPrivileges
to an empty array. - Function
Privileges []MariadbAccount Privileges Function Privilege Args - Database function permissions. Valid values of
Privileges
:ALTER ROUTINE
,EXECUTE
.Note: if the parameter is not passed in, no change will be made to the granted function permissions. To clear the granted function permissions, setPrivileges
to an empty array. - Global
Privileges []string - Global permission. Valid values of
GlobalPrivileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,PROCESS
,DROP
,REFERENCES
,INDEX
,ALTER
,SHOW DATABASES
,CREATE TEMPORARY TABLES
,LOCK TABLES
,EXECUTE
,CREATE VIEW
,SHOW VIEW
,CREATE ROUTINE
,ALTER ROUTINE
,EVENT
,TRIGGER
.Note: if the parameter is left empty, no change will be made to the granted global permissions. To clear the granted global permissions, set the parameter to an empty array. - Mariadb
Account stringPrivileges Id - ID of the resource.
- Procedure
Privileges []MariadbAccount Privileges Procedure Privilege Args - Database stored procedure permission. Valid values of
Privileges
:ALTER ROUTINE
,EXECUTE
.Note: if the parameter is not passed in, no change will be made to the granted stored procedure permissions. To clear the granted stored procedure permissions, setPrivileges
to an empty array. - Table
Privileges []MariadbAccount Privileges Table Privilege Args SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE VIEW
,SHOW VIEW
,TRIGGER
.Note: if the parameter is not passed in, no change will be made to the granted table permissions. To clear the granted table permissions, setPrivileges
to an empty array.- View
Privileges []MariadbAccount Privileges View Privilege Args - Database view permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE VIEW
,SHOW VIEW
,TRIGGER
.Note: if the parameter is not passed in, no change will be made to the granted view permissions. To clear the granted view permissions, setPrivileges
to an empty array.
- accounts
Mariadb
Account Privileges Accounts - account information.
- instance
Id String - instance id.
- column
Privileges List<MariadbAccount Privileges Column Privilege> - Column permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,REFERENCES
.Note: if the parameter is left empty, no change will be made to the granted column permissions. To clear the granted column permissions, setPrivileges
to an empty array. - database
Privileges List<MariadbAccount Privileges Database Privilege> - Database permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE TEMPORARY TABLES
,LOCK TABLES
,EXECUTE
,CREATE VIEW
,SHOW VIEW
,CREATE ROUTINE
,ALTER ROUTINE
,EVENT
,TRIGGER
.Note: if the parameter is left empty, no change will be made to the granted database permissions. To clear the granted database permissions, setPrivileges
to an empty array. - function
Privileges List<MariadbAccount Privileges Function Privilege> - Database function permissions. Valid values of
Privileges
:ALTER ROUTINE
,EXECUTE
.Note: if the parameter is not passed in, no change will be made to the granted function permissions. To clear the granted function permissions, setPrivileges
to an empty array. - global
Privileges List<String> - Global permission. Valid values of
GlobalPrivileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,PROCESS
,DROP
,REFERENCES
,INDEX
,ALTER
,SHOW DATABASES
,CREATE TEMPORARY TABLES
,LOCK TABLES
,EXECUTE
,CREATE VIEW
,SHOW VIEW
,CREATE ROUTINE
,ALTER ROUTINE
,EVENT
,TRIGGER
.Note: if the parameter is left empty, no change will be made to the granted global permissions. To clear the granted global permissions, set the parameter to an empty array. - mariadb
Account StringPrivileges Id - ID of the resource.
- procedure
Privileges List<MariadbAccount Privileges Procedure Privilege> - Database stored procedure permission. Valid values of
Privileges
:ALTER ROUTINE
,EXECUTE
.Note: if the parameter is not passed in, no change will be made to the granted stored procedure permissions. To clear the granted stored procedure permissions, setPrivileges
to an empty array. - table
Privileges List<MariadbAccount Privileges Table Privilege> SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE VIEW
,SHOW VIEW
,TRIGGER
.Note: if the parameter is not passed in, no change will be made to the granted table permissions. To clear the granted table permissions, setPrivileges
to an empty array.- view
Privileges List<MariadbAccount Privileges View Privilege> - Database view permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE VIEW
,SHOW VIEW
,TRIGGER
.Note: if the parameter is not passed in, no change will be made to the granted view permissions. To clear the granted view permissions, setPrivileges
to an empty array.
- accounts
Mariadb
Account Privileges Accounts - account information.
- instance
Id string - instance id.
- column
Privileges MariadbAccount Privileges Column Privilege[] - Column permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,REFERENCES
.Note: if the parameter is left empty, no change will be made to the granted column permissions. To clear the granted column permissions, setPrivileges
to an empty array. - database
Privileges MariadbAccount Privileges Database Privilege[] - Database permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE TEMPORARY TABLES
,LOCK TABLES
,EXECUTE
,CREATE VIEW
,SHOW VIEW
,CREATE ROUTINE
,ALTER ROUTINE
,EVENT
,TRIGGER
.Note: if the parameter is left empty, no change will be made to the granted database permissions. To clear the granted database permissions, setPrivileges
to an empty array. - function
Privileges MariadbAccount Privileges Function Privilege[] - Database function permissions. Valid values of
Privileges
:ALTER ROUTINE
,EXECUTE
.Note: if the parameter is not passed in, no change will be made to the granted function permissions. To clear the granted function permissions, setPrivileges
to an empty array. - global
Privileges string[] - Global permission. Valid values of
GlobalPrivileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,PROCESS
,DROP
,REFERENCES
,INDEX
,ALTER
,SHOW DATABASES
,CREATE TEMPORARY TABLES
,LOCK TABLES
,EXECUTE
,CREATE VIEW
,SHOW VIEW
,CREATE ROUTINE
,ALTER ROUTINE
,EVENT
,TRIGGER
.Note: if the parameter is left empty, no change will be made to the granted global permissions. To clear the granted global permissions, set the parameter to an empty array. - mariadb
Account stringPrivileges Id - ID of the resource.
- procedure
Privileges MariadbAccount Privileges Procedure Privilege[] - Database stored procedure permission. Valid values of
Privileges
:ALTER ROUTINE
,EXECUTE
.Note: if the parameter is not passed in, no change will be made to the granted stored procedure permissions. To clear the granted stored procedure permissions, setPrivileges
to an empty array. - table
Privileges MariadbAccount Privileges Table Privilege[] SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE VIEW
,SHOW VIEW
,TRIGGER
.Note: if the parameter is not passed in, no change will be made to the granted table permissions. To clear the granted table permissions, setPrivileges
to an empty array.- view
Privileges MariadbAccount Privileges View Privilege[] - Database view permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE VIEW
,SHOW VIEW
,TRIGGER
.Note: if the parameter is not passed in, no change will be made to the granted view permissions. To clear the granted view permissions, setPrivileges
to an empty array.
- accounts
Mariadb
Account Privileges Accounts Args - account information.
- instance_
id str - instance id.
- column_
privileges Sequence[MariadbAccount Privileges Column Privilege Args] - Column permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,REFERENCES
.Note: if the parameter is left empty, no change will be made to the granted column permissions. To clear the granted column permissions, setPrivileges
to an empty array. - database_
privileges Sequence[MariadbAccount Privileges Database Privilege Args] - Database permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE TEMPORARY TABLES
,LOCK TABLES
,EXECUTE
,CREATE VIEW
,SHOW VIEW
,CREATE ROUTINE
,ALTER ROUTINE
,EVENT
,TRIGGER
.Note: if the parameter is left empty, no change will be made to the granted database permissions. To clear the granted database permissions, setPrivileges
to an empty array. - function_
privileges Sequence[MariadbAccount Privileges Function Privilege Args] - Database function permissions. Valid values of
Privileges
:ALTER ROUTINE
,EXECUTE
.Note: if the parameter is not passed in, no change will be made to the granted function permissions. To clear the granted function permissions, setPrivileges
to an empty array. - global_
privileges Sequence[str] - Global permission. Valid values of
GlobalPrivileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,PROCESS
,DROP
,REFERENCES
,INDEX
,ALTER
,SHOW DATABASES
,CREATE TEMPORARY TABLES
,LOCK TABLES
,EXECUTE
,CREATE VIEW
,SHOW VIEW
,CREATE ROUTINE
,ALTER ROUTINE
,EVENT
,TRIGGER
.Note: if the parameter is left empty, no change will be made to the granted global permissions. To clear the granted global permissions, set the parameter to an empty array. - mariadb_
account_ strprivileges_ id - ID of the resource.
- procedure_
privileges Sequence[MariadbAccount Privileges Procedure Privilege Args] - Database stored procedure permission. Valid values of
Privileges
:ALTER ROUTINE
,EXECUTE
.Note: if the parameter is not passed in, no change will be made to the granted stored procedure permissions. To clear the granted stored procedure permissions, setPrivileges
to an empty array. - table_
privileges Sequence[MariadbAccount Privileges Table Privilege Args] SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE VIEW
,SHOW VIEW
,TRIGGER
.Note: if the parameter is not passed in, no change will be made to the granted table permissions. To clear the granted table permissions, setPrivileges
to an empty array.- view_
privileges Sequence[MariadbAccount Privileges View Privilege Args] - Database view permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE VIEW
,SHOW VIEW
,TRIGGER
.Note: if the parameter is not passed in, no change will be made to the granted view permissions. To clear the granted view permissions, setPrivileges
to an empty array.
- accounts Property Map
- account information.
- instance
Id String - instance id.
- column
Privileges List<Property Map> - Column permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,REFERENCES
.Note: if the parameter is left empty, no change will be made to the granted column permissions. To clear the granted column permissions, setPrivileges
to an empty array. - database
Privileges List<Property Map> - Database permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE TEMPORARY TABLES
,LOCK TABLES
,EXECUTE
,CREATE VIEW
,SHOW VIEW
,CREATE ROUTINE
,ALTER ROUTINE
,EVENT
,TRIGGER
.Note: if the parameter is left empty, no change will be made to the granted database permissions. To clear the granted database permissions, setPrivileges
to an empty array. - function
Privileges List<Property Map> - Database function permissions. Valid values of
Privileges
:ALTER ROUTINE
,EXECUTE
.Note: if the parameter is not passed in, no change will be made to the granted function permissions. To clear the granted function permissions, setPrivileges
to an empty array. - global
Privileges List<String> - Global permission. Valid values of
GlobalPrivileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,PROCESS
,DROP
,REFERENCES
,INDEX
,ALTER
,SHOW DATABASES
,CREATE TEMPORARY TABLES
,LOCK TABLES
,EXECUTE
,CREATE VIEW
,SHOW VIEW
,CREATE ROUTINE
,ALTER ROUTINE
,EVENT
,TRIGGER
.Note: if the parameter is left empty, no change will be made to the granted global permissions. To clear the granted global permissions, set the parameter to an empty array. - mariadb
Account StringPrivileges Id - ID of the resource.
- procedure
Privileges List<Property Map> - Database stored procedure permission. Valid values of
Privileges
:ALTER ROUTINE
,EXECUTE
.Note: if the parameter is not passed in, no change will be made to the granted stored procedure permissions. To clear the granted stored procedure permissions, setPrivileges
to an empty array. - table
Privileges List<Property Map> SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE VIEW
,SHOW VIEW
,TRIGGER
.Note: if the parameter is not passed in, no change will be made to the granted table permissions. To clear the granted table permissions, setPrivileges
to an empty array.- view
Privileges List<Property Map> - Database view permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE VIEW
,SHOW VIEW
,TRIGGER
.Note: if the parameter is not passed in, no change will be made to the granted view permissions. To clear the granted view permissions, setPrivileges
to an empty array.
Outputs
All input properties are implicitly available as output properties. Additionally, the MariadbAccountPrivileges resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing MariadbAccountPrivileges Resource
Get an existing MariadbAccountPrivileges 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?: MariadbAccountPrivilegesState, opts?: CustomResourceOptions): MariadbAccountPrivileges
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
accounts: Optional[MariadbAccountPrivilegesAccountsArgs] = None,
column_privileges: Optional[Sequence[MariadbAccountPrivilegesColumnPrivilegeArgs]] = None,
database_privileges: Optional[Sequence[MariadbAccountPrivilegesDatabasePrivilegeArgs]] = None,
function_privileges: Optional[Sequence[MariadbAccountPrivilegesFunctionPrivilegeArgs]] = None,
global_privileges: Optional[Sequence[str]] = None,
instance_id: Optional[str] = None,
mariadb_account_privileges_id: Optional[str] = None,
procedure_privileges: Optional[Sequence[MariadbAccountPrivilegesProcedurePrivilegeArgs]] = None,
table_privileges: Optional[Sequence[MariadbAccountPrivilegesTablePrivilegeArgs]] = None,
view_privileges: Optional[Sequence[MariadbAccountPrivilegesViewPrivilegeArgs]] = None) -> MariadbAccountPrivileges
func GetMariadbAccountPrivileges(ctx *Context, name string, id IDInput, state *MariadbAccountPrivilegesState, opts ...ResourceOption) (*MariadbAccountPrivileges, error)
public static MariadbAccountPrivileges Get(string name, Input<string> id, MariadbAccountPrivilegesState? state, CustomResourceOptions? opts = null)
public static MariadbAccountPrivileges get(String name, Output<String> id, MariadbAccountPrivilegesState state, CustomResourceOptions options)
resources: _: type: tencentcloud:MariadbAccountPrivileges 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.
- Accounts
Mariadb
Account Privileges Accounts - account information.
- Column
Privileges List<MariadbAccount Privileges Column Privilege> - Column permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,REFERENCES
.Note: if the parameter is left empty, no change will be made to the granted column permissions. To clear the granted column permissions, setPrivileges
to an empty array. - Database
Privileges List<MariadbAccount Privileges Database Privilege> - Database permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE TEMPORARY TABLES
,LOCK TABLES
,EXECUTE
,CREATE VIEW
,SHOW VIEW
,CREATE ROUTINE
,ALTER ROUTINE
,EVENT
,TRIGGER
.Note: if the parameter is left empty, no change will be made to the granted database permissions. To clear the granted database permissions, setPrivileges
to an empty array. - Function
Privileges List<MariadbAccount Privileges Function Privilege> - Database function permissions. Valid values of
Privileges
:ALTER ROUTINE
,EXECUTE
.Note: if the parameter is not passed in, no change will be made to the granted function permissions. To clear the granted function permissions, setPrivileges
to an empty array. - Global
Privileges List<string> - Global permission. Valid values of
GlobalPrivileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,PROCESS
,DROP
,REFERENCES
,INDEX
,ALTER
,SHOW DATABASES
,CREATE TEMPORARY TABLES
,LOCK TABLES
,EXECUTE
,CREATE VIEW
,SHOW VIEW
,CREATE ROUTINE
,ALTER ROUTINE
,EVENT
,TRIGGER
.Note: if the parameter is left empty, no change will be made to the granted global permissions. To clear the granted global permissions, set the parameter to an empty array. - Instance
Id string - instance id.
- Mariadb
Account stringPrivileges Id - ID of the resource.
- Procedure
Privileges List<MariadbAccount Privileges Procedure Privilege> - Database stored procedure permission. Valid values of
Privileges
:ALTER ROUTINE
,EXECUTE
.Note: if the parameter is not passed in, no change will be made to the granted stored procedure permissions. To clear the granted stored procedure permissions, setPrivileges
to an empty array. - Table
Privileges List<MariadbAccount Privileges Table Privilege> SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE VIEW
,SHOW VIEW
,TRIGGER
.Note: if the parameter is not passed in, no change will be made to the granted table permissions. To clear the granted table permissions, setPrivileges
to an empty array.- View
Privileges List<MariadbAccount Privileges View Privilege> - Database view permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE VIEW
,SHOW VIEW
,TRIGGER
.Note: if the parameter is not passed in, no change will be made to the granted view permissions. To clear the granted view permissions, setPrivileges
to an empty array.
- Accounts
Mariadb
Account Privileges Accounts Args - account information.
- Column
Privileges []MariadbAccount Privileges Column Privilege Args - Column permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,REFERENCES
.Note: if the parameter is left empty, no change will be made to the granted column permissions. To clear the granted column permissions, setPrivileges
to an empty array. - Database
Privileges []MariadbAccount Privileges Database Privilege Args - Database permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE TEMPORARY TABLES
,LOCK TABLES
,EXECUTE
,CREATE VIEW
,SHOW VIEW
,CREATE ROUTINE
,ALTER ROUTINE
,EVENT
,TRIGGER
.Note: if the parameter is left empty, no change will be made to the granted database permissions. To clear the granted database permissions, setPrivileges
to an empty array. - Function
Privileges []MariadbAccount Privileges Function Privilege Args - Database function permissions. Valid values of
Privileges
:ALTER ROUTINE
,EXECUTE
.Note: if the parameter is not passed in, no change will be made to the granted function permissions. To clear the granted function permissions, setPrivileges
to an empty array. - Global
Privileges []string - Global permission. Valid values of
GlobalPrivileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,PROCESS
,DROP
,REFERENCES
,INDEX
,ALTER
,SHOW DATABASES
,CREATE TEMPORARY TABLES
,LOCK TABLES
,EXECUTE
,CREATE VIEW
,SHOW VIEW
,CREATE ROUTINE
,ALTER ROUTINE
,EVENT
,TRIGGER
.Note: if the parameter is left empty, no change will be made to the granted global permissions. To clear the granted global permissions, set the parameter to an empty array. - Instance
Id string - instance id.
- Mariadb
Account stringPrivileges Id - ID of the resource.
- Procedure
Privileges []MariadbAccount Privileges Procedure Privilege Args - Database stored procedure permission. Valid values of
Privileges
:ALTER ROUTINE
,EXECUTE
.Note: if the parameter is not passed in, no change will be made to the granted stored procedure permissions. To clear the granted stored procedure permissions, setPrivileges
to an empty array. - Table
Privileges []MariadbAccount Privileges Table Privilege Args SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE VIEW
,SHOW VIEW
,TRIGGER
.Note: if the parameter is not passed in, no change will be made to the granted table permissions. To clear the granted table permissions, setPrivileges
to an empty array.- View
Privileges []MariadbAccount Privileges View Privilege Args - Database view permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE VIEW
,SHOW VIEW
,TRIGGER
.Note: if the parameter is not passed in, no change will be made to the granted view permissions. To clear the granted view permissions, setPrivileges
to an empty array.
- accounts
Mariadb
Account Privileges Accounts - account information.
- column
Privileges List<MariadbAccount Privileges Column Privilege> - Column permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,REFERENCES
.Note: if the parameter is left empty, no change will be made to the granted column permissions. To clear the granted column permissions, setPrivileges
to an empty array. - database
Privileges List<MariadbAccount Privileges Database Privilege> - Database permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE TEMPORARY TABLES
,LOCK TABLES
,EXECUTE
,CREATE VIEW
,SHOW VIEW
,CREATE ROUTINE
,ALTER ROUTINE
,EVENT
,TRIGGER
.Note: if the parameter is left empty, no change will be made to the granted database permissions. To clear the granted database permissions, setPrivileges
to an empty array. - function
Privileges List<MariadbAccount Privileges Function Privilege> - Database function permissions. Valid values of
Privileges
:ALTER ROUTINE
,EXECUTE
.Note: if the parameter is not passed in, no change will be made to the granted function permissions. To clear the granted function permissions, setPrivileges
to an empty array. - global
Privileges List<String> - Global permission. Valid values of
GlobalPrivileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,PROCESS
,DROP
,REFERENCES
,INDEX
,ALTER
,SHOW DATABASES
,CREATE TEMPORARY TABLES
,LOCK TABLES
,EXECUTE
,CREATE VIEW
,SHOW VIEW
,CREATE ROUTINE
,ALTER ROUTINE
,EVENT
,TRIGGER
.Note: if the parameter is left empty, no change will be made to the granted global permissions. To clear the granted global permissions, set the parameter to an empty array. - instance
Id String - instance id.
- mariadb
Account StringPrivileges Id - ID of the resource.
- procedure
Privileges List<MariadbAccount Privileges Procedure Privilege> - Database stored procedure permission. Valid values of
Privileges
:ALTER ROUTINE
,EXECUTE
.Note: if the parameter is not passed in, no change will be made to the granted stored procedure permissions. To clear the granted stored procedure permissions, setPrivileges
to an empty array. - table
Privileges List<MariadbAccount Privileges Table Privilege> SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE VIEW
,SHOW VIEW
,TRIGGER
.Note: if the parameter is not passed in, no change will be made to the granted table permissions. To clear the granted table permissions, setPrivileges
to an empty array.- view
Privileges List<MariadbAccount Privileges View Privilege> - Database view permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE VIEW
,SHOW VIEW
,TRIGGER
.Note: if the parameter is not passed in, no change will be made to the granted view permissions. To clear the granted view permissions, setPrivileges
to an empty array.
- accounts
Mariadb
Account Privileges Accounts - account information.
- column
Privileges MariadbAccount Privileges Column Privilege[] - Column permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,REFERENCES
.Note: if the parameter is left empty, no change will be made to the granted column permissions. To clear the granted column permissions, setPrivileges
to an empty array. - database
Privileges MariadbAccount Privileges Database Privilege[] - Database permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE TEMPORARY TABLES
,LOCK TABLES
,EXECUTE
,CREATE VIEW
,SHOW VIEW
,CREATE ROUTINE
,ALTER ROUTINE
,EVENT
,TRIGGER
.Note: if the parameter is left empty, no change will be made to the granted database permissions. To clear the granted database permissions, setPrivileges
to an empty array. - function
Privileges MariadbAccount Privileges Function Privilege[] - Database function permissions. Valid values of
Privileges
:ALTER ROUTINE
,EXECUTE
.Note: if the parameter is not passed in, no change will be made to the granted function permissions. To clear the granted function permissions, setPrivileges
to an empty array. - global
Privileges string[] - Global permission. Valid values of
GlobalPrivileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,PROCESS
,DROP
,REFERENCES
,INDEX
,ALTER
,SHOW DATABASES
,CREATE TEMPORARY TABLES
,LOCK TABLES
,EXECUTE
,CREATE VIEW
,SHOW VIEW
,CREATE ROUTINE
,ALTER ROUTINE
,EVENT
,TRIGGER
.Note: if the parameter is left empty, no change will be made to the granted global permissions. To clear the granted global permissions, set the parameter to an empty array. - instance
Id string - instance id.
- mariadb
Account stringPrivileges Id - ID of the resource.
- procedure
Privileges MariadbAccount Privileges Procedure Privilege[] - Database stored procedure permission. Valid values of
Privileges
:ALTER ROUTINE
,EXECUTE
.Note: if the parameter is not passed in, no change will be made to the granted stored procedure permissions. To clear the granted stored procedure permissions, setPrivileges
to an empty array. - table
Privileges MariadbAccount Privileges Table Privilege[] SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE VIEW
,SHOW VIEW
,TRIGGER
.Note: if the parameter is not passed in, no change will be made to the granted table permissions. To clear the granted table permissions, setPrivileges
to an empty array.- view
Privileges MariadbAccount Privileges View Privilege[] - Database view permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE VIEW
,SHOW VIEW
,TRIGGER
.Note: if the parameter is not passed in, no change will be made to the granted view permissions. To clear the granted view permissions, setPrivileges
to an empty array.
- accounts
Mariadb
Account Privileges Accounts Args - account information.
- column_
privileges Sequence[MariadbAccount Privileges Column Privilege Args] - Column permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,REFERENCES
.Note: if the parameter is left empty, no change will be made to the granted column permissions. To clear the granted column permissions, setPrivileges
to an empty array. - database_
privileges Sequence[MariadbAccount Privileges Database Privilege Args] - Database permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE TEMPORARY TABLES
,LOCK TABLES
,EXECUTE
,CREATE VIEW
,SHOW VIEW
,CREATE ROUTINE
,ALTER ROUTINE
,EVENT
,TRIGGER
.Note: if the parameter is left empty, no change will be made to the granted database permissions. To clear the granted database permissions, setPrivileges
to an empty array. - function_
privileges Sequence[MariadbAccount Privileges Function Privilege Args] - Database function permissions. Valid values of
Privileges
:ALTER ROUTINE
,EXECUTE
.Note: if the parameter is not passed in, no change will be made to the granted function permissions. To clear the granted function permissions, setPrivileges
to an empty array. - global_
privileges Sequence[str] - Global permission. Valid values of
GlobalPrivileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,PROCESS
,DROP
,REFERENCES
,INDEX
,ALTER
,SHOW DATABASES
,CREATE TEMPORARY TABLES
,LOCK TABLES
,EXECUTE
,CREATE VIEW
,SHOW VIEW
,CREATE ROUTINE
,ALTER ROUTINE
,EVENT
,TRIGGER
.Note: if the parameter is left empty, no change will be made to the granted global permissions. To clear the granted global permissions, set the parameter to an empty array. - instance_
id str - instance id.
- mariadb_
account_ strprivileges_ id - ID of the resource.
- procedure_
privileges Sequence[MariadbAccount Privileges Procedure Privilege Args] - Database stored procedure permission. Valid values of
Privileges
:ALTER ROUTINE
,EXECUTE
.Note: if the parameter is not passed in, no change will be made to the granted stored procedure permissions. To clear the granted stored procedure permissions, setPrivileges
to an empty array. - table_
privileges Sequence[MariadbAccount Privileges Table Privilege Args] SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE VIEW
,SHOW VIEW
,TRIGGER
.Note: if the parameter is not passed in, no change will be made to the granted table permissions. To clear the granted table permissions, setPrivileges
to an empty array.- view_
privileges Sequence[MariadbAccount Privileges View Privilege Args] - Database view permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE VIEW
,SHOW VIEW
,TRIGGER
.Note: if the parameter is not passed in, no change will be made to the granted view permissions. To clear the granted view permissions, setPrivileges
to an empty array.
- accounts Property Map
- account information.
- column
Privileges List<Property Map> - Column permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,REFERENCES
.Note: if the parameter is left empty, no change will be made to the granted column permissions. To clear the granted column permissions, setPrivileges
to an empty array. - database
Privileges List<Property Map> - Database permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE TEMPORARY TABLES
,LOCK TABLES
,EXECUTE
,CREATE VIEW
,SHOW VIEW
,CREATE ROUTINE
,ALTER ROUTINE
,EVENT
,TRIGGER
.Note: if the parameter is left empty, no change will be made to the granted database permissions. To clear the granted database permissions, setPrivileges
to an empty array. - function
Privileges List<Property Map> - Database function permissions. Valid values of
Privileges
:ALTER ROUTINE
,EXECUTE
.Note: if the parameter is not passed in, no change will be made to the granted function permissions. To clear the granted function permissions, setPrivileges
to an empty array. - global
Privileges List<String> - Global permission. Valid values of
GlobalPrivileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,PROCESS
,DROP
,REFERENCES
,INDEX
,ALTER
,SHOW DATABASES
,CREATE TEMPORARY TABLES
,LOCK TABLES
,EXECUTE
,CREATE VIEW
,SHOW VIEW
,CREATE ROUTINE
,ALTER ROUTINE
,EVENT
,TRIGGER
.Note: if the parameter is left empty, no change will be made to the granted global permissions. To clear the granted global permissions, set the parameter to an empty array. - instance
Id String - instance id.
- mariadb
Account StringPrivileges Id - ID of the resource.
- procedure
Privileges List<Property Map> - Database stored procedure permission. Valid values of
Privileges
:ALTER ROUTINE
,EXECUTE
.Note: if the parameter is not passed in, no change will be made to the granted stored procedure permissions. To clear the granted stored procedure permissions, setPrivileges
to an empty array. - table
Privileges List<Property Map> SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE VIEW
,SHOW VIEW
,TRIGGER
.Note: if the parameter is not passed in, no change will be made to the granted table permissions. To clear the granted table permissions, setPrivileges
to an empty array.- view
Privileges List<Property Map> - Database view permission. Valid values of
Privileges
:SELECT
,INSERT
,UPDATE
,DELETE
,CREATE
,DROP
,REFERENCES
,INDEX
,ALTER
,CREATE VIEW
,SHOW VIEW
,TRIGGER
.Note: if the parameter is not passed in, no change will be made to the granted view permissions. To clear the granted view permissions, setPrivileges
to an empty array.
Supporting Types
MariadbAccountPrivilegesAccounts, MariadbAccountPrivilegesAccountsArgs
MariadbAccountPrivilegesColumnPrivilege, MariadbAccountPrivilegesColumnPrivilegeArgs
- Column string
- Column name.
- Database string
- Database name.
- Privileges List<string>
- Permission information.
- Table string
- Table name.
- Column string
- Column name.
- Database string
- Database name.
- Privileges []string
- Permission information.
- Table string
- Table name.
- column String
- Column name.
- database String
- Database name.
- privileges List<String>
- Permission information.
- table String
- Table name.
- column string
- Column name.
- database string
- Database name.
- privileges string[]
- Permission information.
- table string
- Table name.
- column str
- Column name.
- database str
- Database name.
- privileges Sequence[str]
- Permission information.
- table str
- Table name.
- column String
- Column name.
- database String
- Database name.
- privileges List<String>
- Permission information.
- table String
- Table name.
MariadbAccountPrivilegesDatabasePrivilege, MariadbAccountPrivilegesDatabasePrivilegeArgs
- Database string
- Database name.
- Privileges List<string>
- Permission information.
- Database string
- Database name.
- Privileges []string
- Permission information.
- database String
- Database name.
- privileges List<String>
- Permission information.
- database string
- Database name.
- privileges string[]
- Permission information.
- database str
- Database name.
- privileges Sequence[str]
- Permission information.
- database String
- Database name.
- privileges List<String>
- Permission information.
MariadbAccountPrivilegesFunctionPrivilege, MariadbAccountPrivilegesFunctionPrivilegeArgs
- Database string
- Database name.
- Function
Name string - Function name.
- Privileges List<string>
- Permission information.
- Database string
- Database name.
- Function
Name string - Function name.
- Privileges []string
- Permission information.
- database String
- Database name.
- function
Name String - Function name.
- privileges List<String>
- Permission information.
- database string
- Database name.
- function
Name string - Function name.
- privileges string[]
- Permission information.
- database str
- Database name.
- function_
name str - Function name.
- privileges Sequence[str]
- Permission information.
- database String
- Database name.
- function
Name String - Function name.
- privileges List<String>
- Permission information.
MariadbAccountPrivilegesProcedurePrivilege, MariadbAccountPrivilegesProcedurePrivilegeArgs
- Database string
- Database name.
- Privileges List<string>
- Permission information.
- Procedure string
- Procedure name.
- Database string
- Database name.
- Privileges []string
- Permission information.
- Procedure string
- Procedure name.
- database String
- Database name.
- privileges List<String>
- Permission information.
- procedure String
- Procedure name.
- database string
- Database name.
- privileges string[]
- Permission information.
- procedure string
- Procedure name.
- database str
- Database name.
- privileges Sequence[str]
- Permission information.
- procedure str
- Procedure name.
- database String
- Database name.
- privileges List<String>
- Permission information.
- procedure String
- Procedure name.
MariadbAccountPrivilegesTablePrivilege, MariadbAccountPrivilegesTablePrivilegeArgs
- Database string
- Database name.
- Privileges List<string>
- Permission information.
- Table string
- Table name.
- Database string
- Database name.
- Privileges []string
- Permission information.
- Table string
- Table name.
- database String
- Database name.
- privileges List<String>
- Permission information.
- table String
- Table name.
- database string
- Database name.
- privileges string[]
- Permission information.
- table string
- Table name.
- database str
- Database name.
- privileges Sequence[str]
- Permission information.
- table str
- Table name.
- database String
- Database name.
- privileges List<String>
- Permission information.
- table String
- Table name.
MariadbAccountPrivilegesViewPrivilege, MariadbAccountPrivilegesViewPrivilegeArgs
- Database string
- Database name.
- Privileges List<string>
- Permission information.
- View string
- View name.
- Database string
- Database name.
- Privileges []string
- Permission information.
- View string
- View name.
- database String
- Database name.
- privileges List<String>
- Permission information.
- view String
- View name.
- database string
- Database name.
- privileges string[]
- Permission information.
- view string
- View name.
- database str
- Database name.
- privileges Sequence[str]
- Permission information.
- view str
- View name.
- database String
- Database name.
- privileges List<String>
- Permission information.
- view String
- View name.
Import
mariadb account_privileges can be imported using the id, e.g.
$ pulumi import tencentcloud:index/mariadbAccountPrivileges:MariadbAccountPrivileges account_privileges account_privileges_id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.