Class: TencentCloud::Sqlserver::V20180328::MigrateSource
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Sqlserver::V20180328::MigrateSource
- Defined in:
- lib/v20180328/models.rb
Overview
迁移任务的源类型
Instance Attribute Summary collapse
- #CvmId ⇒ Object
- #InstanceId ⇒ Object
- #Ip ⇒ Object
- #Password ⇒ Object
- #Port ⇒ Object
- #SubnetId ⇒ Object
- #Url ⇒ Object
- #UrlPassword ⇒ Object
- #UserName ⇒ Object
- #VpcId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, cvmid = nil, vpcid = nil, subnetid = nil, username = nil, password = nil, ip = nil, port = nil, url = nil, urlpassword = nil) ⇒ MigrateSource
constructor
A new instance of MigrateSource.
Constructor Details
#initialize(instanceid = nil, cvmid = nil, vpcid = nil, subnetid = nil, username = nil, password = nil, ip = nil, port = nil, url = nil, urlpassword = nil) ⇒ MigrateSource
Returns a new instance of MigrateSource.
7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 |
# File 'lib/v20180328/models.rb', line 7881 def initialize(instanceid=nil, cvmid=nil, vpcid=nil, subnetid=nil, username=nil, password=nil, ip=nil, port=nil, url=nil, urlpassword=nil) @InstanceId = instanceid @CvmId = cvmid @VpcId = vpcid @SubnetId = subnetid @UserName = username @Password = password @Ip = ip @Port = port @Url = url @UrlPassword = urlpassword end |
Instance Attribute Details
#CvmId ⇒ Object
7879 7880 7881 |
# File 'lib/v20180328/models.rb', line 7879 def CvmId @CvmId end |
#InstanceId ⇒ Object
7879 7880 7881 |
# File 'lib/v20180328/models.rb', line 7879 def InstanceId @InstanceId end |
#Ip ⇒ Object
7879 7880 7881 |
# File 'lib/v20180328/models.rb', line 7879 def Ip @Ip end |
#Password ⇒ Object
7879 7880 7881 |
# File 'lib/v20180328/models.rb', line 7879 def Password @Password end |
#Port ⇒ Object
7879 7880 7881 |
# File 'lib/v20180328/models.rb', line 7879 def Port @Port end |
#SubnetId ⇒ Object
7879 7880 7881 |
# File 'lib/v20180328/models.rb', line 7879 def SubnetId @SubnetId end |
#Url ⇒ Object
7879 7880 7881 |
# File 'lib/v20180328/models.rb', line 7879 def Url @Url end |
#UrlPassword ⇒ Object
7879 7880 7881 |
# File 'lib/v20180328/models.rb', line 7879 def UrlPassword @UrlPassword end |
#UserName ⇒ Object
7879 7880 7881 |
# File 'lib/v20180328/models.rb', line 7879 def UserName @UserName end |
#VpcId ⇒ Object
7879 7880 7881 |
# File 'lib/v20180328/models.rb', line 7879 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 |
# File 'lib/v20180328/models.rb', line 7894 def deserialize(params) @InstanceId = params['InstanceId'] @CvmId = params['CvmId'] @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] @UserName = params['UserName'] @Password = params['Password'] @Ip = params['Ip'] @Port = params['Port'] @Url = params['Url'] @UrlPassword = params['UrlPassword'] end |