tencentcloud-sdk-python-intl-en 3.0.1108__py2.py3-none-any.whl → 3.0.1110__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of tencentcloud-sdk-python-intl-en might be problematic. Click here for more details.

@@ -6098,6 +6098,228 @@ class CreateCustomizeErrorPageResponse(AbstractModel):
6098
6098
  self._RequestId = params.get("RequestId")
6099
6099
 
6100
6100
 
6101
+ class CreateDnsRecordRequest(AbstractModel):
6102
+ """CreateDnsRecord request structure.
6103
+
6104
+ """
6105
+
6106
+ def __init__(self):
6107
+ r"""
6108
+ :param _ZoneId: The site ID of the DNS record.
6109
+ :type ZoneId: str
6110
+ :param _Name: The DNS record name.If the domain name is in Chinese, Korean, or Japanese, it needs to be converted to Punycode before being entered.
6111
+ :type Name: str
6112
+ :param _Type: DNS record types include:
6113
+
6114
+ - A:Points the domain to an external IPv4 address, such as 8.8.8.8.
6115
+ - AAAA: Points the domain to an external IPv6 address.
6116
+ - MX: Used for mail servers. When multiple MX records exist, the one with the lowest priority value is preferred.
6117
+ - CNAME: Points the domain to another domain, which then resolves to the final IP address.
6118
+ - TXT: Provides identification and description for the domain, commonly used for domain verification and SPF records (anti-spam).
6119
+ - NS: If you need to delegate a subdomain to another DNS service provider, you need to add an NS record. NS records cannot be added to the root domain.
6120
+ - CAA: Specifies which Certificate Authorities (CAs) are allowed to issue certificates for the site.
6121
+ - SRV: Indicates that a specific server is using a particular service, commonly used in Microsoft's directory management systems.
6122
+
6123
+ Different record types, such as SRV and CAA, have specific requirements for the host record name and record value format. For detailed descriptions and format examples of each record type, please refer to: [Introduction to DNS Record Types](https://www.tencentcloud.com/zh/document/product/1145/54764#2f681022-91ab-4a9e-ac3d-0a6c454d954e).
6124
+ :type Type: str
6125
+ :param _Content: DNS record content should be filled in according to the corresponding Type value. If the domain name is in Chinese, Korean, or Japanese, it needs to be converted to Punycode before being entered.
6126
+ :type Content: str
6127
+ :param _Location: DNS record resolution location, if not specified, default to "Default," which means the default resolution location and is effective for all regions.
6128
+ - Resolution location configuration is only applicable when the Type (DNS record type) is A, AAAA, or CNAME.
6129
+ - Resolution location configuration is only available for Standard and Enterprise packages.
6130
+
6131
+ For the values, please refer to: [Resolution Lines and Corresponding Codes Enumeration](https://www.tencentcloud.com/zh/document/product/1145/67229).
6132
+ :type Location: str
6133
+ :param _TTL: TTL (in seconds). The smaller the value, the faster the record changes take effect. Default value: 300
6134
+ :type TTL: int
6135
+ :param _Weight: DNS record weight can be specified within the range of -1 to 100. Setting the weight to 0 means the record will not be resolved. If not specified, the default value is -1, indicating that no weight is set.
6136
+
6137
+ Weight configuration is only applicable when the Type (DNS record type) is A, AAAA, or CNAME.
6138
+
6139
+ Note: For the same subdomain, different DNS records on the same resolution line should either all have weights set or none should have weights set.
6140
+ :type Weight: int
6141
+ :param _Priority: The MX record priority parameter is only effective when the Type (DNS record type) is MX. The smaller the value, the higher the priority. Users can specify a value in the range of 0 to 50. If not specified, the default value is 0.
6142
+ :type Priority: int
6143
+ """
6144
+ self._ZoneId = None
6145
+ self._Name = None
6146
+ self._Type = None
6147
+ self._Content = None
6148
+ self._Location = None
6149
+ self._TTL = None
6150
+ self._Weight = None
6151
+ self._Priority = None
6152
+
6153
+ @property
6154
+ def ZoneId(self):
6155
+ """The site ID of the DNS record.
6156
+ :rtype: str
6157
+ """
6158
+ return self._ZoneId
6159
+
6160
+ @ZoneId.setter
6161
+ def ZoneId(self, ZoneId):
6162
+ self._ZoneId = ZoneId
6163
+
6164
+ @property
6165
+ def Name(self):
6166
+ """The DNS record name.If the domain name is in Chinese, Korean, or Japanese, it needs to be converted to Punycode before being entered.
6167
+ :rtype: str
6168
+ """
6169
+ return self._Name
6170
+
6171
+ @Name.setter
6172
+ def Name(self, Name):
6173
+ self._Name = Name
6174
+
6175
+ @property
6176
+ def Type(self):
6177
+ """DNS record types include:
6178
+
6179
+ - A:Points the domain to an external IPv4 address, such as 8.8.8.8.
6180
+ - AAAA: Points the domain to an external IPv6 address.
6181
+ - MX: Used for mail servers. When multiple MX records exist, the one with the lowest priority value is preferred.
6182
+ - CNAME: Points the domain to another domain, which then resolves to the final IP address.
6183
+ - TXT: Provides identification and description for the domain, commonly used for domain verification and SPF records (anti-spam).
6184
+ - NS: If you need to delegate a subdomain to another DNS service provider, you need to add an NS record. NS records cannot be added to the root domain.
6185
+ - CAA: Specifies which Certificate Authorities (CAs) are allowed to issue certificates for the site.
6186
+ - SRV: Indicates that a specific server is using a particular service, commonly used in Microsoft's directory management systems.
6187
+
6188
+ Different record types, such as SRV and CAA, have specific requirements for the host record name and record value format. For detailed descriptions and format examples of each record type, please refer to: [Introduction to DNS Record Types](https://www.tencentcloud.com/zh/document/product/1145/54764#2f681022-91ab-4a9e-ac3d-0a6c454d954e).
6189
+ :rtype: str
6190
+ """
6191
+ return self._Type
6192
+
6193
+ @Type.setter
6194
+ def Type(self, Type):
6195
+ self._Type = Type
6196
+
6197
+ @property
6198
+ def Content(self):
6199
+ """DNS record content should be filled in according to the corresponding Type value. If the domain name is in Chinese, Korean, or Japanese, it needs to be converted to Punycode before being entered.
6200
+ :rtype: str
6201
+ """
6202
+ return self._Content
6203
+
6204
+ @Content.setter
6205
+ def Content(self, Content):
6206
+ self._Content = Content
6207
+
6208
+ @property
6209
+ def Location(self):
6210
+ """DNS record resolution location, if not specified, default to "Default," which means the default resolution location and is effective for all regions.
6211
+ - Resolution location configuration is only applicable when the Type (DNS record type) is A, AAAA, or CNAME.
6212
+ - Resolution location configuration is only available for Standard and Enterprise packages.
6213
+
6214
+ For the values, please refer to: [Resolution Lines and Corresponding Codes Enumeration](https://www.tencentcloud.com/zh/document/product/1145/67229).
6215
+ :rtype: str
6216
+ """
6217
+ return self._Location
6218
+
6219
+ @Location.setter
6220
+ def Location(self, Location):
6221
+ self._Location = Location
6222
+
6223
+ @property
6224
+ def TTL(self):
6225
+ """TTL (in seconds). The smaller the value, the faster the record changes take effect. Default value: 300
6226
+ :rtype: int
6227
+ """
6228
+ return self._TTL
6229
+
6230
+ @TTL.setter
6231
+ def TTL(self, TTL):
6232
+ self._TTL = TTL
6233
+
6234
+ @property
6235
+ def Weight(self):
6236
+ """DNS record weight can be specified within the range of -1 to 100. Setting the weight to 0 means the record will not be resolved. If not specified, the default value is -1, indicating that no weight is set.
6237
+
6238
+ Weight configuration is only applicable when the Type (DNS record type) is A, AAAA, or CNAME.
6239
+
6240
+ Note: For the same subdomain, different DNS records on the same resolution line should either all have weights set or none should have weights set.
6241
+ :rtype: int
6242
+ """
6243
+ return self._Weight
6244
+
6245
+ @Weight.setter
6246
+ def Weight(self, Weight):
6247
+ self._Weight = Weight
6248
+
6249
+ @property
6250
+ def Priority(self):
6251
+ """The MX record priority parameter is only effective when the Type (DNS record type) is MX. The smaller the value, the higher the priority. Users can specify a value in the range of 0 to 50. If not specified, the default value is 0.
6252
+ :rtype: int
6253
+ """
6254
+ return self._Priority
6255
+
6256
+ @Priority.setter
6257
+ def Priority(self, Priority):
6258
+ self._Priority = Priority
6259
+
6260
+
6261
+ def _deserialize(self, params):
6262
+ self._ZoneId = params.get("ZoneId")
6263
+ self._Name = params.get("Name")
6264
+ self._Type = params.get("Type")
6265
+ self._Content = params.get("Content")
6266
+ self._Location = params.get("Location")
6267
+ self._TTL = params.get("TTL")
6268
+ self._Weight = params.get("Weight")
6269
+ self._Priority = params.get("Priority")
6270
+ memeber_set = set(params.keys())
6271
+ for name, value in vars(self).items():
6272
+ property_name = name[1:]
6273
+ if property_name in memeber_set:
6274
+ memeber_set.remove(property_name)
6275
+ if len(memeber_set) > 0:
6276
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6277
+
6278
+
6279
+
6280
+ class CreateDnsRecordResponse(AbstractModel):
6281
+ """CreateDnsRecord response structure.
6282
+
6283
+ """
6284
+
6285
+ def __init__(self):
6286
+ r"""
6287
+ :param _RecordId: The ID of the DNS record.
6288
+ :type RecordId: str
6289
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
6290
+ :type RequestId: str
6291
+ """
6292
+ self._RecordId = None
6293
+ self._RequestId = None
6294
+
6295
+ @property
6296
+ def RecordId(self):
6297
+ """The ID of the DNS record.
6298
+ :rtype: str
6299
+ """
6300
+ return self._RecordId
6301
+
6302
+ @RecordId.setter
6303
+ def RecordId(self, RecordId):
6304
+ self._RecordId = RecordId
6305
+
6306
+ @property
6307
+ def RequestId(self):
6308
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
6309
+ :rtype: str
6310
+ """
6311
+ return self._RequestId
6312
+
6313
+ @RequestId.setter
6314
+ def RequestId(self, RequestId):
6315
+ self._RequestId = RequestId
6316
+
6317
+
6318
+ def _deserialize(self, params):
6319
+ self._RecordId = params.get("RecordId")
6320
+ self._RequestId = params.get("RequestId")
6321
+
6322
+
6101
6323
  class CreateFunctionRequest(AbstractModel):
6102
6324
  """CreateFunction request structure.
6103
6325
 
@@ -9954,6 +10176,85 @@ class DeleteCustomErrorPageResponse(AbstractModel):
9954
10176
  self._RequestId = params.get("RequestId")
9955
10177
 
9956
10178
 
10179
+ class DeleteDnsRecordsRequest(AbstractModel):
10180
+ """DeleteDnsRecords request structure.
10181
+
10182
+ """
10183
+
10184
+ def __init__(self):
10185
+ r"""
10186
+ :param _ZoneId: The site ID of the DNS record to be deleted.
10187
+ :type ZoneId: str
10188
+ :param _RecordIds: List of DNS record IDs to be deleted, with a maximum limit of 1000.
10189
+ :type RecordIds: list of str
10190
+ """
10191
+ self._ZoneId = None
10192
+ self._RecordIds = None
10193
+
10194
+ @property
10195
+ def ZoneId(self):
10196
+ """The site ID of the DNS record to be deleted.
10197
+ :rtype: str
10198
+ """
10199
+ return self._ZoneId
10200
+
10201
+ @ZoneId.setter
10202
+ def ZoneId(self, ZoneId):
10203
+ self._ZoneId = ZoneId
10204
+
10205
+ @property
10206
+ def RecordIds(self):
10207
+ """List of DNS record IDs to be deleted, with a maximum limit of 1000.
10208
+ :rtype: list of str
10209
+ """
10210
+ return self._RecordIds
10211
+
10212
+ @RecordIds.setter
10213
+ def RecordIds(self, RecordIds):
10214
+ self._RecordIds = RecordIds
10215
+
10216
+
10217
+ def _deserialize(self, params):
10218
+ self._ZoneId = params.get("ZoneId")
10219
+ self._RecordIds = params.get("RecordIds")
10220
+ memeber_set = set(params.keys())
10221
+ for name, value in vars(self).items():
10222
+ property_name = name[1:]
10223
+ if property_name in memeber_set:
10224
+ memeber_set.remove(property_name)
10225
+ if len(memeber_set) > 0:
10226
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
10227
+
10228
+
10229
+
10230
+ class DeleteDnsRecordsResponse(AbstractModel):
10231
+ """DeleteDnsRecords response structure.
10232
+
10233
+ """
10234
+
10235
+ def __init__(self):
10236
+ r"""
10237
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
10238
+ :type RequestId: str
10239
+ """
10240
+ self._RequestId = None
10241
+
10242
+ @property
10243
+ def RequestId(self):
10244
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
10245
+ :rtype: str
10246
+ """
10247
+ return self._RequestId
10248
+
10249
+ @RequestId.setter
10250
+ def RequestId(self, RequestId):
10251
+ self._RequestId = RequestId
10252
+
10253
+
10254
+ def _deserialize(self, params):
10255
+ self._RequestId = params.get("RequestId")
10256
+
10257
+
9957
10258
  class DeleteFunctionRequest(AbstractModel):
9958
10259
  """DeleteFunction request structure.
9959
10260
 
@@ -13467,21 +13768,50 @@ class DescribeDeployHistoryResponse(AbstractModel):
13467
13768
  self._RequestId = params.get("RequestId")
13468
13769
 
13469
13770
 
13470
- class DescribeEnvironmentsRequest(AbstractModel):
13471
- """DescribeEnvironments request structure.
13771
+ class DescribeDnsRecordsRequest(AbstractModel):
13772
+ """DescribeDnsRecords request structure.
13472
13773
 
13473
13774
  """
13474
13775
 
13475
13776
  def __init__(self):
13476
13777
  r"""
13477
- :param _ZoneId: Zone ID.
13778
+ :param _ZoneId: The site ID of the DNS record.
13478
13779
  :type ZoneId: str
13780
+ :param _Offset: The page offset. Default value: 0
13781
+ :type Offset: int
13782
+ :param _Limit: The paginated query limit. Default value: 20. Maximum value: 1000.
13783
+ :type Limit: int
13784
+ :param _Filters: The upper limit of Filters.Values is 20. The detailed filtering conditions are as follows: <li>id: Filter by DNS record ID, supports fuzzy query;</li><li>name: Filter by DNS record name, supports fuzzy query;</li><li>content: Filter by DNS record content, supports fuzzy query;</li><li>type: Filter by DNS record type, does not support fuzzy query. Options:<br> A: Point the domain name to an external IPv4 address, such as 8.8.8.8;<br> AAAA: Point the domain name to an external IPv6 address;<br> CNAME: Point the domain name to another domain name, which then resolves to the final IP address;<br> TXT: Identify and describe the domain name, often used for domain verification and SPF records (anti-spam);<br> NS: If you need to delegate subdomain resolution to another DNS service provider, you need to add an NS record. Root domains cannot add NS records;<br> CAA: Specify the CA that can issue certificates for this site;<br> SRV: Identify a server using a specific service, commonly used in Microsoft's directory management;<br> MX: Specify the recipient's mail server.</li><li>ttl: Filter by the time-to-live (TTL) of the record, does not support fuzzy query.</li>
13785
+ :type Filters: list of AdvancedFilter
13786
+ :param _SortBy: Sort criteria, with possible values:
13787
+ <li>content: DNS record content;</li>
13788
+ <li>created-on: DNS record creation time;</li>
13789
+ <li>name: DNS record name;</li>
13790
+ <li>ttl: Time-to-live (TTL);</li>
13791
+ <li>type: DNS record type.</li>
13792
+ The default sorting is based on a combination of type and name attributes.
13793
+ :type SortBy: str
13794
+ :param _SortOrder: List sorting order, with possible values:
13795
+ <li>asc: Ascending order;</li>
13796
+ <li>desc: Descending order.</li>
13797
+ The default value is asc.
13798
+ :type SortOrder: str
13799
+ :param _Match: The match mode. Values:
13800
+ <li>`all`: Return all records that match the specified filter.</li>
13801
+ <li>`any`: Return any record that matches the specified filter.</li>Default value: all.
13802
+ :type Match: str
13479
13803
  """
13480
13804
  self._ZoneId = None
13805
+ self._Offset = None
13806
+ self._Limit = None
13807
+ self._Filters = None
13808
+ self._SortBy = None
13809
+ self._SortOrder = None
13810
+ self._Match = None
13481
13811
 
13482
13812
  @property
13483
13813
  def ZoneId(self):
13484
- """Zone ID.
13814
+ """The site ID of the DNS record.
13485
13815
  :rtype: str
13486
13816
  """
13487
13817
  return self._ZoneId
@@ -13490,23 +13820,210 @@ class DescribeEnvironmentsRequest(AbstractModel):
13490
13820
  def ZoneId(self, ZoneId):
13491
13821
  self._ZoneId = ZoneId
13492
13822
 
13823
+ @property
13824
+ def Offset(self):
13825
+ """The page offset. Default value: 0
13826
+ :rtype: int
13827
+ """
13828
+ return self._Offset
13493
13829
 
13494
- def _deserialize(self, params):
13495
- self._ZoneId = params.get("ZoneId")
13496
- memeber_set = set(params.keys())
13497
- for name, value in vars(self).items():
13498
- property_name = name[1:]
13499
- if property_name in memeber_set:
13500
- memeber_set.remove(property_name)
13501
- if len(memeber_set) > 0:
13502
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
13503
-
13504
-
13505
-
13506
- class DescribeEnvironmentsResponse(AbstractModel):
13507
- """DescribeEnvironments response structure.
13830
+ @Offset.setter
13831
+ def Offset(self, Offset):
13832
+ self._Offset = Offset
13508
13833
 
13509
- """
13834
+ @property
13835
+ def Limit(self):
13836
+ """The paginated query limit. Default value: 20. Maximum value: 1000.
13837
+ :rtype: int
13838
+ """
13839
+ return self._Limit
13840
+
13841
+ @Limit.setter
13842
+ def Limit(self, Limit):
13843
+ self._Limit = Limit
13844
+
13845
+ @property
13846
+ def Filters(self):
13847
+ """The upper limit of Filters.Values is 20. The detailed filtering conditions are as follows: <li>id: Filter by DNS record ID, supports fuzzy query;</li><li>name: Filter by DNS record name, supports fuzzy query;</li><li>content: Filter by DNS record content, supports fuzzy query;</li><li>type: Filter by DNS record type, does not support fuzzy query. Options:<br> A: Point the domain name to an external IPv4 address, such as 8.8.8.8;<br> AAAA: Point the domain name to an external IPv6 address;<br> CNAME: Point the domain name to another domain name, which then resolves to the final IP address;<br> TXT: Identify and describe the domain name, often used for domain verification and SPF records (anti-spam);<br> NS: If you need to delegate subdomain resolution to another DNS service provider, you need to add an NS record. Root domains cannot add NS records;<br> CAA: Specify the CA that can issue certificates for this site;<br> SRV: Identify a server using a specific service, commonly used in Microsoft's directory management;<br> MX: Specify the recipient's mail server.</li><li>ttl: Filter by the time-to-live (TTL) of the record, does not support fuzzy query.</li>
13848
+ :rtype: list of AdvancedFilter
13849
+ """
13850
+ return self._Filters
13851
+
13852
+ @Filters.setter
13853
+ def Filters(self, Filters):
13854
+ self._Filters = Filters
13855
+
13856
+ @property
13857
+ def SortBy(self):
13858
+ """Sort criteria, with possible values:
13859
+ <li>content: DNS record content;</li>
13860
+ <li>created-on: DNS record creation time;</li>
13861
+ <li>name: DNS record name;</li>
13862
+ <li>ttl: Time-to-live (TTL);</li>
13863
+ <li>type: DNS record type.</li>
13864
+ The default sorting is based on a combination of type and name attributes.
13865
+ :rtype: str
13866
+ """
13867
+ return self._SortBy
13868
+
13869
+ @SortBy.setter
13870
+ def SortBy(self, SortBy):
13871
+ self._SortBy = SortBy
13872
+
13873
+ @property
13874
+ def SortOrder(self):
13875
+ """List sorting order, with possible values:
13876
+ <li>asc: Ascending order;</li>
13877
+ <li>desc: Descending order.</li>
13878
+ The default value is asc.
13879
+ :rtype: str
13880
+ """
13881
+ return self._SortOrder
13882
+
13883
+ @SortOrder.setter
13884
+ def SortOrder(self, SortOrder):
13885
+ self._SortOrder = SortOrder
13886
+
13887
+ @property
13888
+ def Match(self):
13889
+ """The match mode. Values:
13890
+ <li>`all`: Return all records that match the specified filter.</li>
13891
+ <li>`any`: Return any record that matches the specified filter.</li>Default value: all.
13892
+ :rtype: str
13893
+ """
13894
+ return self._Match
13895
+
13896
+ @Match.setter
13897
+ def Match(self, Match):
13898
+ self._Match = Match
13899
+
13900
+
13901
+ def _deserialize(self, params):
13902
+ self._ZoneId = params.get("ZoneId")
13903
+ self._Offset = params.get("Offset")
13904
+ self._Limit = params.get("Limit")
13905
+ if params.get("Filters") is not None:
13906
+ self._Filters = []
13907
+ for item in params.get("Filters"):
13908
+ obj = AdvancedFilter()
13909
+ obj._deserialize(item)
13910
+ self._Filters.append(obj)
13911
+ self._SortBy = params.get("SortBy")
13912
+ self._SortOrder = params.get("SortOrder")
13913
+ self._Match = params.get("Match")
13914
+ memeber_set = set(params.keys())
13915
+ for name, value in vars(self).items():
13916
+ property_name = name[1:]
13917
+ if property_name in memeber_set:
13918
+ memeber_set.remove(property_name)
13919
+ if len(memeber_set) > 0:
13920
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
13921
+
13922
+
13923
+
13924
+ class DescribeDnsRecordsResponse(AbstractModel):
13925
+ """DescribeDnsRecords response structure.
13926
+
13927
+ """
13928
+
13929
+ def __init__(self):
13930
+ r"""
13931
+ :param _TotalCount: Total number of DNS records.
13932
+ :type TotalCount: int
13933
+ :param _DnsRecords: List of DNS records
13934
+ :type DnsRecords: list of DnsRecord
13935
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
13936
+ :type RequestId: str
13937
+ """
13938
+ self._TotalCount = None
13939
+ self._DnsRecords = None
13940
+ self._RequestId = None
13941
+
13942
+ @property
13943
+ def TotalCount(self):
13944
+ """Total number of DNS records.
13945
+ :rtype: int
13946
+ """
13947
+ return self._TotalCount
13948
+
13949
+ @TotalCount.setter
13950
+ def TotalCount(self, TotalCount):
13951
+ self._TotalCount = TotalCount
13952
+
13953
+ @property
13954
+ def DnsRecords(self):
13955
+ """List of DNS records
13956
+ :rtype: list of DnsRecord
13957
+ """
13958
+ return self._DnsRecords
13959
+
13960
+ @DnsRecords.setter
13961
+ def DnsRecords(self, DnsRecords):
13962
+ self._DnsRecords = DnsRecords
13963
+
13964
+ @property
13965
+ def RequestId(self):
13966
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
13967
+ :rtype: str
13968
+ """
13969
+ return self._RequestId
13970
+
13971
+ @RequestId.setter
13972
+ def RequestId(self, RequestId):
13973
+ self._RequestId = RequestId
13974
+
13975
+
13976
+ def _deserialize(self, params):
13977
+ self._TotalCount = params.get("TotalCount")
13978
+ if params.get("DnsRecords") is not None:
13979
+ self._DnsRecords = []
13980
+ for item in params.get("DnsRecords"):
13981
+ obj = DnsRecord()
13982
+ obj._deserialize(item)
13983
+ self._DnsRecords.append(obj)
13984
+ self._RequestId = params.get("RequestId")
13985
+
13986
+
13987
+ class DescribeEnvironmentsRequest(AbstractModel):
13988
+ """DescribeEnvironments request structure.
13989
+
13990
+ """
13991
+
13992
+ def __init__(self):
13993
+ r"""
13994
+ :param _ZoneId: Zone ID.
13995
+ :type ZoneId: str
13996
+ """
13997
+ self._ZoneId = None
13998
+
13999
+ @property
14000
+ def ZoneId(self):
14001
+ """Zone ID.
14002
+ :rtype: str
14003
+ """
14004
+ return self._ZoneId
14005
+
14006
+ @ZoneId.setter
14007
+ def ZoneId(self, ZoneId):
14008
+ self._ZoneId = ZoneId
14009
+
14010
+
14011
+ def _deserialize(self, params):
14012
+ self._ZoneId = params.get("ZoneId")
14013
+ memeber_set = set(params.keys())
14014
+ for name, value in vars(self).items():
14015
+ property_name = name[1:]
14016
+ if property_name in memeber_set:
14017
+ memeber_set.remove(property_name)
14018
+ if len(memeber_set) > 0:
14019
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
14020
+
14021
+
14022
+
14023
+ class DescribeEnvironmentsResponse(AbstractModel):
14024
+ """DescribeEnvironments response structure.
14025
+
14026
+ """
13510
14027
 
13511
14028
  def __init__(self):
13512
14029
  r"""
@@ -18781,6 +19298,213 @@ class DiffIPWhitelist(AbstractModel):
18781
19298
 
18782
19299
 
18783
19300
 
19301
+ class DnsRecord(AbstractModel):
19302
+ """DNS record
19303
+
19304
+ """
19305
+
19306
+ def __init__(self):
19307
+ r"""
19308
+ :param _ZoneId: Site ID.
19309
+ Note: ZoneId is only used as an output parameter and cannot be used as an input parameter in ModifyDnsRecords. If this parameter is passed, it will be ignored.
19310
+ :type ZoneId: str
19311
+ :param _RecordId: DNS record ID.
19312
+ :type RecordId: str
19313
+ :param _Name: DNS record name.
19314
+ :type Name: str
19315
+ :param _Type: DNS record type, with possible values: <li>A: Points the domain name to an external IPv4 address, such as 8.8.8.8;</li> <li>AAAA: Points the domain name to an external IPv6 address;</li> <li>MX: Used for mail servers. When there are multiple MX records, the lower the priority value, the higher the priority;</li> <li>CNAME: Points the domain name to another domain name, which then resolves to the final IP address;</li> <li>TXT: Identifies and describes the domain name, commonly used for domain verification and SPF records (anti-spam);</li> <li>NS: If you need to delegate the subdomain to another DNS service provider for resolution, you need to add an NS record. NS records cannot be added to the root domain;</li> <li>CAA: Specifies the CA that can issue certificates for this site;</li> <li>SRV: Identifies a server that uses a specific service, commonly used in Microsoft's directory management.</li>
19316
+ :type Type: str
19317
+ :param _Location: DNS record resolution line. If not specified, the default is Default, which means the default resolution line and is effective for all regions. The resolution line configuration is only applicable when Type (DNS record type) is A, AAAA, or CNAME. For values, please refer to: [Resolution Line and Corresponding Code Enumeration](https://www.tencentcloud.com/zh/document/product/1145/67229).
19318
+ :type Location: str
19319
+ :param _Content: DNS record content. Fill in the corresponding content according to the Type value.
19320
+ :type Content: str
19321
+ :param _TTL: Cache time, with a range of 60~86400. The smaller the value, the faster the record modification takes effect in various regions. Unit: seconds.
19322
+ :type TTL: int
19323
+ :param _Weight: DNS record weight, with a range of -1~100. A value of -1 means no weight is assigned, and a value of 0 means no resolution. Weight configuration is only applicable when Type (DNS record type) is A, AAAA, or CNAME.
19324
+ :type Weight: int
19325
+ :param _Priority: MX record priority, with a range of 0~50. The smaller the value, the higher the priority.
19326
+ :type Priority: int
19327
+ :param _Status: DNS record resolution status, with possible values: <li>enable: Effective;</li> <li>disable: Disabled.</li> Note: Status is only used as an output parameter and cannot be used as an input parameter in ModifyDnsRecords. If this parameter is passed, it will be ignored.
19328
+ :type Status: str
19329
+ :param _CreatedOn: The creation time.
19330
+ Note: CreatedOn is only used as an output parameter and cannot be used as an input parameter in ModifyDnsRecords. If this parameter is passed, it will be ignored.
19331
+ :type CreatedOn: str
19332
+ :param _ModifiedOn: The modification time.
19333
+ Note: ModifiedOn is only used as an output parameter and cannot be used as an input parameter in ModifyDnsRecords. If this parameter is passed, it will be ignored.
19334
+ :type ModifiedOn: str
19335
+ """
19336
+ self._ZoneId = None
19337
+ self._RecordId = None
19338
+ self._Name = None
19339
+ self._Type = None
19340
+ self._Location = None
19341
+ self._Content = None
19342
+ self._TTL = None
19343
+ self._Weight = None
19344
+ self._Priority = None
19345
+ self._Status = None
19346
+ self._CreatedOn = None
19347
+ self._ModifiedOn = None
19348
+
19349
+ @property
19350
+ def ZoneId(self):
19351
+ """Site ID.
19352
+ Note: ZoneId is only used as an output parameter and cannot be used as an input parameter in ModifyDnsRecords. If this parameter is passed, it will be ignored.
19353
+ :rtype: str
19354
+ """
19355
+ return self._ZoneId
19356
+
19357
+ @ZoneId.setter
19358
+ def ZoneId(self, ZoneId):
19359
+ self._ZoneId = ZoneId
19360
+
19361
+ @property
19362
+ def RecordId(self):
19363
+ """DNS record ID.
19364
+ :rtype: str
19365
+ """
19366
+ return self._RecordId
19367
+
19368
+ @RecordId.setter
19369
+ def RecordId(self, RecordId):
19370
+ self._RecordId = RecordId
19371
+
19372
+ @property
19373
+ def Name(self):
19374
+ """DNS record name.
19375
+ :rtype: str
19376
+ """
19377
+ return self._Name
19378
+
19379
+ @Name.setter
19380
+ def Name(self, Name):
19381
+ self._Name = Name
19382
+
19383
+ @property
19384
+ def Type(self):
19385
+ """DNS record type, with possible values: <li>A: Points the domain name to an external IPv4 address, such as 8.8.8.8;</li> <li>AAAA: Points the domain name to an external IPv6 address;</li> <li>MX: Used for mail servers. When there are multiple MX records, the lower the priority value, the higher the priority;</li> <li>CNAME: Points the domain name to another domain name, which then resolves to the final IP address;</li> <li>TXT: Identifies and describes the domain name, commonly used for domain verification and SPF records (anti-spam);</li> <li>NS: If you need to delegate the subdomain to another DNS service provider for resolution, you need to add an NS record. NS records cannot be added to the root domain;</li> <li>CAA: Specifies the CA that can issue certificates for this site;</li> <li>SRV: Identifies a server that uses a specific service, commonly used in Microsoft's directory management.</li>
19386
+ :rtype: str
19387
+ """
19388
+ return self._Type
19389
+
19390
+ @Type.setter
19391
+ def Type(self, Type):
19392
+ self._Type = Type
19393
+
19394
+ @property
19395
+ def Location(self):
19396
+ """DNS record resolution line. If not specified, the default is Default, which means the default resolution line and is effective for all regions. The resolution line configuration is only applicable when Type (DNS record type) is A, AAAA, or CNAME. For values, please refer to: [Resolution Line and Corresponding Code Enumeration](https://www.tencentcloud.com/zh/document/product/1145/67229).
19397
+ :rtype: str
19398
+ """
19399
+ return self._Location
19400
+
19401
+ @Location.setter
19402
+ def Location(self, Location):
19403
+ self._Location = Location
19404
+
19405
+ @property
19406
+ def Content(self):
19407
+ """DNS record content. Fill in the corresponding content according to the Type value.
19408
+ :rtype: str
19409
+ """
19410
+ return self._Content
19411
+
19412
+ @Content.setter
19413
+ def Content(self, Content):
19414
+ self._Content = Content
19415
+
19416
+ @property
19417
+ def TTL(self):
19418
+ """Cache time, with a range of 60~86400. The smaller the value, the faster the record modification takes effect in various regions. Unit: seconds.
19419
+ :rtype: int
19420
+ """
19421
+ return self._TTL
19422
+
19423
+ @TTL.setter
19424
+ def TTL(self, TTL):
19425
+ self._TTL = TTL
19426
+
19427
+ @property
19428
+ def Weight(self):
19429
+ """DNS record weight, with a range of -1~100. A value of -1 means no weight is assigned, and a value of 0 means no resolution. Weight configuration is only applicable when Type (DNS record type) is A, AAAA, or CNAME.
19430
+ :rtype: int
19431
+ """
19432
+ return self._Weight
19433
+
19434
+ @Weight.setter
19435
+ def Weight(self, Weight):
19436
+ self._Weight = Weight
19437
+
19438
+ @property
19439
+ def Priority(self):
19440
+ """MX record priority, with a range of 0~50. The smaller the value, the higher the priority.
19441
+ :rtype: int
19442
+ """
19443
+ return self._Priority
19444
+
19445
+ @Priority.setter
19446
+ def Priority(self, Priority):
19447
+ self._Priority = Priority
19448
+
19449
+ @property
19450
+ def Status(self):
19451
+ """DNS record resolution status, with possible values: <li>enable: Effective;</li> <li>disable: Disabled.</li> Note: Status is only used as an output parameter and cannot be used as an input parameter in ModifyDnsRecords. If this parameter is passed, it will be ignored.
19452
+ :rtype: str
19453
+ """
19454
+ return self._Status
19455
+
19456
+ @Status.setter
19457
+ def Status(self, Status):
19458
+ self._Status = Status
19459
+
19460
+ @property
19461
+ def CreatedOn(self):
19462
+ """The creation time.
19463
+ Note: CreatedOn is only used as an output parameter and cannot be used as an input parameter in ModifyDnsRecords. If this parameter is passed, it will be ignored.
19464
+ :rtype: str
19465
+ """
19466
+ return self._CreatedOn
19467
+
19468
+ @CreatedOn.setter
19469
+ def CreatedOn(self, CreatedOn):
19470
+ self._CreatedOn = CreatedOn
19471
+
19472
+ @property
19473
+ def ModifiedOn(self):
19474
+ """The modification time.
19475
+ Note: ModifiedOn is only used as an output parameter and cannot be used as an input parameter in ModifyDnsRecords. If this parameter is passed, it will be ignored.
19476
+ :rtype: str
19477
+ """
19478
+ return self._ModifiedOn
19479
+
19480
+ @ModifiedOn.setter
19481
+ def ModifiedOn(self, ModifiedOn):
19482
+ self._ModifiedOn = ModifiedOn
19483
+
19484
+
19485
+ def _deserialize(self, params):
19486
+ self._ZoneId = params.get("ZoneId")
19487
+ self._RecordId = params.get("RecordId")
19488
+ self._Name = params.get("Name")
19489
+ self._Type = params.get("Type")
19490
+ self._Location = params.get("Location")
19491
+ self._Content = params.get("Content")
19492
+ self._TTL = params.get("TTL")
19493
+ self._Weight = params.get("Weight")
19494
+ self._Priority = params.get("Priority")
19495
+ self._Status = params.get("Status")
19496
+ self._CreatedOn = params.get("CreatedOn")
19497
+ self._ModifiedOn = params.get("ModifiedOn")
19498
+ memeber_set = set(params.keys())
19499
+ for name, value in vars(self).items():
19500
+ property_name = name[1:]
19501
+ if property_name in memeber_set:
19502
+ memeber_set.remove(property_name)
19503
+ if len(memeber_set) > 0:
19504
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19505
+
19506
+
19507
+
18784
19508
  class DnsVerification(AbstractModel):
18785
19509
  """
18786
19510
 
@@ -25413,6 +26137,184 @@ class ModifyCustomErrorPageResponse(AbstractModel):
25413
26137
  self._RequestId = params.get("RequestId")
25414
26138
 
25415
26139
 
26140
+ class ModifyDnsRecordsRequest(AbstractModel):
26141
+ """ModifyDnsRecords request structure.
26142
+
26143
+ """
26144
+
26145
+ def __init__(self):
26146
+ r"""
26147
+ :param _ZoneId: Site ID.
26148
+ :type ZoneId: str
26149
+ :param _DnsRecords: List of DNS record modification data, with a maximum of 100 modifications at a time.
26150
+ :type DnsRecords: list of DnsRecord
26151
+ """
26152
+ self._ZoneId = None
26153
+ self._DnsRecords = None
26154
+
26155
+ @property
26156
+ def ZoneId(self):
26157
+ """Site ID.
26158
+ :rtype: str
26159
+ """
26160
+ return self._ZoneId
26161
+
26162
+ @ZoneId.setter
26163
+ def ZoneId(self, ZoneId):
26164
+ self._ZoneId = ZoneId
26165
+
26166
+ @property
26167
+ def DnsRecords(self):
26168
+ """List of DNS record modification data, with a maximum of 100 modifications at a time.
26169
+ :rtype: list of DnsRecord
26170
+ """
26171
+ return self._DnsRecords
26172
+
26173
+ @DnsRecords.setter
26174
+ def DnsRecords(self, DnsRecords):
26175
+ self._DnsRecords = DnsRecords
26176
+
26177
+
26178
+ def _deserialize(self, params):
26179
+ self._ZoneId = params.get("ZoneId")
26180
+ if params.get("DnsRecords") is not None:
26181
+ self._DnsRecords = []
26182
+ for item in params.get("DnsRecords"):
26183
+ obj = DnsRecord()
26184
+ obj._deserialize(item)
26185
+ self._DnsRecords.append(obj)
26186
+ memeber_set = set(params.keys())
26187
+ for name, value in vars(self).items():
26188
+ property_name = name[1:]
26189
+ if property_name in memeber_set:
26190
+ memeber_set.remove(property_name)
26191
+ if len(memeber_set) > 0:
26192
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
26193
+
26194
+
26195
+
26196
+ class ModifyDnsRecordsResponse(AbstractModel):
26197
+ """ModifyDnsRecords response structure.
26198
+
26199
+ """
26200
+
26201
+ def __init__(self):
26202
+ r"""
26203
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
26204
+ :type RequestId: str
26205
+ """
26206
+ self._RequestId = None
26207
+
26208
+ @property
26209
+ def RequestId(self):
26210
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
26211
+ :rtype: str
26212
+ """
26213
+ return self._RequestId
26214
+
26215
+ @RequestId.setter
26216
+ def RequestId(self, RequestId):
26217
+ self._RequestId = RequestId
26218
+
26219
+
26220
+ def _deserialize(self, params):
26221
+ self._RequestId = params.get("RequestId")
26222
+
26223
+
26224
+ class ModifyDnsRecordsStatusRequest(AbstractModel):
26225
+ """ModifyDnsRecordsStatus request structure.
26226
+
26227
+ """
26228
+
26229
+ def __init__(self):
26230
+ r"""
26231
+ :param _ZoneId: Site ID.
26232
+ :type ZoneId: str
26233
+ :param _RecordsToEnable: List of DNS record IDs to be enabled, with a limit of 200. Note: The same DNS record ID cannot exist in both RecordsToEnable and RecordsToDisable.
26234
+ :type RecordsToEnable: list of str
26235
+ :param _RecordsToDisable: List of DNS record IDs to be disabled, with a limit of 200. Note: The same DNS record ID cannot exist in both RecordsToEnable and RecordsToDisable.
26236
+ :type RecordsToDisable: list of str
26237
+ """
26238
+ self._ZoneId = None
26239
+ self._RecordsToEnable = None
26240
+ self._RecordsToDisable = None
26241
+
26242
+ @property
26243
+ def ZoneId(self):
26244
+ """Site ID.
26245
+ :rtype: str
26246
+ """
26247
+ return self._ZoneId
26248
+
26249
+ @ZoneId.setter
26250
+ def ZoneId(self, ZoneId):
26251
+ self._ZoneId = ZoneId
26252
+
26253
+ @property
26254
+ def RecordsToEnable(self):
26255
+ """List of DNS record IDs to be enabled, with a limit of 200. Note: The same DNS record ID cannot exist in both RecordsToEnable and RecordsToDisable.
26256
+ :rtype: list of str
26257
+ """
26258
+ return self._RecordsToEnable
26259
+
26260
+ @RecordsToEnable.setter
26261
+ def RecordsToEnable(self, RecordsToEnable):
26262
+ self._RecordsToEnable = RecordsToEnable
26263
+
26264
+ @property
26265
+ def RecordsToDisable(self):
26266
+ """List of DNS record IDs to be disabled, with a limit of 200. Note: The same DNS record ID cannot exist in both RecordsToEnable and RecordsToDisable.
26267
+ :rtype: list of str
26268
+ """
26269
+ return self._RecordsToDisable
26270
+
26271
+ @RecordsToDisable.setter
26272
+ def RecordsToDisable(self, RecordsToDisable):
26273
+ self._RecordsToDisable = RecordsToDisable
26274
+
26275
+
26276
+ def _deserialize(self, params):
26277
+ self._ZoneId = params.get("ZoneId")
26278
+ self._RecordsToEnable = params.get("RecordsToEnable")
26279
+ self._RecordsToDisable = params.get("RecordsToDisable")
26280
+ memeber_set = set(params.keys())
26281
+ for name, value in vars(self).items():
26282
+ property_name = name[1:]
26283
+ if property_name in memeber_set:
26284
+ memeber_set.remove(property_name)
26285
+ if len(memeber_set) > 0:
26286
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
26287
+
26288
+
26289
+
26290
+ class ModifyDnsRecordsStatusResponse(AbstractModel):
26291
+ """ModifyDnsRecordsStatus response structure.
26292
+
26293
+ """
26294
+
26295
+ def __init__(self):
26296
+ r"""
26297
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
26298
+ :type RequestId: str
26299
+ """
26300
+ self._RequestId = None
26301
+
26302
+ @property
26303
+ def RequestId(self):
26304
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
26305
+ :rtype: str
26306
+ """
26307
+ return self._RequestId
26308
+
26309
+ @RequestId.setter
26310
+ def RequestId(self, RequestId):
26311
+ self._RequestId = RequestId
26312
+
26313
+
26314
+ def _deserialize(self, params):
26315
+ self._RequestId = params.get("RequestId")
26316
+
26317
+
25416
26318
  class ModifyFunctionRequest(AbstractModel):
25417
26319
  """ModifyFunction request structure.
25418
26320