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.



1926
1927
1928
1929
1930
1931
1932
# File 'lib/v20180525/models.rb', line 1926

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前缀开头,字符长度是19

  • Name:

    备份仓库名称,字符长度为63

  • Provider:

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

  • Path:

    对象存储桶路径



1924
1925
1926
# File 'lib/v20180525/models.rb', line 1924

def Bucket
  @Bucket
end

#NameObject

Parameters:

  • StorageRegion:

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

  • Bucket:

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

  • Name:

    备份仓库名称,字符长度为63

  • Provider:

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

  • Path:

    对象存储桶路径



1924
1925
1926
# File 'lib/v20180525/models.rb', line 1924

def Name
  @Name
end

#PathObject

Parameters:

  • StorageRegion:

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

  • Bucket:

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

  • Name:

    备份仓库名称,字符长度为63

  • Provider:

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

  • Path:

    对象存储桶路径



1924
1925
1926
# File 'lib/v20180525/models.rb', line 1924

def Path
  @Path
end

#ProviderObject

Parameters:

  • StorageRegion:

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

  • Bucket:

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

  • Name:

    备份仓库名称,字符长度为63

  • Provider:

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

  • Path:

    对象存储桶路径



1924
1925
1926
# File 'lib/v20180525/models.rb', line 1924

def Provider
  @Provider
end

#StorageRegionObject

Parameters:

  • StorageRegion:

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

  • Bucket:

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

  • Name:

    备份仓库名称,字符长度为63

  • Provider:

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

  • Path:

    对象存储桶路径



1924
1925
1926
# File 'lib/v20180525/models.rb', line 1924

def StorageRegion
  @StorageRegion
end

Instance Method Details

#deserialize(params) ⇒ Object



1934
1935
1936
1937
1938
1939
1940
# File 'lib/v20180525/models.rb', line 1934

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