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 string
- The unique name of the resource.
- args MysqlDbImportJobOperationArgs
- 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 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 string
- The unique name of the resource.
- args MysqlDbImportJobOperationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MysqlDbImportJobOperationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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:
- Instance
Id string - The instance ID, in the format: cdb-c1nl9rpv, is the same as the instance ID displayed on the cloud database console page.
- User string
- The username of the cloud database.
- Cos
Url string - The name of the imported target database, if it is not passed, it means that no database is specified.
- Db
Name string - The name of the imported target database, if it is not passed, it means that no database is specified.
- File
Name string - file name. This file refers to the file that the user has uploaded to Tencent Cloud, and only .sql files are supported.
- Mysql
Db stringImport Job Operation Id - Password string
- The password of the user account of the cloud database instance.
- Instance
Id string - The instance ID, in the format: cdb-c1nl9rpv, is the same as the instance ID displayed on the cloud database console page.
- User string
- The username of the cloud database.
- Cos
Url string - The name of the imported target database, if it is not passed, it means that no database is specified.
- Db
Name string - The name of the imported target database, if it is not passed, it means that no database is specified.
- File
Name string - file name. This file refers to the file that the user has uploaded to Tencent Cloud, and only .sql files are supported.
- Mysql
Db stringImport Job Operation Id - Password string
- The password of the user account of the cloud database instance.
- instance
Id String - The instance ID, in the format: cdb-c1nl9rpv, is the same as the instance ID displayed on the cloud database console page.
- user String
- The username of the cloud database.
- cos
Url String - The name of the imported target database, if it is not passed, it means that no database is specified.
- db
Name String - The name of the imported target database, if it is not passed, it means that no database is specified.
- file
Name String - file name. This file refers to the file that the user has uploaded to Tencent Cloud, and only .sql files are supported.
- mysql
Db StringImport Job Operation Id - password String
- The password of the user account of the cloud database instance.
- instance
Id string - The instance ID, in the format: cdb-c1nl9rpv, is the same as the instance ID displayed on the cloud database console page.
- user string
- The username of the cloud database.
- cos
Url string - The name of the imported target database, if it is not passed, it means that no database is specified.
- db
Name string - The name of the imported target database, if it is not passed, it means that no database is specified.
- file
Name string - file name. This file refers to the file that the user has uploaded to Tencent Cloud, and only .sql files are supported.
- mysql
Db stringImport Job Operation Id - password string
- The password of the user account of the cloud database instance.
- 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.
- user 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_ strimport_ job_ operation_ id - password str
- The password of the user account of the cloud database instance.
- instance
Id String - The instance ID, in the format: cdb-c1nl9rpv, is the same as the instance ID displayed on the cloud database console page.
- user String
- The username of the cloud database.
- cos
Url String - The name of the imported target database, if it is not passed, it means that no database is specified.
- db
Name String - The name of the imported target database, if it is not passed, it means that no database is specified.
- file
Name String - file name. This file refers to the file that the user has uploaded to Tencent Cloud, and only .sql files are supported.
- mysql
Db StringImport Job Operation Id - 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:
- Async
Request stringId - The request ID of the asynchronous task.
- Id string
- The provider-assigned unique ID for this managed resource.
- Async
Request stringId - The request ID of the asynchronous task.
- Id string
- The provider-assigned unique ID for this managed resource.
- async
Request StringId - The request ID of the asynchronous task.
- id String
- The provider-assigned unique ID for this managed resource.
- async
Request stringId - The request ID of the asynchronous task.
- id string
- The provider-assigned unique ID for this managed resource.
- async_
request_ strid - The request ID of the asynchronous task.
- id str
- The provider-assigned unique ID for this managed resource.
- async
Request StringId - 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
- 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.
- Async
Request stringId - The request ID of the asynchronous task.
- Cos
Url string - The name of the imported target database, if it is not passed, it means that no database is specified.
- Db
Name string - The name of the imported target database, if it is not passed, it means that no database is specified.
- File
Name string - file name. This file refers to the file that the user has uploaded to Tencent Cloud, and only .sql files are supported.
- Instance
Id string - The instance ID, in the format: cdb-c1nl9rpv, is the same as the instance ID displayed on the cloud database console page.
- Mysql
Db stringImport Job Operation Id - Password string
- The password of the user account of the cloud database instance.
- User string
- The username of the cloud database.
- Async
Request stringId - The request ID of the asynchronous task.
- Cos
Url string - The name of the imported target database, if it is not passed, it means that no database is specified.
- Db
Name string - The name of the imported target database, if it is not passed, it means that no database is specified.
- File
Name string - file name. This file refers to the file that the user has uploaded to Tencent Cloud, and only .sql files are supported.
- Instance
Id string - The instance ID, in the format: cdb-c1nl9rpv, is the same as the instance ID displayed on the cloud database console page.
- Mysql
Db stringImport Job Operation Id - Password string
- The password of the user account of the cloud database instance.
- User string
- The username of the cloud database.
- async
Request StringId - The request ID of the asynchronous task.
- cos
Url String - The name of the imported target database, if it is not passed, it means that no database is specified.
- db
Name String - The name of the imported target database, if it is not passed, it means that no database is specified.
- file
Name String - file name. This file refers to the file that the user has uploaded to Tencent Cloud, and only .sql files are supported.
- instance
Id String - The instance ID, in the format: cdb-c1nl9rpv, is the same as the instance ID displayed on the cloud database console page.
- mysql
Db StringImport Job Operation Id - password String
- The password of the user account of the cloud database instance.
- user String
- The username of the cloud database.
- async
Request stringId - The request ID of the asynchronous task.
- cos
Url string - The name of the imported target database, if it is not passed, it means that no database is specified.
- db
Name string - The name of the imported target database, if it is not passed, it means that no database is specified.
- file
Name string - file name. This file refers to the file that the user has uploaded to Tencent Cloud, and only .sql files are supported.
- instance
Id string - The instance ID, in the format: cdb-c1nl9rpv, is the same as the instance ID displayed on the cloud database console page.
- mysql
Db stringImport Job Operation Id - password string
- The password of the user account of the cloud database instance.
- user string
- The username of the cloud database.
- async_
request_ strid - 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_ strimport_ job_ operation_ id - password str
- The password of the user account of the cloud database instance.
- user str
- The username of the cloud database.
- async
Request StringId - The request ID of the asynchronous task.
- cos
Url String - The name of the imported target database, if it is not passed, it means that no database is specified.
- db
Name String - The name of the imported target database, if it is not passed, it means that no database is specified.
- file
Name String - file name. This file refers to the file that the user has uploaded to Tencent Cloud, and only .sql files are supported.
- instance
Id String - The instance ID, in the format: cdb-c1nl9rpv, is the same as the instance ID displayed on the cloud database console page.
- mysql
Db StringImport Job Operation Id - 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.