lib/v20220901/models.rb in tencentcloud-sdk-teo-3.0.480 vs lib/v20220901/models.rb in tencentcloud-sdk-teo-3.0.481

- old
+ new

@@ -299,41 +299,10 @@ @Values = params['Values'] @Fuzzy = params['Fuzzy'] end end - # 高级回源配置 - class AdvancedOriginGroup < TencentCloud::Common::AbstractModel - # @param OriginGroupConditions: 高级回源配置的匹配条件。其中相同的Target只能出现一次。 - # @type OriginGroupConditions: Array - # @param OriginGroupId: 主源站组ID。 - # @type OriginGroupId: String - # @param BackupOriginGroupId: 备用源站组ID。 - # @type BackupOriginGroupId: String - - attr_accessor :OriginGroupConditions, :OriginGroupId, :BackupOriginGroupId - - def initialize(origingroupconditions=nil, origingroupid=nil, backuporigingroupid=nil) - @OriginGroupConditions = origingroupconditions - @OriginGroupId = origingroupid - @BackupOriginGroupId = backuporigingroupid - end - - def deserialize(params) - unless params['OriginGroupConditions'].nil? - @OriginGroupConditions = [] - params['OriginGroupConditions'].each do |i| - origingroupcondition_tmp = OriginGroupCondition.new - origingroupcondition_tmp.deserialize(i) - @OriginGroupConditions << origingroupcondition_tmp - end - end - @OriginGroupId = params['OriginGroupId'] - @BackupOriginGroupId = params['BackupOriginGroupId'] - end - end - # AI规则引擎防护 class AiRule < TencentCloud::Common::AbstractModel # @param Mode: AI规则引擎状态,取值有: # <li> smart_status_close:关闭;</li> # <li> smart_status_open:拦截处置;</li> @@ -1631,80 +1600,10 @@ @PageId = params['PageId'] @RequestId = params['RequestId'] end end - # CreateDnsRecord请求参数结构体 - class CreateDnsRecordRequest < TencentCloud::Common::AbstractModel - # @param ZoneId: DNS记录所属站点ID。 - # @type ZoneId: String - # @param Type: DNS记录类型,取值有: - # <li>A:将域名指向一个外网 IPv4 地址,如 8.8.8.8;</li> - # <li>AAAA:将域名指向一个外网 IPv6 地址;</li> - # <li>MX:用于邮箱服务器,相关记录值/优先级参数由邮件注册商提供。存在多条 MX 记录时,优先级越低越优先;</li> - # <li>CNAME:将域名指向另一个域名,再由该域名解析出最终 IP 地址;</li> - # <li>TXT:对域名进行标识和说明,常用于域名验证和 SPF 记录(反垃圾邮件);</li> - # <li>NS:如果需要将子域名交给其他 DNS 服务商解析,则需要添加 NS 记录。根域名无法添加 NS 记录;</li> - # <li>CAA:指定可为本站点颁发证书的 CA;</li> - # <li>SRV:标识某台服务器使用了某个服务,常见于微软系统的目录管理。</li> - # @type Type: String - # @param Name: DNS记录名。 - # @type Name: String - # @param Content: DNS记录内容。 - # @type Content: String - # @param Mode: 代理模式,取值有: - # <li>dns_only:仅DNS解析;</li> - # <li>proxied:代理加速。</li> - # @type Mode: String - # @param TTL: 缓存时间,数值越小,修改记录各地生效时间越快,默认为300,单位:秒。 - # @type TTL: Integer - # @param Priority: 该参数在创建MX记录时生效,值越小优先级越高,用户可指定值范围1~50,不指定默认为0。 - # @type Priority: Integer - - attr_accessor :ZoneId, :Type, :Name, :Content, :Mode, :TTL, :Priority - - def initialize(zoneid=nil, type=nil, name=nil, content=nil, mode=nil, ttl=nil, priority=nil) - @ZoneId = zoneid - @Type = type - @Name = name - @Content = content - @Mode = mode - @TTL = ttl - @Priority = priority - end - - def deserialize(params) - @ZoneId = params['ZoneId'] - @Type = params['Type'] - @Name = params['Name'] - @Content = params['Content'] - @Mode = params['Mode'] - @TTL = params['TTL'] - @Priority = params['Priority'] - end - end - - # CreateDnsRecord返回参数结构体 - class CreateDnsRecordResponse < TencentCloud::Common::AbstractModel - # @param DnsRecordId: DNS解析记录ID。 - # @type DnsRecordId: String - # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 - # @type RequestId: String - - attr_accessor :DnsRecordId, :RequestId - - def initialize(dnsrecordid=nil, requestid=nil) - @DnsRecordId = dnsrecordid - @RequestId = requestid - end - - def deserialize(params) - @DnsRecordId = params['DnsRecordId'] - @RequestId = params['RequestId'] - end - end - # CreateIpTableList请求参数结构体 class CreateIpTableListRequest < TencentCloud::Common::AbstractModel # @param ZoneId: 站点Id。 # @type ZoneId: String # @param Entity: 子域名/应用名。 @@ -1748,86 +1647,10 @@ def deserialize(params) @RequestId = params['RequestId'] end end - # CreateLoadBalancing请求参数结构体 - class CreateLoadBalancingRequest < TencentCloud::Common::AbstractModel - # @param ZoneId: 站点ID。 - # @type ZoneId: String - # @param Host: 负载均衡域名。 - # @type Host: String - # @param Type: 代理模式,取值有: - # <li>dns_only:仅DNS;</li> - # <li>proxied:开启代理。</li> - # @type Type: String - # @param OriginGroupId: 主源站源站组ID。 - # @type OriginGroupId: String - # @param BackupOriginGroupId: 备用源站源站组ID,当Type=proxied时可以填写,为空表示不使用备用源站。 - # @type BackupOriginGroupId: String - # @param TTL: 当Type=dns_only时,指解析记录在DNS服务器缓存的生存时间。 - # 取值范围60-86400,单位:秒,不填写使用默认值:600。 - # @type TTL: Integer - # @param OriginType: 回源类型,取值有: - # <li>normal:主备回源;</li> - # <li>advanced:高级回源配置(仅当Type=proxied时可以使用)。</li>为空表示使用主备回源。 - # @type OriginType: String - # @param AdvancedOriginGroups: 高级回源配置,当OriginType=advanced时有效。 - # @type AdvancedOriginGroups: Array - - attr_accessor :ZoneId, :Host, :Type, :OriginGroupId, :BackupOriginGroupId, :TTL, :OriginType, :AdvancedOriginGroups - - def initialize(zoneid=nil, host=nil, type=nil, origingroupid=nil, backuporigingroupid=nil, ttl=nil, origintype=nil, advancedorigingroups=nil) - @ZoneId = zoneid - @Host = host - @Type = type - @OriginGroupId = origingroupid - @BackupOriginGroupId = backuporigingroupid - @TTL = ttl - @OriginType = origintype - @AdvancedOriginGroups = advancedorigingroups - end - - def deserialize(params) - @ZoneId = params['ZoneId'] - @Host = params['Host'] - @Type = params['Type'] - @OriginGroupId = params['OriginGroupId'] - @BackupOriginGroupId = params['BackupOriginGroupId'] - @TTL = params['TTL'] - @OriginType = params['OriginType'] - unless params['AdvancedOriginGroups'].nil? - @AdvancedOriginGroups = [] - params['AdvancedOriginGroups'].each do |i| - advancedorigingroup_tmp = AdvancedOriginGroup.new - advancedorigingroup_tmp.deserialize(i) - @AdvancedOriginGroups << advancedorigingroup_tmp - end - end - end - end - - # CreateLoadBalancing返回参数结构体 - class CreateLoadBalancingResponse < TencentCloud::Common::AbstractModel - # @param LoadBalancingId: 负载均衡ID。 - # @type LoadBalancingId: String - # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 - # @type RequestId: String - - attr_accessor :LoadBalancingId, :RequestId - - def initialize(loadbalancingid=nil, requestid=nil) - @LoadBalancingId = loadbalancingid - @RequestId = requestid - end - - def deserialize(params) - @LoadBalancingId = params['LoadBalancingId'] - @RequestId = params['RequestId'] - end - end - # CreateLogSet请求参数结构体 class CreateLogSetRequest < TencentCloud::Common::AbstractModel # @param LogSetName: 日志集名称。 # @type LogSetName: String # @param LogSetRegion: 日志集归属的地域。 @@ -3384,82 +3207,10 @@ def deserialize(params) @RequestId = params['RequestId'] end end - # DeleteDnsRecords请求参数结构体 - class DeleteDnsRecordsRequest < TencentCloud::Common::AbstractModel - # @param ZoneId: 待删除记录所属站点 ID。 - # @type ZoneId: String - # @param DnsRecordIds: 待删除记录 ID。 - # @type DnsRecordIds: Array - - attr_accessor :ZoneId, :DnsRecordIds - - def initialize(zoneid=nil, dnsrecordids=nil) - @ZoneId = zoneid - @DnsRecordIds = dnsrecordids - end - - def deserialize(params) - @ZoneId = params['ZoneId'] - @DnsRecordIds = params['DnsRecordIds'] - end - end - - # DeleteDnsRecords返回参数结构体 - class DeleteDnsRecordsResponse < TencentCloud::Common::AbstractModel - # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 - # @type RequestId: String - - attr_accessor :RequestId - - def initialize(requestid=nil) - @RequestId = requestid - end - - def deserialize(params) - @RequestId = params['RequestId'] - end - end - - # DeleteLoadBalancing请求参数结构体 - class DeleteLoadBalancingRequest < TencentCloud::Common::AbstractModel - # @param ZoneId: 站点ID。 - # @type ZoneId: String - # @param LoadBalancingId: 负载均衡ID。 - # @type LoadBalancingId: String - - attr_accessor :ZoneId, :LoadBalancingId - - def initialize(zoneid=nil, loadbalancingid=nil) - @ZoneId = zoneid - @LoadBalancingId = loadbalancingid - end - - def deserialize(params) - @ZoneId = params['ZoneId'] - @LoadBalancingId = params['LoadBalancingId'] - end - end - - # DeleteLoadBalancing返回参数结构体 - class DeleteLoadBalancingResponse < TencentCloud::Common::AbstractModel - # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 - # @type RequestId: String - - attr_accessor :RequestId - - def initialize(requestid=nil) - @RequestId = requestid - end - - def deserialize(params) - @RequestId = params['RequestId'] - end - end - # DeleteLogTopicTask请求参数结构体 class DeleteLogTopicTaskRequest < TencentCloud::Common::AbstractModel # @param TopicId: 待删除的推送任务ID。 # @type TopicId: String # @param LogSetRegion: 推送任务所属日志集地域,此字段仅用于CLS推送任务。 @@ -5329,103 +5080,10 @@ end @RequestId = params['RequestId'] end end - # DescribeDnsRecords请求参数结构体 - class DescribeDnsRecordsRequest < TencentCloud::Common::AbstractModel - # @param ZoneId: DNS记录所属站点ID。不填写该参数默认返回所有站点下的记录。 - # @type ZoneId: String - # @param Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下: - # <li>record-id<br>   按照【<strong>DNS记录id</strong>】进行过滤。DNS记录ID形如:record-1a8df68z。<br>   类型:String<br>   必选:否 - # <li>record-name<br>   按照【<strong>DNS记录名称</strong>】进行过滤。<br>   类型:String<br>   必选:否 - # <li>record-type<br>   按照【<strong>DNS记录类型</strong>】进行过滤。<br>   类型:String<br>   必选:否<br>   可选项:<br>   A:将域名指向一个外网 IPv4 地址,如 8.8.8.8<br>   AAAA:将域名指向一个外网 IPv6 地址<br>   CNAME:将域名指向另一个域名,再由该域名解析出最终 IP 地址<br>   TXT:对域名进行标识和说明,常用于域名验证和 SPF 记录(反垃圾邮件)<br>   NS:如果需要将子域名交给其他 DNS 服务商解析,则需要添加 NS 记录。根域名无法添加 NS 记录<br>   CAA:指定可为本站点颁发证书的 CA<br>   SRV:标识某台服务器使用了某个服务,常见于微软系统的目录管理<br>   MX:指定收件人邮件服务器。 - # <li>mode<br>   按照【<strong>代理模式</strong>】进行过滤。<br>   类型:String<br>   必选:否<br>   可选项:<br>   dns_only:仅DNS解析<br>   proxied:代理加速 - # <li>ttl<br>   按照【<strong>解析生效时间</strong>】进行过滤。<br>   类型:string<br>   必选:否 - # @type Filters: Array - # @param Direction: 列表排序方式,取值有: - # <li>asc:升序排列;</li> - # <li>desc:降序排列。</li>默认值为asc。 - # @type Direction: String - # @param Match: 匹配方式,取值有: - # <li>all:返回匹配所有查询条件的记录;</li> - # <li>any:返回匹配任意一个查询条件的记录。</li>默认值为all。 - # @type Match: String - # @param Limit: 分页查询限制数目,默认值:20,上限:1000。 - # @type Limit: Integer - # @param Offset: 分页查询偏移量,默认为 0。 - # @type Offset: Integer - # @param Order: 排序依据,取值有: - # <li>content:DNS记录内容;</li> - # <li>created_on:DNS记录创建时间;</li> - # <li>mode:代理模式;</li> - # <li>record-name:DNS记录名称;</li> - # <li>ttl:解析记录生效时间;</li> - # <li>record-type:DNS记录类型。</li>默认根据record-type, recrod-name属性组合排序。 - # @type Order: String - - attr_accessor :ZoneId, :Filters, :Direction, :Match, :Limit, :Offset, :Order - - def initialize(zoneid=nil, filters=nil, direction=nil, match=nil, limit=nil, offset=nil, order=nil) - @ZoneId = zoneid - @Filters = filters - @Direction = direction - @Match = match - @Limit = limit - @Offset = offset - @Order = order - end - - def deserialize(params) - @ZoneId = params['ZoneId'] - unless params['Filters'].nil? - @Filters = [] - params['Filters'].each do |i| - advancedfilter_tmp = AdvancedFilter.new - advancedfilter_tmp.deserialize(i) - @Filters << advancedfilter_tmp - end - end - @Direction = params['Direction'] - @Match = params['Match'] - @Limit = params['Limit'] - @Offset = params['Offset'] - @Order = params['Order'] - end - end - - # DescribeDnsRecords返回参数结构体 - class DescribeDnsRecordsResponse < TencentCloud::Common::AbstractModel - # @param TotalCount: DNS记录总数。 - # @type TotalCount: Integer - # @param DnsRecords: DNS 记录列表。 - # @type DnsRecords: Array - # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 - # @type RequestId: String - - attr_accessor :TotalCount, :DnsRecords, :RequestId - - def initialize(totalcount=nil, dnsrecords=nil, requestid=nil) - @TotalCount = totalcount - @DnsRecords = dnsrecords - @RequestId = requestid - end - - def deserialize(params) - @TotalCount = params['TotalCount'] - unless params['DnsRecords'].nil? - @DnsRecords = [] - params['DnsRecords'].each do |i| - dnsrecord_tmp = DnsRecord.new - dnsrecord_tmp.deserialize(i) - @DnsRecords << dnsrecord_tmp - end - end - @RequestId = params['RequestId'] - end - end - # DescribeDnssec请求参数结构体 class DescribeDnssecRequest < TencentCloud::Common::AbstractModel # @param ZoneId: 站点ID。 # @type ZoneId: String @@ -5602,75 +5260,10 @@ end @RequestId = params['RequestId'] end end - # DescribeLoadBalancing请求参数结构体 - class DescribeLoadBalancingRequest < TencentCloud::Common::AbstractModel - # @param Offset: 分页查询偏移量,默认为0。 - # @type Offset: Integer - # @param Limit: 分页查询限制数目,默认为10,取值:1-1000。 - # @type Limit: Integer - # @param Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下: - # <li>zone-id<br>   按照【<strong>站点ID</strong>】进行过滤。站点ID形如:zone-1a8df68z<br>   类型:String<br>   必选:否<br>   模糊查询:不支持 - # </li><li>load-balancing-id<br>   按照【<strong>负载均衡ID</strong>】进行过滤。负载均衡ID形如:lb-d21bfaf7-8d72-11ec-841d-00ff977fb3c8<br>   类型:String<br>   必选:否<br>   模糊查询:不支持 - # </li><li>host<br>   按照【<strong>负载均衡host</strong>】进行过滤。host形如:lb.tencent.com<br>   类型:String<br>   必选:否<br>   模糊查询:支持,模糊查询时仅支持一个host</li> - # @type Filters: Array - - attr_accessor :Offset, :Limit, :Filters - - def initialize(offset=nil, limit=nil, filters=nil) - @Offset = offset - @Limit = limit - @Filters = filters - end - - def deserialize(params) - @Offset = params['Offset'] - @Limit = params['Limit'] - unless params['Filters'].nil? - @Filters = [] - params['Filters'].each do |i| - advancedfilter_tmp = AdvancedFilter.new - advancedfilter_tmp.deserialize(i) - @Filters << advancedfilter_tmp - end - end - end - end - - # DescribeLoadBalancing返回参数结构体 - class DescribeLoadBalancingResponse < TencentCloud::Common::AbstractModel - # @param TotalCount: 记录总数。 - # @type TotalCount: Integer - # @param Data: 负载均衡信息。 - # @type Data: Array - # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 - # @type RequestId: String - - attr_accessor :TotalCount, :Data, :RequestId - - def initialize(totalcount=nil, data=nil, requestid=nil) - @TotalCount = totalcount - @Data = data - @RequestId = requestid - end - - def deserialize(params) - @TotalCount = params['TotalCount'] - unless params['Data'].nil? - @Data = [] - params['Data'].each do |i| - loadbalancing_tmp = LoadBalancing.new - loadbalancing_tmp.deserialize(i) - @Data << loadbalancing_tmp - end - end - @RequestId = params['RequestId'] - end - end - # DescribeLogSets请求参数结构体 class DescribeLogSetsRequest < TencentCloud::Common::AbstractModel # @param LogSetRegion: 日志集所属的地域。 # @type LogSetRegion: String # @param LogSetId: 日志集ID。 @@ -8538,98 +8131,10 @@ @Time = params['Time'] @Value = params['Value'] end end - # DNS 记录 - class DnsRecord < TencentCloud::Common::AbstractModel - # @param DnsRecordId: 记录 ID。 - # @type DnsRecordId: String - # @param DnsRecordType: DNS记录类型,取值有: - # <li>A:将域名指向一个外网 IPv4 地址,如 8.8.8.8;</li> - # <li>AAAA:将域名指向一个外网 IPv6 地址;</li> - # <li>MX:用于邮箱服务器,相关记录值/优先级参数由邮件注册商提供。存在多条 MX 记录时,优先级越低越优先;</li> - # <li>CNAME:将域名指向另一个域名,再由该域名解析出最终 IP 地址;</li> - # <li>TXT:对域名进行标识和说明,常用于域名验证和 SPF 记录(反垃圾邮件);</li> - # <li>NS:如果需要将子域名交给其他 DNS 服务商解析,则需要添加 NS 记录。根域名无法添加 NS 记录;</li> - # <li>CAA:指定可为本站点颁发证书的 CA;</li> - # <li>SRV:标识某台服务器使用了某个服务,常见于微软系统的目录管理。</li> - # @type DnsRecordType: String - # @param DnsRecordName: 记录名称。 - # @type DnsRecordName: String - # @param Content: 记录值。 - # @type Content: String - # @param Mode: 代理模式,取值有: - # <li>dns_only:仅DNS解析;</li> - # <li>proxied:代理加速。</li> - # @type Mode: String - # @param TTL: 缓存时间,数值越小,修改记录各地生效时间越快,单位:秒。 - # @type TTL: Integer - # @param Priority: MX记录优先级,数值越小越优先。 - # @type Priority: Integer - # @param CreatedOn: 创建时间。 - # @type CreatedOn: String - # @param ModifiedOn: 修改时间。 - # @type ModifiedOn: String - # @param Locked: 域名锁定状态。 - # @type Locked: Boolean - # @param ZoneId: 站点 ID。 - # @type ZoneId: String - # @param ZoneName: 站点名称。 - # @type ZoneName: String - # @param Status: 记录解析状态,取值有: - # <li>active:生效;</li> - # <li>pending:不生效。</li> - # @type Status: String - # @param Cname: CNAME 地址。 - # 注意:此字段可能返回 null,表示取不到有效值。 - # @type Cname: String - # @param DomainStatus: 域名服务类型,取值有: - # <li>lb:负载均衡;</li> - # <li>security:安全;</li> - # <li>l4:四层代理。</li> - # @type DomainStatus: Array - - attr_accessor :DnsRecordId, :DnsRecordType, :DnsRecordName, :Content, :Mode, :TTL, :Priority, :CreatedOn, :ModifiedOn, :Locked, :ZoneId, :ZoneName, :Status, :Cname, :DomainStatus - - def initialize(dnsrecordid=nil, dnsrecordtype=nil, dnsrecordname=nil, content=nil, mode=nil, ttl=nil, priority=nil, createdon=nil, modifiedon=nil, locked=nil, zoneid=nil, zonename=nil, status=nil, cname=nil, domainstatus=nil) - @DnsRecordId = dnsrecordid - @DnsRecordType = dnsrecordtype - @DnsRecordName = dnsrecordname - @Content = content - @Mode = mode - @TTL = ttl - @Priority = priority - @CreatedOn = createdon - @ModifiedOn = modifiedon - @Locked = locked - @ZoneId = zoneid - @ZoneName = zonename - @Status = status - @Cname = cname - @DomainStatus = domainstatus - end - - def deserialize(params) - @DnsRecordId = params['DnsRecordId'] - @DnsRecordType = params['DnsRecordType'] - @DnsRecordName = params['DnsRecordName'] - @Content = params['Content'] - @Mode = params['Mode'] - @TTL = params['TTL'] - @Priority = params['Priority'] - @CreatedOn = params['CreatedOn'] - @ModifiedOn = params['ModifiedOn'] - @Locked = params['Locked'] - @ZoneId = params['ZoneId'] - @ZoneName = params['ZoneName'] - @Status = params['Status'] - @Cname = params['Cname'] - @DomainStatus = params['DomainStatus'] - end - end - # DNSSEC 相关信息 class DnssecInfo < TencentCloud::Common::AbstractModel # @param Flags: 标志。 # @type Flags: Integer # @param Algorithm: 加密算法。 @@ -9688,84 +9193,10 @@ @LogPacketName = params['LogPacketName'] @Area = params['Area'] end end - # 负载均衡信息 - class LoadBalancing < TencentCloud::Common::AbstractModel - # @param LoadBalancingId: 负载均衡ID。 - # @type LoadBalancingId: String - # @param ZoneId: 站点ID。 - # @type ZoneId: String - # @param Host: 子域名,填写@表示根域。 - # @type Host: String - # @param Type: 代理模式,取值有: - # <li>dns_only:仅DNS;</li> - # <li>proxied:开启代理。</li> - # @type Type: String - # @param TTL: 当Type=dns_only表示DNS记录的缓存时间。 - # @type TTL: Integer - # @param Status: 状态,取值有: - # <li>online:部署成功;</li> - # <li>process:部署中。</li> - # @type Status: String - # @param Cname: 调度域名。 - # @type Cname: String - # @param OriginGroupId: 主源源站组ID。 - # @type OriginGroupId: String - # @param BackupOriginGroupId: 备用源站源站组ID。为空表示不适用备用源站。 - # @type BackupOriginGroupId: String - # @param UpdateTime: 更新时间。 - # @type UpdateTime: String - # @param OriginType: 回源类型,取值有: - # <li>normal:主备回源;</li> - # <li>advanced:高级回源配置。</li> - # @type OriginType: String - # @param AdvancedOriginGroups: 高级回源配置,当OriginType=advanced时有效。 - # 注意:此字段可能返回 null,表示取不到有效值。 - # @type AdvancedOriginGroups: Array - - attr_accessor :LoadBalancingId, :ZoneId, :Host, :Type, :TTL, :Status, :Cname, :OriginGroupId, :BackupOriginGroupId, :UpdateTime, :OriginType, :AdvancedOriginGroups - - def initialize(loadbalancingid=nil, zoneid=nil, host=nil, type=nil, ttl=nil, status=nil, cname=nil, origingroupid=nil, backuporigingroupid=nil, updatetime=nil, origintype=nil, advancedorigingroups=nil) - @LoadBalancingId = loadbalancingid - @ZoneId = zoneid - @Host = host - @Type = type - @TTL = ttl - @Status = status - @Cname = cname - @OriginGroupId = origingroupid - @BackupOriginGroupId = backuporigingroupid - @UpdateTime = updatetime - @OriginType = origintype - @AdvancedOriginGroups = advancedorigingroups - end - - def deserialize(params) - @LoadBalancingId = params['LoadBalancingId'] - @ZoneId = params['ZoneId'] - @Host = params['Host'] - @Type = params['Type'] - @TTL = params['TTL'] - @Status = params['Status'] - @Cname = params['Cname'] - @OriginGroupId = params['OriginGroupId'] - @BackupOriginGroupId = params['BackupOriginGroupId'] - @UpdateTime = params['UpdateTime'] - @OriginType = params['OriginType'] - unless params['AdvancedOriginGroups'].nil? - @AdvancedOriginGroups = [] - params['AdvancedOriginGroups'].each do |i| - advancedorigingroup_tmp = AdvancedOriginGroup.new - advancedorigingroup_tmp.deserialize(i) - @AdvancedOriginGroups << advancedorigingroup_tmp - end - end - end - end - # 日志集基本信息 class LogSetInfo < TencentCloud::Common::AbstractModel # @param LogSetRegion: 日志集所属地区。 # @type LogSetRegion: String # @param LogSetName: 日志集名 @@ -10450,80 +9881,10 @@ def deserialize(params) @RequestId = params['RequestId'] end end - # ModifyDnsRecord请求参数结构体 - class ModifyDnsRecordRequest < TencentCloud::Common::AbstractModel - # @param DnsRecordId: 记录ID。 - # @type DnsRecordId: String - # @param ZoneId: 站点ID。 - # @type ZoneId: String - # @param DnsRecordType: DNS记录类型,取值有: - # <li>A:将域名指向一个外网 IPv4 地址,如 8.8.8.8;</li> - # <li>AAAA:将域名指向一个外网 IPv6 地址;</li> - # <li>MX:用于邮箱服务器,相关记录值/优先级参数由邮件注册商提供。存在多条 MX 记录时,优先级越低越优先;</li> - # <li>CNAME:将域名指向另一个域名,再由该域名解析出最终 IP 地址;</li> - # <li>TXT:对域名进行标识和说明,常用于域名验证和 SPF 记录(反垃圾邮件);</li> - # <li>NS:如果需要将子域名交给其他 DNS 服务商解析,则需要添加 NS 记录。根域名无法添加 NS 记录;</li> - # <li>CAA:指定可为本站点颁发证书的 CA;</li> - # <li>SRV:标识某台服务器使用了某个服务,常见于微软系统的目录管理。</li>不填写保持原有配置。 - # @type DnsRecordType: String - # @param DnsRecordName: 记录名称,由主机记录+站点名称组成,不填写保持原有配置。 - # @type DnsRecordName: String - # @param Content: 记录内容,不填写保持原有配置。 - # @type Content: String - # @param TTL: 缓存时间,数值越小,修改记录各地生效时间越快,默认为300,单位:秒,不填写保持原有配置。 - # @type TTL: Integer - # @param Priority: 该参数在修改MX记录时生效,值越小优先级越高,用户可指定值范围为1~50,不指定默认为0,不填写保持原有配置。 - # @type Priority: Integer - # @param Mode: 代理模式,取值有: - # <li>dns_only:仅DNS解析;</li> - # <li>proxied:代理加速。</li>不填写保持原有配置。 - # @type Mode: String - - attr_accessor :DnsRecordId, :ZoneId, :DnsRecordType, :DnsRecordName, :Content, :TTL, :Priority, :Mode - - def initialize(dnsrecordid=nil, zoneid=nil, dnsrecordtype=nil, dnsrecordname=nil, content=nil, ttl=nil, priority=nil, mode=nil) - @DnsRecordId = dnsrecordid - @ZoneId = zoneid - @DnsRecordType = dnsrecordtype - @DnsRecordName = dnsrecordname - @Content = content - @TTL = ttl - @Priority = priority - @Mode = mode - end - - def deserialize(params) - @DnsRecordId = params['DnsRecordId'] - @ZoneId = params['ZoneId'] - @DnsRecordType = params['DnsRecordType'] - @DnsRecordName = params['DnsRecordName'] - @Content = params['Content'] - @TTL = params['TTL'] - @Priority = params['Priority'] - @Mode = params['Mode'] - end - end - - # ModifyDnsRecord返回参数结构体 - class ModifyDnsRecordResponse < TencentCloud::Common::AbstractModel - # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 - # @type RequestId: String - - attr_accessor :RequestId - - def initialize(requestid=nil) - @RequestId = requestid - end - - def deserialize(params) - @RequestId = params['RequestId'] - end - end - # ModifyDnssec请求参数结构体 class ModifyDnssecRequest < TencentCloud::Common::AbstractModel # @param ZoneId: 站点ID。 # @type ZoneId: String # @param Status: DNSSEC状态,取值有 @@ -10611,83 +9972,10 @@ def deserialize(params) @RequestId = params['RequestId'] end end - # ModifyLoadBalancing请求参数结构体 - class ModifyLoadBalancingRequest < TencentCloud::Common::AbstractModel - # @param ZoneId: 站点ID。 - # @type ZoneId: String - # @param LoadBalancingId: 负载均衡ID。 - # @type LoadBalancingId: String - # @param Type: 代理模式,取值有: - # <li>dns_only:仅DNS;</li> - # <li>proxied:开启代理。</li> - # @type Type: String - # @param OriginGroupId: 主源站源站组ID。 - # @type OriginGroupId: String - # @param BackupOriginGroupId: 备用源站源站组ID,当Type=proxied时可以填写,为空表示不使用备用源站。 - # @type BackupOriginGroupId: String - # @param TTL: 当Type=dns_only时,指解析记录在DNS服务器缓存的生存时间。 - # 取值范围60-86400,单位:秒,不填写使用默认值:600。 - # @type TTL: Integer - # @param OriginType: 回源类型,取值有: - # <li>normal:主备回源;</li> - # <li>advanced:高级回源配置(仅当Type=proxied时可以使用)。</li>不填写表示使用主备回源。 - # @type OriginType: String - # @param AdvancedOriginGroups: 高级回源配置,当OriginType=advanced时有效。 - # 不填写表示不使用高级回源配置。 - # @type AdvancedOriginGroups: Array - - attr_accessor :ZoneId, :LoadBalancingId, :Type, :OriginGroupId, :BackupOriginGroupId, :TTL, :OriginType, :AdvancedOriginGroups - - def initialize(zoneid=nil, loadbalancingid=nil, type=nil, origingroupid=nil, backuporigingroupid=nil, ttl=nil, origintype=nil, advancedorigingroups=nil) - @ZoneId = zoneid - @LoadBalancingId = loadbalancingid - @Type = type - @OriginGroupId = origingroupid - @BackupOriginGroupId = backuporigingroupid - @TTL = ttl - @OriginType = origintype - @AdvancedOriginGroups = advancedorigingroups - end - - def deserialize(params) - @ZoneId = params['ZoneId'] - @LoadBalancingId = params['LoadBalancingId'] - @Type = params['Type'] - @OriginGroupId = params['OriginGroupId'] - @BackupOriginGroupId = params['BackupOriginGroupId'] - @TTL = params['TTL'] - @OriginType = params['OriginType'] - unless params['AdvancedOriginGroups'].nil? - @AdvancedOriginGroups = [] - params['AdvancedOriginGroups'].each do |i| - advancedorigingroup_tmp = AdvancedOriginGroup.new - advancedorigingroup_tmp.deserialize(i) - @AdvancedOriginGroups << advancedorigingroup_tmp - end - end - end - end - - # ModifyLoadBalancing返回参数结构体 - class ModifyLoadBalancingResponse < TencentCloud::Common::AbstractModel - # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 - # @type RequestId: String - - attr_accessor :RequestId - - def initialize(requestid=nil) - @RequestId = requestid - end - - def deserialize(params) - @RequestId = params['RequestId'] - end - end - # ModifyLogTopicTask请求参数结构体 class ModifyLogTopicTaskRequest < TencentCloud::Common::AbstractModel # @param ZoneId: 站点ID。 # @type ZoneId: String # @param LogSetRegion: 日志集所属地区。 @@ -11557,36 +10845,9 @@ @OriginRecords << originrecord_tmp end end @UpdateTime = params['UpdateTime'] @HostHeader = params['HostHeader'] - end - end - - # 回源配置的条件参数 - class OriginGroupCondition < TencentCloud::Common::AbstractModel - # @param Target: 匹配类型,取值有: - # <li>url:当前站点下匹配URL路径的请求,例如:/example 或 /example/foo.jpg。支持*表示通配符,支持?表示匹配一个字符。 - # </li> - # @type Target: String - # @param Operator: 运算符,取值有: - # <li>equal:等于。</li> - # @type Operator: String - # @param Values: 对应匹配类型的取值。 - # @type Values: Array - - attr_accessor :Target, :Operator, :Values - - def initialize(target=nil, operator=nil, values=nil) - @Target = target - @Operator = operator - @Values = values - end - - def deserialize(params) - @Target = params['Target'] - @Operator = params['Operator'] - @Values = params['Values'] end end # 源站组记录 class OriginRecord < TencentCloud::Common::AbstractModel