lib/v20220901/models.rb in tencentcloud-sdk-teo-3.0.720 vs lib/v20220901/models.rb in tencentcloud-sdk-teo-3.0.721

- old
+ new

@@ -1432,12 +1432,12 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type IgnoreCacheControl: String attr_accessor :Switch, :CacheTime, :IgnoreCacheControl extend Gem::Deprecate - deprecate :IgnoreCacheControl, :none, 2023, 11 - deprecate :IgnoreCacheControl=, :none, 2023, 11 + deprecate :IgnoreCacheControl, :none, 2023, 12 + deprecate :IgnoreCacheControl=, :none, 2023, 12 def initialize(switch=nil, cachetime=nil, ignorecachecontrol=nil) @Switch = switch @CacheTime = cachetime @IgnoreCacheControl = ignorecachecontrol @@ -2377,12 +2377,12 @@ # 若内容含有非 ASCII 字符集的字符,请开启此开关进行编码转换(编码规则遵循 RFC3986)。 # @type EncodeUrl: Boolean attr_accessor :ZoneId, :Type, :Method, :Targets, :EncodeUrl extend Gem::Deprecate - deprecate :EncodeUrl, :none, 2023, 11 - deprecate :EncodeUrl=, :none, 2023, 11 + deprecate :EncodeUrl, :none, 2023, 12 + deprecate :EncodeUrl=, :none, 2023, 12 def initialize(zoneid=nil, type=nil, method=nil, targets=nil, encodeurl=nil) @ZoneId = zoneid @Type = type @Method = method @@ -2610,14 +2610,14 @@ # @param JumpStart: 是否跳过站点现有的DNS记录扫描。默认值:false。 # @type JumpStart: Boolean attr_accessor :Type, :ZoneName, :Area, :PlanId, :AliasZoneName, :Tags, :AllowDuplicates, :JumpStart extend Gem::Deprecate - deprecate :AllowDuplicates, :none, 2023, 11 - deprecate :AllowDuplicates=, :none, 2023, 11 - deprecate :JumpStart, :none, 2023, 11 - deprecate :JumpStart=, :none, 2023, 11 + deprecate :AllowDuplicates, :none, 2023, 12 + deprecate :AllowDuplicates=, :none, 2023, 12 + deprecate :JumpStart, :none, 2023, 12 + deprecate :JumpStart=, :none, 2023, 12 def initialize(type=nil, zonename=nil, area=nil, planid=nil, aliaszonename=nil, tags=nil, allowduplicates=nil, jumpstart=nil) @Type = type @ZoneName = zonename @Area = area @@ -3305,10 +3305,13 @@ # <li>origin-type:按照源站类型进行过滤;</li> # <li>origin:按照主源站地址进行过滤;</li> # <li>backup-origin: 按照备用源站地址进行过滤;</li> # <li>domain-cname:按照 CNAME 进行过滤;</li> # <li>share-cname:按照共享 CNAME 进行过滤;</li> + # <li>vodeo-sub-app-id:按照【 vodeo 子应用 ID】进行过滤;</li> + # <li>vodeo-distribution-range:按照【 vodeo 分发范围】进行过滤;</li> + # <li>vodeo-bucket-id:按照【vodeo 存储桶 ID】进行过滤;</li> # @type Filters: Array # @param Order: 可根据该字段对返回结果进行排序,取值有: # <li>created_on:加速域名创建时间;</li> # <li>domain-name:加速域名。</li>不填写时,默认对返回结果按照 domain-name 排序。 # @type Order: String @@ -7420,12 +7423,12 @@ # 不填,默认取值为none。 # @type ApplyType: String attr_accessor :ZoneId, :Hosts, :Mode, :ServerCertInfo, :ApplyType extend Gem::Deprecate - deprecate :ApplyType, :none, 2023, 11 - deprecate :ApplyType=, :none, 2023, 11 + deprecate :ApplyType, :none, 2023, 12 + deprecate :ApplyType=, :none, 2023, 12 def initialize(zoneid=nil, hosts=nil, mode=nil, servercertinfo=nil, applytype=nil) @ZoneId = zoneid @Hosts = hosts @Mode = mode @@ -8090,42 +8093,59 @@ end # 加速域名源站信息。 class OriginDetail < TencentCloud::Common::AbstractModel # @param OriginType: 源站类型,取值有: - # <li>IP_DOMAIN:IPV4、IPV6或域名类型源站;</li> - # <li>COS:COS源。</li> - # <li>ORIGIN_GROUP:源站组类型源站。</li> - # <li>AWS_S3:AWS S3对象存储源站。</li> + # <li>IP_DOMAIN:IPV4、IPV6 或域名类型源站;</li> + # <li>COS:腾讯云 COS 对象存储源站;</li> + # <li>AWS_S3:AWS S3 对象存储源站;</li> + # <li>ORIGIN_GROUP:源站组类型源站;</li> + # <li>VODEO:云点播(混合云版);</li> + # <li>SPACE:源站卸载,当前仅白名单开放;</li> + # <li>LB:负载均衡,当前仅白名单开放。</li> # @type OriginType: String - # @param Origin: 源站地址,当OriginType参数指定为ORIGIN_GROUP时,该参数填写源站组ID,其他情况下填写源站地址。 + # @param Origin: 源站地址,根据 OriginType 的取值分为以下情况: + # <li>当 OriginType = IP_DOMAIN 时,该参数为 IPv4、IPv6 地址或域名;</li> + # <li>当 OriginType = COS 时,该参数为 COS 桶的访问域名;</li> + # <li>当 OriginType = AWS_S3,该参数为 S3 桶的访问域名;</li> + # <li>当 OriginType = ORIGIN_GROUP 时,该参数为源站组 ID;</li> + # <li>当 OriginType = VODEO 时,如果 VodeoDistributionRange = ALL,则该参数为 "all-buckets-in-vodeo-application";如果 VodeoDistributionRange = Bucket,则该参数为对应存储桶域名。</li> # @type Origin: String - # @param BackupOrigin: 备用源站组ID,该参数在OriginType参数指定为ORIGIN_GROUP时生效,为空表示不使用备用源站。 + # @param BackupOrigin: 备用源站组 ID,该参数仅在 OriginType = ORIGIN_GROUP 且配置了备源站组时会生效。 # @type BackupOrigin: String - # @param OriginGroupName: 主源源站组名称,当OriginType参数指定为ORIGIN_GROUP时该参数生效。 + # @param OriginGroupName: 主源源站组名称,当 OriginType = ORIGIN_GROUP 时该参数会返回值。 # @type OriginGroupName: String - # @param BackOriginGroupName: 备用源站源站组名称,当OriginType参数指定为ORIGIN_GROUP,且用户指定了被用源站时该参数生效。 + # @param BackOriginGroupName: 备用源站组名称,该参数仅当 OriginType = ORIGIN_GROUP 且配置了备用源站组时会生效。 # @type BackOriginGroupName: String - # @param PrivateAccess: 指定是否允许访问私有对象存储源站。当源站类型OriginType=COS或AWS_S3时有效 取值有: + # @param PrivateAccess: 指定是否允许访问私有对象存储源站,该参数仅当源站类型 OriginType = COS 或 AWS_S3 时会生效,取值有: # <li>on:使用私有鉴权;</li> # <li>off:不使用私有鉴权。</li> # 不填写,默认值为off。 # @type PrivateAccess: String - # @param PrivateParameters: 私有鉴权使用参数,当源站类型PrivateAccess=on时有效。 + # @param PrivateParameters: 私有鉴权使用参数,该参数仅当源站类型 PrivateAccess = on 时会生效。 # 注意:此字段可能返回 null,表示取不到有效值。 # @type PrivateParameters: Array + # @param VodeoSubAppId: MO 子应用 ID + # @type VodeoSubAppId: Integer + # @param VodeoDistributionRange: MO 分发范围,取值有: <li>All:全部</li> <li>Bucket:存储桶</li> + # @type VodeoDistributionRange: String + # @param VodeoBucketId: MO 存储桶 ID,分发范围(DistributionRange)为存储桶(Bucket)时必填 + # @type VodeoBucketId: String - attr_accessor :OriginType, :Origin, :BackupOrigin, :OriginGroupName, :BackOriginGroupName, :PrivateAccess, :PrivateParameters + attr_accessor :OriginType, :Origin, :BackupOrigin, :OriginGroupName, :BackOriginGroupName, :PrivateAccess, :PrivateParameters, :VodeoSubAppId, :VodeoDistributionRange, :VodeoBucketId - def initialize(origintype=nil, origin=nil, backuporigin=nil, origingroupname=nil, backorigingroupname=nil, privateaccess=nil, privateparameters=nil) + def initialize(origintype=nil, origin=nil, backuporigin=nil, origingroupname=nil, backorigingroupname=nil, privateaccess=nil, privateparameters=nil, vodeosubappid=nil, vodeodistributionrange=nil, vodeobucketid=nil) @OriginType = origintype @Origin = origin @BackupOrigin = backuporigin @OriginGroupName = origingroupname @BackOriginGroupName = backorigingroupname @PrivateAccess = privateaccess @PrivateParameters = privateparameters + @VodeoSubAppId = vodeosubappid + @VodeoDistributionRange = vodeodistributionrange + @VodeoBucketId = vodeobucketid end def deserialize(params) @OriginType = params['OriginType'] @Origin = params['Origin'] @@ -8139,10 +8159,13 @@ privateparameter_tmp = PrivateParameter.new privateparameter_tmp.deserialize(i) @PrivateParameters << privateparameter_tmp end end + @VodeoSubAppId = params['VodeoSubAppId'] + @VodeoDistributionRange = params['VodeoDistributionRange'] + @VodeoBucketId = params['VodeoBucketId'] end end # 源站组信息 class OriginGroup < TencentCloud::Common::AbstractModel @@ -8251,19 +8274,28 @@ # <li>on:使用私有鉴权;</li> # <li>off:不使用私有鉴权。</li>默认值:off。 # @type PrivateAccess: String # @param PrivateParameters: 私有鉴权使用参数,当源站类型 PrivateAccess=on 时有效。 # @type PrivateParameters: Array + # @param VodeoSubAppId: MO 子应用 ID + # @type VodeoSubAppId: Integer + # @param VodeoDistributionRange: MO 分发范围,取值有: <li>All:全部</li> <li>Bucket:存储桶</li> + # @type VodeoDistributionRange: String + # @param VodeoBucketId: MO 存储桶 ID,分发范围(DistributionRange)为存储桶(Bucket)时必填 + # @type VodeoBucketId: String - attr_accessor :OriginType, :Origin, :BackupOrigin, :PrivateAccess, :PrivateParameters + attr_accessor :OriginType, :Origin, :BackupOrigin, :PrivateAccess, :PrivateParameters, :VodeoSubAppId, :VodeoDistributionRange, :VodeoBucketId - def initialize(origintype=nil, origin=nil, backuporigin=nil, privateaccess=nil, privateparameters=nil) + def initialize(origintype=nil, origin=nil, backuporigin=nil, privateaccess=nil, privateparameters=nil, vodeosubappid=nil, vodeodistributionrange=nil, vodeobucketid=nil) @OriginType = origintype @Origin = origin @BackupOrigin = backuporigin @PrivateAccess = privateaccess @PrivateParameters = privateparameters + @VodeoSubAppId = vodeosubappid + @VodeoDistributionRange = vodeodistributionrange + @VodeoBucketId = vodeobucketid end def deserialize(params) @OriginType = params['OriginType'] @Origin = params['Origin'] @@ -8275,10 +8307,13 @@ privateparameter_tmp = PrivateParameter.new privateparameter_tmp.deserialize(i) @PrivateParameters << privateparameter_tmp end end + @VodeoSubAppId = params['VodeoSubAppId'] + @VodeoDistributionRange = params['VodeoDistributionRange'] + @VodeoBucketId = params['VodeoBucketId'] end end # 源站防护信息 class OriginProtectionInfo < TencentCloud::Common::AbstractModel @@ -8977,14 +9012,17 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type Group: String # @param ZoneNumber: 当前资源绑定的站点数量。 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ZoneNumber: Integer + # @param Type: 资源标记类型,取值有: + # <li>vodeo:vodeo资源。</li> + # @type Type: String - attr_accessor :Id, :PayMode, :CreateTime, :EnableTime, :ExpireTime, :Status, :Sv, :AutoRenewFlag, :PlanId, :Area, :Group, :ZoneNumber + attr_accessor :Id, :PayMode, :CreateTime, :EnableTime, :ExpireTime, :Status, :Sv, :AutoRenewFlag, :PlanId, :Area, :Group, :ZoneNumber, :Type - def initialize(id=nil, paymode=nil, createtime=nil, enabletime=nil, expiretime=nil, status=nil, sv=nil, autorenewflag=nil, planid=nil, area=nil, group=nil, zonenumber=nil) + def initialize(id=nil, paymode=nil, createtime=nil, enabletime=nil, expiretime=nil, status=nil, sv=nil, autorenewflag=nil, planid=nil, area=nil, group=nil, zonenumber=nil, type=nil) @Id = id @PayMode = paymode @CreateTime = createtime @EnableTime = enabletime @ExpireTime = expiretime @@ -8993,10 +9031,11 @@ @AutoRenewFlag = autorenewflag @PlanId = planid @Area = area @Group = group @ZoneNumber = zonenumber + @Type = type end def deserialize(params) @Id = params['Id'] @PayMode = params['PayMode'] @@ -9015,10 +9054,11 @@ @AutoRenewFlag = params['AutoRenewFlag'] @PlanId = params['PlanId'] @Area = params['Area'] @Group = params['Group'] @ZoneNumber = params['ZoneNumber'] + @Type = params['Type'] end end # 规则引擎HTTP请求头/响应头类型的动作 class RewriteAction < TencentCloud::Common::AbstractModel @@ -9226,11 +9266,11 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type IgnoreNameCase: Boolean attr_accessor :Operator, :Target, :Values, :IgnoreCase, :Name, :IgnoreNameCase extend Gem::Deprecate - deprecate :IgnoreNameCase, :none, 2023, 11 - deprecate :IgnoreNameCase=, :none, 2023, 11 + deprecate :IgnoreNameCase, :none, 2023, 12 + deprecate :IgnoreNameCase=, :none, 2023, 12 def initialize(operator=nil, target=nil, values=nil, ignorecase=nil, name=nil, ignorenamecase=nil) @Operator = operator @Target = target @Values = values