Increase flow control value for ListDbfs.
This commit is contained in:
@@ -31,21 +31,21 @@ DBFSClient::DBFSClient(const Credentials &credentials, const ClientConfiguration
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "dbfs");
|
||||
}
|
||||
|
||||
DBFSClient::DBFSClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "dbfs");
|
||||
}
|
||||
|
||||
DBFSClient::DBFSClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "dbfs");
|
||||
}
|
||||
|
||||
DBFSClient::~DBFSClient()
|
||||
|
||||
@@ -55,6 +55,8 @@ void ListDbfsAttachableEcsInstancesResult::parse(const std::string &payload)
|
||||
ecsLabelInfoObject.status = valueEcsLabelInfoLabelInfo["Status"].asString();
|
||||
if(!valueEcsLabelInfoLabelInfo["ZoneId"].isNull())
|
||||
ecsLabelInfoObject.zoneId = valueEcsLabelInfoLabelInfo["ZoneId"].asString();
|
||||
if(!valueEcsLabelInfoLabelInfo["ImageId"].isNull())
|
||||
ecsLabelInfoObject.imageId = valueEcsLabelInfoLabelInfo["ImageId"].asString();
|
||||
ecsLabelInfo_.push_back(ecsLabelInfoObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
|
||||
@@ -52,6 +52,15 @@ void ListSnapshotLinksRequest::setFilterKey(const std::string &filterKey) {
|
||||
setParameter(std::string("FilterKey"), filterKey);
|
||||
}
|
||||
|
||||
std::string ListSnapshotLinksRequest::getLinkIds() const {
|
||||
return linkIds_;
|
||||
}
|
||||
|
||||
void ListSnapshotLinksRequest::setLinkIds(const std::string &linkIds) {
|
||||
linkIds_ = linkIds;
|
||||
setParameter(std::string("LinkIds"), linkIds);
|
||||
}
|
||||
|
||||
std::string ListSnapshotLinksRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
@@ -70,3 +79,12 @@ void ListSnapshotLinksRequest::setPageSize(int pageSize) {
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string ListSnapshotLinksRequest::getFsIds() const {
|
||||
return fsIds_;
|
||||
}
|
||||
|
||||
void ListSnapshotLinksRequest::setFsIds(const std::string &fsIds) {
|
||||
fsIds_ = fsIds;
|
||||
setParameter(std::string("FsIds"), fsIds);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user