Skip to content

Commit 0dae516

Browse files
committed
Supported API for GTM.
1 parent c090a39 commit 0dae516

24 files changed

+1139
-2
lines changed

aliyun-python-sdk-alidns/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2021-09-22 Version: 2.6.32
2+
- Supported API for GTM.
3+
14
2021-03-02 Version: 2.6.29
25
- Update default endpoints.
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '2.6.29'
1+
__version__ = '2.6.32'
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkalidns.endpoint import endpoint_data
22+
23+
class CreatePdnsAppKeyRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'Alidns', '2015-01-09', 'CreatePdnsAppKey','alidns')
27+
self.set_method('POST')
28+
if hasattr(self, "endpoint_map"):
29+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
30+
if hasattr(self, "endpoint_regional"):
31+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
32+
33+
34+
def get_Lang(self):
35+
return self.get_query_params().get('Lang')
36+
37+
def set_Lang(self,Lang):
38+
self.add_query_param('Lang',Lang)
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkalidns.endpoint import endpoint_data
22+
23+
class CreatePdnsUdpIpSegmentRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'Alidns', '2015-01-09', 'CreatePdnsUdpIpSegment','alidns')
27+
self.set_method('POST')
28+
if hasattr(self, "endpoint_map"):
29+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
30+
if hasattr(self, "endpoint_regional"):
31+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
32+
33+
34+
def get_Ip(self):
35+
return self.get_query_params().get('Ip')
36+
37+
def set_Ip(self,Ip):
38+
self.add_query_param('Ip',Ip)
39+
40+
def get_Name(self):
41+
return self.get_query_params().get('Name')
42+
43+
def set_Name(self,Name):
44+
self.add_query_param('Name',Name)
45+
46+
def get_Lang(self):
47+
return self.get_query_params().get('Lang')
48+
49+
def set_Lang(self,Lang):
50+
self.add_query_param('Lang',Lang)
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkalidns.endpoint import endpoint_data
22+
23+
class DescribePdnsAccountSummaryRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'Alidns', '2015-01-09', 'DescribePdnsAccountSummary','alidns')
27+
self.set_method('POST')
28+
if hasattr(self, "endpoint_map"):
29+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
30+
if hasattr(self, "endpoint_regional"):
31+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
32+
33+
34+
def get_StartDate(self):
35+
return self.get_query_params().get('StartDate')
36+
37+
def set_StartDate(self,StartDate):
38+
self.add_query_param('StartDate',StartDate)
39+
40+
def get_EndDate(self):
41+
return self.get_query_params().get('EndDate')
42+
43+
def set_EndDate(self,EndDate):
44+
self.add_query_param('EndDate',EndDate)
45+
46+
def get_Lang(self):
47+
return self.get_query_params().get('Lang')
48+
49+
def set_Lang(self,Lang):
50+
self.add_query_param('Lang',Lang)
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkalidns.endpoint import endpoint_data
22+
23+
class DescribePdnsAppKeyRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'Alidns', '2015-01-09', 'DescribePdnsAppKey','alidns')
27+
self.set_method('POST')
28+
if hasattr(self, "endpoint_map"):
29+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
30+
if hasattr(self, "endpoint_regional"):
31+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
32+
33+
34+
def get_AppKeyId(self):
35+
return self.get_query_params().get('AppKeyId')
36+
37+
def set_AppKeyId(self,AppKeyId):
38+
self.add_query_param('AppKeyId',AppKeyId)
39+
40+
def get_Lang(self):
41+
return self.get_query_params().get('Lang')
42+
43+
def set_Lang(self,Lang):
44+
self.add_query_param('Lang',Lang)
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkalidns.endpoint import endpoint_data
22+
23+
class DescribePdnsAppKeysRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'Alidns', '2015-01-09', 'DescribePdnsAppKeys','alidns')
27+
self.set_method('POST')
28+
if hasattr(self, "endpoint_map"):
29+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
30+
if hasattr(self, "endpoint_regional"):
31+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
32+
33+
34+
def get_Lang(self):
35+
return self.get_query_params().get('Lang')
36+
37+
def set_Lang(self,Lang):
38+
self.add_query_param('Lang',Lang)
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkalidns.endpoint import endpoint_data
22+
23+
class DescribePdnsOperateLogsRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'Alidns', '2015-01-09', 'DescribePdnsOperateLogs','alidns')
27+
self.set_method('POST')
28+
if hasattr(self, "endpoint_map"):
29+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
30+
if hasattr(self, "endpoint_regional"):
31+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
32+
33+
34+
def get_ActionType(self):
35+
return self.get_query_params().get('ActionType')
36+
37+
def set_ActionType(self,ActionType):
38+
self.add_query_param('ActionType',ActionType)
39+
40+
def get_StartDate(self):
41+
return self.get_query_params().get('StartDate')
42+
43+
def set_StartDate(self,StartDate):
44+
self.add_query_param('StartDate',StartDate)
45+
46+
def get_PageNumber(self):
47+
return self.get_query_params().get('PageNumber')
48+
49+
def set_PageNumber(self,PageNumber):
50+
self.add_query_param('PageNumber',PageNumber)
51+
52+
def get_EndDate(self):
53+
return self.get_query_params().get('EndDate')
54+
55+
def set_EndDate(self,EndDate):
56+
self.add_query_param('EndDate',EndDate)
57+
58+
def get_PageSize(self):
59+
return self.get_query_params().get('PageSize')
60+
61+
def set_PageSize(self,PageSize):
62+
self.add_query_param('PageSize',PageSize)
63+
64+
def get_Lang(self):
65+
return self.get_query_params().get('Lang')
66+
67+
def set_Lang(self,Lang):
68+
self.add_query_param('Lang',Lang)
69+
70+
def get_Keyword(self):
71+
return self.get_query_params().get('Keyword')
72+
73+
def set_Keyword(self,Keyword):
74+
self.add_query_param('Keyword',Keyword)
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkalidns.endpoint import endpoint_data
22+
23+
class DescribePdnsRequestStatisticRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'Alidns', '2015-01-09', 'DescribePdnsRequestStatistic','alidns')
27+
self.set_method('POST')
28+
if hasattr(self, "endpoint_map"):
29+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
30+
if hasattr(self, "endpoint_regional"):
31+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
32+
33+
34+
def get_DomainName(self):
35+
return self.get_query_params().get('DomainName')
36+
37+
def set_DomainName(self,DomainName):
38+
self.add_query_param('DomainName',DomainName)
39+
40+
def get_StartDate(self):
41+
return self.get_query_params().get('StartDate')
42+
43+
def set_StartDate(self,StartDate):
44+
self.add_query_param('StartDate',StartDate)
45+
46+
def get_EndDate(self):
47+
return self.get_query_params().get('EndDate')
48+
49+
def set_EndDate(self,EndDate):
50+
self.add_query_param('EndDate',EndDate)
51+
52+
def get_SubDomain(self):
53+
return self.get_query_params().get('SubDomain')
54+
55+
def set_SubDomain(self,SubDomain):
56+
self.add_query_param('SubDomain',SubDomain)
57+
58+
def get_Lang(self):
59+
return self.get_query_params().get('Lang')
60+
61+
def set_Lang(self,Lang):
62+
self.add_query_param('Lang',Lang)

0 commit comments

Comments
 (0)