1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. MysqlDbImportJobOperation
tencentcloud 1.81.182 published on Monday, Apr 14, 2025 by tencentcloudstack

tencentcloud.MysqlDbImportJobOperation

Explore with Pulumi AI

Create MysqlDbImportJobOperation Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new MysqlDbImportJobOperation(name: string, args: MysqlDbImportJobOperationArgs, opts?: CustomResourceOptions);
@overload
def MysqlDbImportJobOperation(resource_name: str,
                              args: MysqlDbImportJobOperationArgs,
                              opts: Optional[ResourceOptions] = None)

@overload
def MysqlDbImportJobOperation(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              instance_id: Optional[str] = None,
                              user: Optional[str] = None,
                              cos_url: Optional[str] = None,
                              db_name: Optional[str] = None,
                              file_name: Optional[str] = None,
                              mysql_db_import_job_operation_id: Optional[str] = None,
                              password: Optional[str] = None)
func NewMysqlDbImportJobOperation(ctx *Context, name string, args MysqlDbImportJobOperationArgs, opts ...ResourceOption) (*MysqlDbImportJobOperation, error)
public MysqlDbImportJobOperation(string name, MysqlDbImportJobOperationArgs args, CustomResourceOptions? opts = null)
public MysqlDbImportJobOperation(String name, MysqlDbImportJobOperationArgs args)
public MysqlDbImportJobOperation(String name, MysqlDbImportJobOperationArgs args, CustomResourceOptions options)
type: tencentcloud:MysqlDbImportJobOperation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. MysqlDbImportJobOperationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. MysqlDbImportJobOperationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. MysqlDbImportJobOperationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. MysqlDbImportJobOperationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. MysqlDbImportJobOperationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

MysqlDbImportJobOperation 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 MysqlDbImportJobOperation resource accepts the following input properties:

InstanceId This property is required. string
The instance ID, in the format: cdb-c1nl9rpv, is the same as the instance ID displayed on the cloud database console page.
User This property is required. string
The username of the cloud database.
CosUrl string
The name of the imported target database, if it is not passed, it means that no database is specified.
DbName string
The name of the imported target database, if it is not passed, it means that no database is specified.
FileName string
file name. This file refers to the file that the user has uploaded to Tencent Cloud, and only .sql files are supported.
MysqlDbImportJobOperationId string
Password string
The password of the user account of the cloud database instance.
InstanceId This property is required. string
The instance ID, in the format: cdb-c1nl9rpv, is the same as the instance ID displayed on the cloud database console page.
User This property is required. string
The username of the cloud database.
CosUrl string
The name of the imported target database, if it is not passed, it means that no database is specified.
DbName string
The name of the imported target database, if it is not passed, it means that no database is specified.
FileName string
file name. This file refers to the file that the user has uploaded to Tencent Cloud, and only .sql files are supported.
MysqlDbImportJobOperationId string
Password string
The password of the user account of the cloud database instance.
instanceId This property is required. String
The instance ID, in the format: cdb-c1nl9rpv, is the same as the instance ID displayed on the cloud database console page.
user This property is required. String
The username of the cloud database.
cosUrl String
The name of the imported target database, if it is not passed, it means that no database is specified.
dbName String
The name of the imported target database, if it is not passed, it means that no database is specified.
fileName String
file name. This file refers to the file that the user has uploaded to Tencent Cloud, and only .sql files are supported.
mysqlDbImportJobOperationId String
password String
The password of the user account of the cloud database instance.
instanceId This property is required. string
The instance ID, in the format: cdb-c1nl9rpv, is the same as the instance ID displayed on the cloud database console page.
user This property is required. string
The username of the cloud database.
cosUrl string
The name of the imported target database, if it is not passed, it means that no database is specified.
dbName string
The name of the imported target database, if it is not passed, it means that no database is specified.
fileName string
file name. This file refers to the file that the user has uploaded to Tencent Cloud, and only .sql files are supported.
mysqlDbImportJobOperationId string
password string
The password of the user account of the cloud database instance.
instance_id This property is required. str
The instance ID, in the format: cdb-c1nl9rpv, is the same as the instance ID displayed on the cloud database console page.
user This property is required. str
The username of the cloud database.
cos_url str
The name of the imported target database, if it is not passed, it means that no database is specified.
db_name str
The name of the imported target database, if it is not passed, it means that no database is specified.
file_name str
file name. This file refers to the file that the user has uploaded to Tencent Cloud, and only .sql files are supported.
mysql_db_import_job_operation_id str
password str
The password of the user account of the cloud database instance.
instanceId This property is required. String
The instance ID, in the format: cdb-c1nl9rpv, is the same as the instance ID displayed on the cloud database console page.
user This property is required. String
The username of the cloud database.
cosUrl String
The name of the imported target database, if it is not passed, it means that no database is specified.
dbName String
The name of the imported target database, if it is not passed, it means that no database is specified.
fileName String
file name. This file refers to the file that the user has uploaded to Tencent Cloud, and only .sql files are supported.
mysqlDbImportJobOperationId String
password String
The password of the user account of the cloud database instance.

Outputs

All input properties are implicitly available as output properties. Additionally, the MysqlDbImportJobOperation resource produces the following output properties:

AsyncRequestId string
The request ID of the asynchronous task.
Id string
The provider-assigned unique ID for this managed resource.
AsyncRequestId string
The request ID of the asynchronous task.
Id string
The provider-assigned unique ID for this managed resource.
asyncRequestId String
The request ID of the asynchronous task.
id String
The provider-assigned unique ID for this managed resource.
asyncRequestId string
The request ID of the asynchronous task.
id string
The provider-assigned unique ID for this managed resource.
async_request_id str
The request ID of the asynchronous task.
id str
The provider-assigned unique ID for this managed resource.
asyncRequestId String
The request ID of the asynchronous task.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing MysqlDbImportJobOperation Resource

Get an existing MysqlDbImportJobOperation 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?: MysqlDbImportJobOperationState, opts?: CustomResourceOptions): MysqlDbImportJobOperation
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        async_request_id: Optional[str] = None,
        cos_url: Optional[str] = None,
        db_name: Optional[str] = None,
        file_name: Optional[str] = None,
        instance_id: Optional[str] = None,
        mysql_db_import_job_operation_id: Optional[str] = None,
        password: Optional[str] = None,
        user: Optional[str] = None) -> MysqlDbImportJobOperation
func GetMysqlDbImportJobOperation(ctx *Context, name string, id IDInput, state *MysqlDbImportJobOperationState, opts ...ResourceOption) (*MysqlDbImportJobOperation, error)
public static MysqlDbImportJobOperation Get(string name, Input<string> id, MysqlDbImportJobOperationState? state, CustomResourceOptions? opts = null)
public static MysqlDbImportJobOperation get(String name, Output<String> id, MysqlDbImportJobOperationState state, CustomResourceOptions options)
resources:  _:    type: tencentcloud:MysqlDbImportJobOperation    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
AsyncRequestId string
The request ID of the asynchronous task.
CosUrl string
The name of the imported target database, if it is not passed, it means that no database is specified.
DbName string
The name of the imported target database, if it is not passed, it means that no database is specified.
FileName string
file name. This file refers to the file that the user has uploaded to Tencent Cloud, and only .sql files are supported.
InstanceId string
The instance ID, in the format: cdb-c1nl9rpv, is the same as the instance ID displayed on the cloud database console page.
MysqlDbImportJobOperationId string
Password string
The password of the user account of the cloud database instance.
User string
The username of the cloud database.
AsyncRequestId string
The request ID of the asynchronous task.
CosUrl string
The name of the imported target database, if it is not passed, it means that no database is specified.
DbName string
The name of the imported target database, if it is not passed, it means that no database is specified.
FileName string
file name. This file refers to the file that the user has uploaded to Tencent Cloud, and only .sql files are supported.
InstanceId string
The instance ID, in the format: cdb-c1nl9rpv, is the same as the instance ID displayed on the cloud database console page.
MysqlDbImportJobOperationId string
Password string
The password of the user account of the cloud database instance.
User string
The username of the cloud database.
asyncRequestId String
The request ID of the asynchronous task.
cosUrl String
The name of the imported target database, if it is not passed, it means that no database is specified.
dbName String
The name of the imported target database, if it is not passed, it means that no database is specified.
fileName String
file name. This file refers to the file that the user has uploaded to Tencent Cloud, and only .sql files are supported.
instanceId String
The instance ID, in the format: cdb-c1nl9rpv, is the same as the instance ID displayed on the cloud database console page.
mysqlDbImportJobOperationId String
password String
The password of the user account of the cloud database instance.
user String
The username of the cloud database.
asyncRequestId string
The request ID of the asynchronous task.
cosUrl string
The name of the imported target database, if it is not passed, it means that no database is specified.
dbName string
The name of the imported target database, if it is not passed, it means that no database is specified.
fileName string
file name. This file refers to the file that the user has uploaded to Tencent Cloud, and only .sql files are supported.
instanceId string
The instance ID, in the format: cdb-c1nl9rpv, is the same as the instance ID displayed on the cloud database console page.
mysqlDbImportJobOperationId string
password string
The password of the user account of the cloud database instance.
user string
The username of the cloud database.
async_request_id str
The request ID of the asynchronous task.
cos_url str
The name of the imported target database, if it is not passed, it means that no database is specified.
db_name str
The name of the imported target database, if it is not passed, it means that no database is specified.
file_name str
file name. This file refers to the file that the user has uploaded to Tencent Cloud, and only .sql files are supported.
instance_id str
The instance ID, in the format: cdb-c1nl9rpv, is the same as the instance ID displayed on the cloud database console page.
mysql_db_import_job_operation_id str
password str
The password of the user account of the cloud database instance.
user str
The username of the cloud database.
asyncRequestId String
The request ID of the asynchronous task.
cosUrl String
The name of the imported target database, if it is not passed, it means that no database is specified.
dbName String
The name of the imported target database, if it is not passed, it means that no database is specified.
fileName String
file name. This file refers to the file that the user has uploaded to Tencent Cloud, and only .sql files are supported.
instanceId String
The instance ID, in the format: cdb-c1nl9rpv, is the same as the instance ID displayed on the cloud database console page.
mysqlDbImportJobOperationId String
password String
The password of the user account of the cloud database instance.
user String
The username of the cloud database.

Package Details

Repository
tencentcloud tencentcloudstack/terraform-provider-tencentcloud
License
Notes
This Pulumi package is based on the tencentcloud Terraform Provider.