Class: TencentCloud::Tke::V20180525::CreateBackupStorageLocationRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180525/models.rb

Overview

CreateBackupStorageLocation请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(storageregion = nil, bucket = nil, name = nil, provider = nil, path = nil) ⇒ CreateBackupStorageLocationRequest

Returns a new instance of CreateBackupStorageLocationRequest.



1876
1877
1878
1879
1880
1881
1882
# File 'lib/v20180525/models.rb', line 1876

def initialize(storageregion=nil, bucket=nil, name=nil, provider=nil, path=nil)
  @StorageRegion = storageregion
  @Bucket = bucket
  @Name = name
  @Provider = provider
  @Path = path
end

Instance Attribute Details

#BucketObject

Parameters:

  • StorageRegion:

    存储仓库所属地域,比如COS广州(ap-guangzhou)

  • Bucket:

    对象存储桶名称,如果是COS必须是tke-backup前缀开头

  • Name:

    备份仓库名称

  • Provider:

    存储服务提供方,默认腾讯云

  • Path:

    对象存储桶路径



1874
1875
1876
# File 'lib/v20180525/models.rb', line 1874

def Bucket
  @Bucket
end

#NameObject

Parameters:

  • StorageRegion:

    存储仓库所属地域,比如COS广州(ap-guangzhou)

  • Bucket:

    对象存储桶名称,如果是COS必须是tke-backup前缀开头

  • Name:

    备份仓库名称

  • Provider:

    存储服务提供方,默认腾讯云

  • Path:

    对象存储桶路径



1874
1875
1876
# File 'lib/v20180525/models.rb', line 1874

def Name
  @Name
end

#PathObject

Parameters:

  • StorageRegion:

    存储仓库所属地域,比如COS广州(ap-guangzhou)

  • Bucket:

    对象存储桶名称,如果是COS必须是tke-backup前缀开头

  • Name:

    备份仓库名称

  • Provider:

    存储服务提供方,默认腾讯云

  • Path:

    对象存储桶路径



1874
1875
1876
# File 'lib/v20180525/models.rb', line 1874

def Path
  @Path
end

#ProviderObject

Parameters:

  • StorageRegion:

    存储仓库所属地域,比如COS广州(ap-guangzhou)

  • Bucket:

    对象存储桶名称,如果是COS必须是tke-backup前缀开头

  • Name:

    备份仓库名称

  • Provider:

    存储服务提供方,默认腾讯云

  • Path:

    对象存储桶路径



1874
1875
1876
# File 'lib/v20180525/models.rb', line 1874

def Provider
  @Provider
end

#StorageRegionObject

Parameters:

  • StorageRegion:

    存储仓库所属地域,比如COS广州(ap-guangzhou)

  • Bucket:

    对象存储桶名称,如果是COS必须是tke-backup前缀开头

  • Name:

    备份仓库名称

  • Provider:

    存储服务提供方,默认腾讯云

  • Path:

    对象存储桶路径



1874
1875
1876
# File 'lib/v20180525/models.rb', line 1874

def StorageRegion
  @StorageRegion
end

Instance Method Details

#deserialize(params) ⇒ Object



1884
1885
1886
1887
1888
1889
1890
# File 'lib/v20180525/models.rb', line 1884

def deserialize(params)
  @StorageRegion = params['StorageRegion']
  @Bucket = params['Bucket']
  @Name = params['Name']
  @Provider = params['Provider']
  @Path = params['Path']
end