Skip to content

Commit c986b20

Browse files
committed
DescribeLicenseCodes support filter by mac address or system id.
1 parent 65a29ae commit c986b20

File tree

8 files changed

+78
-1
lines changed

8 files changed

+78
-1
lines changed

aliyun-python-sdk-polardb/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-03-13 Version: 1.8.54
2+
- DescribeLicenseCodes support filter by mac address or system id.
3+
14
2025-02-06 Version: 1.8.53
25
- DescribeLicenseCodes support filter by mac address or system id.
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.8.53'
1+
__version__ = '1.8.54'

aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/CreateAccountRequest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ def get_ResourceOwnerId(self): # Long
3636

3737
def set_ResourceOwnerId(self, ResourceOwnerId): # Long
3838
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
39+
def get_NodeType(self): # String
40+
return self.get_query_params().get('NodeType')
41+
42+
def set_NodeType(self, NodeType): # String
43+
self.add_query_param('NodeType', NodeType)
3944
def get_ClientToken(self): # String
4045
return self.get_query_params().get('ClientToken')
4146

aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/DeleteMaskingRulesRequest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ def __init__(self):
3131
if hasattr(self, "endpoint_regional"):
3232
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
3333

34+
def get_InterfaceVersion(self): # String
35+
return self.get_query_params().get('InterfaceVersion')
36+
37+
def set_InterfaceVersion(self, InterfaceVersion): # String
38+
self.add_query_param('InterfaceVersion', InterfaceVersion)
3439
def get_DBClusterId(self): # String
3540
return self.get_query_params().get('DBClusterId')
3641

aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/DescribeAccountsRequest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ def get_ResourceOwnerId(self): # Long
3636

3737
def set_ResourceOwnerId(self, ResourceOwnerId): # Long
3838
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
39+
def get_NodeType(self): # String
40+
return self.get_query_params().get('NodeType')
41+
42+
def set_NodeType(self, NodeType): # String
43+
self.add_query_param('NodeType', NodeType)
3944
def get_PageNumber(self): # Integer
4045
return self.get_query_params().get('PageNumber')
4146

aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/DescribeMaskingRulesRequest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ def __init__(self):
3131
if hasattr(self, "endpoint_regional"):
3232
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
3333

34+
def get_InterfaceVersion(self): # String
35+
return self.get_query_params().get('InterfaceVersion')
36+
37+
def set_InterfaceVersion(self, InterfaceVersion): # String
38+
self.add_query_param('InterfaceVersion', InterfaceVersion)
3439
def get_DBClusterId(self): # String
3540
return self.get_query_params().get('DBClusterId')
3641

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
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 aliyunsdkpolardb.endpoint import endpoint_data
22+
23+
class ModifyDBClusterArchRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'polardb', '2017-08-01', 'ModifyDBClusterArch','polardb')
27+
self.set_protocol_type('https')
28+
self.set_method('POST')
29+
30+
if hasattr(self, "endpoint_map"):
31+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
32+
if hasattr(self, "endpoint_regional"):
33+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
34+
35+
def get_StandbyAZ(self): # String
36+
return self.get_query_params().get('StandbyAZ')
37+
38+
def set_StandbyAZ(self, StandbyAZ): # String
39+
self.add_query_param('StandbyAZ', StandbyAZ)
40+
def get_DBClusterId(self): # String
41+
return self.get_query_params().get('DBClusterId')
42+
43+
def set_DBClusterId(self, DBClusterId): # String
44+
self.add_query_param('DBClusterId', DBClusterId)
45+
def get_HotStandbyCluster(self): # String
46+
return self.get_query_params().get('HotStandbyCluster')
47+
48+
def set_HotStandbyCluster(self, HotStandbyCluster): # String
49+
self.add_query_param('HotStandbyCluster', HotStandbyCluster)

aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyMaskingRulesRequest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ def __init__(self):
3131
if hasattr(self, "endpoint_regional"):
3232
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
3333

34+
def get_InterfaceVersion(self): # String
35+
return self.get_query_params().get('InterfaceVersion')
36+
37+
def set_InterfaceVersion(self, InterfaceVersion): # String
38+
self.add_query_param('InterfaceVersion', InterfaceVersion)
3439
def get_DBClusterId(self): # String
3540
return self.get_query_params().get('DBClusterId')
3641

0 commit comments

Comments
 (0)