Skip to content

Commit

Permalink
DescribeDBInstances, add cpuType.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed May 22, 2024
1 parent 212db1e commit 283dc6d
Show file tree
Hide file tree
Showing 293 changed files with 13,290 additions and 7,644 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.36.1907
1.36.1908
220 changes: 148 additions & 72 deletions polardbx/CMakeLists.txt

Large diffs are not rendered by default.

440 changes: 296 additions & 144 deletions polardbx/include/alibabacloud/polardbx/PolardbxClient.h

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/

#ifndef ALIBABACLOUD_POLARDBX_MODEL_ALIGNSTORAGEPRIMARYAZONEREQUEST_H_
#define ALIBABACLOUD_POLARDBX_MODEL_ALIGNSTORAGEPRIMARYAZONEREQUEST_H_

#include <alibabacloud/polardbx/PolardbxExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>

namespace AlibabaCloud {
namespace Polardbx {
namespace Model {
class ALIBABACLOUD_POLARDBX_EXPORT AlignStoragePrimaryAzoneRequest : public RpcServiceRequest {
public:
AlignStoragePrimaryAzoneRequest();
~AlignStoragePrimaryAzoneRequest();
std::string getDBInstanceName() const;
void setDBInstanceName(const std::string &dBInstanceName);
std::string getSwitchTimeMode() const;
void setSwitchTimeMode(const std::string &switchTimeMode);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getSwitchTime() const;
void setSwitchTime(const std::string &switchTime);
std::string getStorageInstanceName() const;
void setStorageInstanceName(const std::string &storageInstanceName);

private:
std::string dBInstanceName_;
std::string switchTimeMode_;
std::string regionId_;
std::string switchTime_;
std::string storageInstanceName_;
};
} // namespace Model
} // namespace Polardbx
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_POLARDBX_MODEL_ALIGNSTORAGEPRIMARYAZONEREQUEST_H_
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
* limitations under the License.
*/

#ifndef ALIBABACLOUD_POLARDBX_MODEL_RESETPOLARXPGACCOUNTPASSWORDRESULT_H_
#define ALIBABACLOUD_POLARDBX_MODEL_RESETPOLARXPGACCOUNTPASSWORDRESULT_H_
#ifndef ALIBABACLOUD_POLARDBX_MODEL_ALIGNSTORAGEPRIMARYAZONERESULT_H_
#define ALIBABACLOUD_POLARDBX_MODEL_ALIGNSTORAGEPRIMARYAZONERESULT_H_

#include <string>
#include <vector>
Expand All @@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_POLARDBX_EXPORT ResetPolarxPgAccountPasswordResult : public ServiceResult
class ALIBABACLOUD_POLARDBX_EXPORT AlignStoragePrimaryAzoneResult : public ServiceResult
{
public:


ResetPolarxPgAccountPasswordResult();
explicit ResetPolarxPgAccountPasswordResult(const std::string &payload);
~ResetPolarxPgAccountPasswordResult();
AlignStoragePrimaryAzoneResult();
explicit AlignStoragePrimaryAzoneResult(const std::string &payload);
~AlignStoragePrimaryAzoneResult();
std::string getMessage()const;
bool getSuccess()const;

Expand All @@ -50,4 +50,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_POLARDBX_MODEL_RESETPOLARXPGACCOUNTPASSWORDRESULT_H_
#endif // !ALIBABACLOUD_POLARDBX_MODEL_ALIGNSTORAGEPRIMARYAZONERESULT_H_
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/

#ifndef ALIBABACLOUD_POLARDBX_MODEL_ALLOCATECOLDDATAVOLUMEREQUEST_H_
#define ALIBABACLOUD_POLARDBX_MODEL_ALLOCATECOLDDATAVOLUMEREQUEST_H_

#include <alibabacloud/polardbx/PolardbxExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>

namespace AlibabaCloud {
namespace Polardbx {
namespace Model {
class ALIBABACLOUD_POLARDBX_EXPORT AllocateColdDataVolumeRequest : public RpcServiceRequest {
public:
AllocateColdDataVolumeRequest();
~AllocateColdDataVolumeRequest();
std::string getDBInstanceName() const;
void setDBInstanceName(const std::string &dBInstanceName);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);

private:
std::string dBInstanceName_;
std::string regionId_;
};
} // namespace Model
} // namespace Polardbx
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_POLARDBX_MODEL_ALLOCATECOLDDATAVOLUMEREQUEST_H_
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
* limitations under the License.
*/

#ifndef ALIBABACLOUD_POLARDBX_MODEL_CHECKHEALTHRESULT_H_
#define ALIBABACLOUD_POLARDBX_MODEL_CHECKHEALTHRESULT_H_
#ifndef ALIBABACLOUD_POLARDBX_MODEL_ALLOCATECOLDDATAVOLUMERESULT_H_
#define ALIBABACLOUD_POLARDBX_MODEL_ALLOCATECOLDDATAVOLUMERESULT_H_

#include <string>
#include <vector>
Expand All @@ -29,23 +29,21 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_POLARDBX_EXPORT CheckHealthResult : public ServiceResult
class ALIBABACLOUD_POLARDBX_EXPORT AllocateColdDataVolumeResult : public ServiceResult
{
public:


CheckHealthResult();
explicit CheckHealthResult(const std::string &payload);
~CheckHealthResult();
std::string getStatus()const;
AllocateColdDataVolumeResult();
explicit AllocateColdDataVolumeResult(const std::string &payload);
~AllocateColdDataVolumeResult();

protected:
void parse(const std::string &payload);
private:
std::string status_;

};
}
}
}
#endif // !ALIBABACLOUD_POLARDBX_MODEL_CHECKHEALTHRESULT_H_
#endif // !ALIBABACLOUD_POLARDBX_MODEL_ALLOCATECOLDDATAVOLUMERESULT_H_
Original file line number Diff line number Diff line change
@@ -1,72 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed 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.
*/

#ifndef ALIBABACLOUD_POLARDBX_MODEL_ALLOCATEINSTANCEPUBLICCONNECTIONREQUEST_H_
#define ALIBABACLOUD_POLARDBX_MODEL_ALLOCATEINSTANCEPUBLICCONNECTIONREQUEST_H_

#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/polardbx/PolardbxExport.h>

namespace AlibabaCloud
{
namespace Polardbx
{
namespace Model
{
class ALIBABACLOUD_POLARDBX_EXPORT AllocateInstancePublicConnectionRequest : public RpcServiceRequest
{

public:
AllocateInstancePublicConnectionRequest();
~AllocateInstancePublicConnectionRequest();

std::string getDBInstanceName()const;
void setDBInstanceName(const std::string& dBInstanceName);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getConnectionStringPrefix()const;
void setConnectionStringPrefix(const std::string& connectionStringPrefix);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getPort()const;
void setPort(const std::string& port);

private:
std::string dBInstanceName_;
long resourceOwnerId_;
std::string connectionStringPrefix_;
std::string accessKeyId_;
std::string regionId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string port_;

};
}
}
}
#endif // !ALIBABACLOUD_POLARDBX_MODEL_ALLOCATEINSTANCEPUBLICCONNECTIONREQUEST_H_
*/

#ifndef ALIBABACLOUD_POLARDBX_MODEL_ALLOCATEINSTANCEPUBLICCONNECTIONREQUEST_H_
#define ALIBABACLOUD_POLARDBX_MODEL_ALLOCATEINSTANCEPUBLICCONNECTIONREQUEST_H_

#include <alibabacloud/polardbx/PolardbxExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>

namespace AlibabaCloud {
namespace Polardbx {
namespace Model {
class ALIBABACLOUD_POLARDBX_EXPORT AllocateInstancePublicConnectionRequest : public RpcServiceRequest {
public:
AllocateInstancePublicConnectionRequest();
~AllocateInstancePublicConnectionRequest();
std::string getDBInstanceName() const;
void setDBInstanceName(const std::string &dBInstanceName);
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
std::string getConnectionStringPrefix() const;
void setConnectionStringPrefix(const std::string &connectionStringPrefix);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
std::string getOwnerAccount() const;
void setOwnerAccount(const std::string &ownerAccount);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getPort() const;
void setPort(const std::string &port);

private:
std::string dBInstanceName_;
long resourceOwnerId_;
std::string connectionStringPrefix_;
std::string regionId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string port_;
};
} // namespace Model
} // namespace Polardbx
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_POLARDBX_MODEL_ALLOCATEINSTANCEPUBLICCONNECTIONREQUEST_H_
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/

#ifndef ALIBABACLOUD_POLARDBX_MODEL_CANCELACTIVEOPERATIONTASKSREQUEST_H_
#define ALIBABACLOUD_POLARDBX_MODEL_CANCELACTIVEOPERATIONTASKSREQUEST_H_

#include <alibabacloud/polardbx/PolardbxExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>

namespace AlibabaCloud {
namespace Polardbx {
namespace Model {
class ALIBABACLOUD_POLARDBX_EXPORT CancelActiveOperationTasksRequest : public RpcServiceRequest {
public:
CancelActiveOperationTasksRequest();
~CancelActiveOperationTasksRequest();
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getIds() const;
void setIds(const std::string &ids);

private:
std::string regionId_;
std::string ids_;
};
} // namespace Model
} // namespace Polardbx
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_POLARDBX_MODEL_CANCELACTIVEOPERATIONTASKSREQUEST_H_
Loading

0 comments on commit 283dc6d

Please sign in to comment.