Skip to content

Commit

Permalink
Generated 2017-08-01 for polardb.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Nov 18, 2024
1 parent b61693e commit 1d1b29f
Show file tree
Hide file tree
Showing 26 changed files with 551 additions and 11 deletions.
3 changes: 3 additions & 0 deletions aliyun-python-sdk-polardb/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-11-18 Version: 1.8.49
- Generated 2017-08-01 for `polardb`.

2024-04-24 Version: 1.8.48
- Support new feature.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-python-sdk-polardb/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Aliyun Python SDK is the official software development kit. It makes things easy

This module works on Python versions:

2.6.5 and greater
3.7 and greater

**Documentation:**

Expand Down
2 changes: 1 addition & 1 deletion aliyun-python-sdk-polardb/aliyunsdkpolardb/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.8.48'
__version__ = '1.8.49'
4 changes: 1 addition & 3 deletions aliyun-python-sdk-polardb/aliyunsdkpolardb/endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ def __init__(self):
"cn-hongkong": "polardb.aliyuncs.com",
"cn-beijing-finance-pop": "polardb.aliyuncs.com",
"cn-wuhan": "polardb.aliyuncs.com",
"us-west-1": "polardb.aliyuncs.com",
"cn-zhangbei": "polardb.aliyuncs.com",
"cn-shenzhen": "polardb.aliyuncs.com",
"cn-zhengzhou-nebula-1": "polardb.aliyuncs.com",
Expand All @@ -57,11 +56,10 @@ def __init__(self):
"cn-hangzhou-test-306": "polardb.aliyuncs.com",
"cn-huhehaote-nebula-1": "polardb.aliyuncs.com",
"cn-shanghai-et2-b01": "polardb.aliyuncs.com",
"cn-guangzhou": "polardb.aliyuncs.com",
"cn-hangzhou-finance": "polardb.aliyuncs.com",
"ap-southeast-1": "polardb.aliyuncs.com",
"cn-beijing-nu16-b01": "polardb.aliyuncs.com",
"cn-edge-1": "polardb.aliyuncs.com",
"us-east-1": "polardb.aliyuncs.com",
"cn-fujian": "polardb.aliyuncs.com",
"ap-northeast-2-pop": "polardb.aliyuncs.com",
"cn-shenzhen-inner": "polardb.aliyuncs.com",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

from aliyunsdkcore.request import RpcRequest
from aliyunsdkpolardb.endpoint import endpoint_data

class CreateActivationCodeRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'polardb', '2017-08-01', 'CreateActivationCode','polardb')
self.set_protocol_type('https')
self.set_method('POST')

if hasattr(self, "endpoint_map"):
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
if hasattr(self, "endpoint_regional"):
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())

def get_ResourceOwnerId(self): # Long
return self.get_query_params().get('ResourceOwnerId')

def set_ResourceOwnerId(self, ResourceOwnerId): # Long
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
def get_Description(self): # String
return self.get_query_params().get('Description')

def set_Description(self, Description): # String
self.add_query_param('Description', Description)
def get_AliyunOrderId(self): # String
return self.get_query_params().get('AliyunOrderId')

def set_AliyunOrderId(self, AliyunOrderId): # String
self.add_query_param('AliyunOrderId', AliyunOrderId)
def get_MacAddress(self): # String
return self.get_query_params().get('MacAddress')

def set_MacAddress(self, MacAddress): # String
self.add_query_param('MacAddress', MacAddress)
def get_SystemIdentifier(self): # String
return self.get_query_params().get('SystemIdentifier')

def set_SystemIdentifier(self, SystemIdentifier): # String
self.add_query_param('SystemIdentifier', SystemIdentifier)
def get_ResourceOwnerAccount(self): # String
return self.get_query_params().get('ResourceOwnerAccount')

def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
def get_OwnerAccount(self): # String
return self.get_query_params().get('OwnerAccount')

def set_OwnerAccount(self, OwnerAccount): # String
self.add_query_param('OwnerAccount', OwnerAccount)
def get_OwnerId(self): # Long
return self.get_query_params().get('OwnerId')

def set_OwnerId(self, OwnerId): # Long
self.add_query_param('OwnerId', OwnerId)
def get_Name(self): # String
return self.get_query_params().get('Name')

def set_Name(self, Name): # String
self.add_query_param('Name', Name)
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ def get_ClientToken(self): # String

def set_ClientToken(self, ClientToken): # String
self.add_query_param('ClientToken', ClientToken)
def get_PolarSccWaitTimeout(self): # String
return self.get_query_params().get('PolarSccWaitTimeout')

def set_PolarSccWaitTimeout(self, PolarSccWaitTimeout): # String
self.add_query_param('PolarSccWaitTimeout', PolarSccWaitTimeout)
def get_ReadWriteMode(self): # String
return self.get_query_params().get('ReadWriteMode')

Expand All @@ -56,6 +61,11 @@ def get_EndpointType(self): # String

def set_EndpointType(self, EndpointType): # String
self.add_query_param('EndpointType', EndpointType)
def get_PolarSccTimeoutAction(self): # String
return self.get_query_params().get('PolarSccTimeoutAction')

def set_PolarSccTimeoutAction(self, PolarSccTimeoutAction): # String
self.add_query_param('PolarSccTimeoutAction', PolarSccTimeoutAction)
def get_ResourceOwnerAccount(self): # String
return self.get_query_params().get('ResourceOwnerAccount')

Expand Down Expand Up @@ -91,3 +101,8 @@ def get_Nodes(self): # String

def set_Nodes(self, Nodes): # String
self.add_query_param('Nodes', Nodes)
def get_SccMode(self): # String
return self.get_query_params().get('SccMode')

def set_SccMode(self, SccMode): # String
self.add_query_param('SccMode', SccMode)
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,11 @@ def get_UsedTime(self): # String

def set_UsedTime(self, UsedTime): # String
self.add_query_param('UsedTime', UsedTime)
def get_BurstingEnabled(self): # String
return self.get_query_params().get('BurstingEnabled')

def set_BurstingEnabled(self, BurstingEnabled): # String
self.add_query_param('BurstingEnabled', BurstingEnabled)
def get_DBNodeNum(self): # Integer
return self.get_query_params().get('DBNodeNum')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ def get_OwnerAccount(self): # String

def set_OwnerAccount(self, OwnerAccount): # String
self.add_query_param('OwnerAccount', OwnerAccount)
def get_EnableGlobalDomainName(self): # Boolean
return self.get_query_params().get('EnableGlobalDomainName')

def set_EnableGlobalDomainName(self, EnableGlobalDomainName): # Boolean
self.add_query_param('EnableGlobalDomainName', EnableGlobalDomainName)
def get_OwnerId(self): # Long
return self.get_query_params().get('OwnerId')

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

from aliyunsdkcore.request import RpcRequest
from aliyunsdkpolardb.endpoint import endpoint_data

class CreateOrGetVirtualLicenseOrderRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'polardb', '2017-08-01', 'CreateOrGetVirtualLicenseOrder','polardb')
self.set_protocol_type('https')
self.set_method('POST')

if hasattr(self, "endpoint_map"):
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
if hasattr(self, "endpoint_regional"):
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())

def get_ResourceOwnerId(self): # Long
return self.get_query_params().get('ResourceOwnerId')

def set_ResourceOwnerId(self, ResourceOwnerId): # Long
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
def get_Engine(self): # String
return self.get_query_params().get('Engine')

def set_Engine(self, Engine): # String
self.add_query_param('Engine', Engine)
def get_ResourceOwnerAccount(self): # String
return self.get_query_params().get('ResourceOwnerAccount')

def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
def get_OwnerAccount(self): # String
return self.get_query_params().get('OwnerAccount')

def set_OwnerAccount(self, OwnerAccount): # String
self.add_query_param('OwnerAccount', OwnerAccount)
def get_OwnerId(self): # Long
return self.get_query_params().get('OwnerId')

def set_OwnerId(self, OwnerId): # Long
self.add_query_param('OwnerId', OwnerId)
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

from aliyunsdkcore.request import RpcRequest
from aliyunsdkpolardb.endpoint import endpoint_data

class DescribeActivationCodeDetailsRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'polardb', '2017-08-01', 'DescribeActivationCodeDetails','polardb')
self.set_protocol_type('https')
self.set_method('POST')

if hasattr(self, "endpoint_map"):
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
if hasattr(self, "endpoint_regional"):
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())

def get_ResourceOwnerId(self): # Long
return self.get_query_params().get('ResourceOwnerId')

def set_ResourceOwnerId(self, ResourceOwnerId): # Long
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
def get_ActivationCodeId(self): # Integer
return self.get_query_params().get('ActivationCodeId')

def set_ActivationCodeId(self, ActivationCodeId): # Integer
self.add_query_param('ActivationCodeId', ActivationCodeId)
def get_AliyunOrderId(self): # String
return self.get_query_params().get('AliyunOrderId')

def set_AliyunOrderId(self, AliyunOrderId): # String
self.add_query_param('AliyunOrderId', AliyunOrderId)
def get_ResourceOwnerAccount(self): # String
return self.get_query_params().get('ResourceOwnerAccount')

def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
def get_OwnerAccount(self): # String
return self.get_query_params().get('OwnerAccount')

def set_OwnerAccount(self, OwnerAccount): # String
self.add_query_param('OwnerAccount', OwnerAccount)
def get_OwnerId(self): # Long
return self.get_query_params().get('OwnerId')

def set_OwnerId(self, OwnerId): # Long
self.add_query_param('OwnerId', OwnerId)
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

from aliyunsdkcore.request import RpcRequest
from aliyunsdkpolardb.endpoint import endpoint_data

class DescribeActivationCodesRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'polardb', '2017-08-01', 'DescribeActivationCodes','polardb')
self.set_protocol_type('https')
self.set_method('POST')

if hasattr(self, "endpoint_map"):
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
if hasattr(self, "endpoint_regional"):
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())

def get_ResourceOwnerId(self): # Long
return self.get_query_params().get('ResourceOwnerId')

def set_ResourceOwnerId(self, ResourceOwnerId): # Long
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
def get_PageNumber(self): # Integer
return self.get_query_params().get('PageNumber')

def set_PageNumber(self, PageNumber): # Integer
self.add_query_param('PageNumber', PageNumber)
def get_PageSize(self): # Integer
return self.get_query_params().get('PageSize')

def set_PageSize(self, PageSize): # Integer
self.add_query_param('PageSize', PageSize)
def get_AliyunOrderId(self): # String
return self.get_query_params().get('AliyunOrderId')

def set_AliyunOrderId(self, AliyunOrderId): # String
self.add_query_param('AliyunOrderId', AliyunOrderId)
def get_ResourceOwnerAccount(self): # String
return self.get_query_params().get('ResourceOwnerAccount')

def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
def get_OwnerAccount(self): # String
return self.get_query_params().get('OwnerAccount')

def set_OwnerAccount(self, OwnerAccount): # String
self.add_query_param('OwnerAccount', OwnerAccount)
def get_OwnerId(self): # Long
return self.get_query_params().get('OwnerId')

def set_OwnerId(self, OwnerId): # Long
self.add_query_param('OwnerId', OwnerId)
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ def get_StartTime(self): # String

def set_StartTime(self, StartTime): # String
self.add_query_param('StartTime', StartTime)
def get_Type(self): # String
return self.get_query_params().get('Type')

def set_Type(self, Type): # String
self.add_query_param('Type', Type)
def get_Key(self): # String
return self.get_query_params().get('Key')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ def __init__(self):
if hasattr(self, "endpoint_regional"):
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())

def get_DBNodeId(self): # String
return self.get_query_params().get('DBNodeId')

def set_DBNodeId(self, DBNodeId): # String
self.add_query_param('DBNodeId', DBNodeId)
def get_DBEndpointId(self): # String
return self.get_query_params().get('DBEndpointId')

Expand Down
Loading

0 comments on commit 1d1b29f

Please sign in to comment.