Skip to content

Commit 2758ad5

Browse files
committed
Generated 2017-11-10 for Ens.
1 parent 51939b7 commit 2758ad5

File tree

106 files changed

+5169
-285
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+5169
-285
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.36.2006
1+
1.36.2007

ens/CMakeLists.txt

Lines changed: 72 additions & 8 deletions
Large diffs are not rendered by default.

ens/include/alibabacloud/ens/EnsClient.h

Lines changed: 144 additions & 16 deletions
Large diffs are not rendered by default.
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
/*
2+
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef ALIBABACLOUD_ENS_MODEL_ASSOCIATEHAVIPREQUEST_H_
18+
#define ALIBABACLOUD_ENS_MODEL_ASSOCIATEHAVIPREQUEST_H_
19+
20+
#include <alibabacloud/ens/EnsExport.h>
21+
#include <alibabacloud/core/RpcServiceRequest.h>
22+
#include <string>
23+
#include <vector>
24+
#include <map>
25+
26+
namespace AlibabaCloud {
27+
namespace Ens {
28+
namespace Model {
29+
class ALIBABACLOUD_ENS_EXPORT AssociateHaVipRequest : public RpcServiceRequest {
30+
public:
31+
AssociateHaVipRequest();
32+
~AssociateHaVipRequest();
33+
std::string getInstanceType() const;
34+
void setInstanceType(const std::string &instanceType);
35+
std::string getHaVipId() const;
36+
void setHaVipId(const std::string &haVipId);
37+
std::string getInstanceId() const;
38+
void setInstanceId(const std::string &instanceId);
39+
40+
private:
41+
std::string instanceType_;
42+
std::string haVipId_;
43+
std::string instanceId_;
44+
};
45+
} // namespace Model
46+
} // namespace Ens
47+
} // namespace AlibabaCloud
48+
#endif // !ALIBABACLOUD_ENS_MODEL_ASSOCIATEHAVIPREQUEST_H_
Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
* limitations under the License.
1515
*/
1616

17-
#ifndef ALIBABACLOUD_ENS_MODEL_DESCRIBEAPPLICATIONRESOURCESUMMARYRESULT_H_
18-
#define ALIBABACLOUD_ENS_MODEL_DESCRIBEAPPLICATIONRESOURCESUMMARYRESULT_H_
17+
#ifndef ALIBABACLOUD_ENS_MODEL_ASSOCIATEHAVIPRESULT_H_
18+
#define ALIBABACLOUD_ENS_MODEL_ASSOCIATEHAVIPRESULT_H_
1919

2020
#include <string>
2121
#include <vector>
@@ -29,23 +29,21 @@ namespace AlibabaCloud
2929
{
3030
namespace Model
3131
{
32-
class ALIBABACLOUD_ENS_EXPORT DescribeApplicationResourceSummaryResult : public ServiceResult
32+
class ALIBABACLOUD_ENS_EXPORT AssociateHaVipResult : public ServiceResult
3333
{
3434
public:
3535

3636

37-
DescribeApplicationResourceSummaryResult();
38-
explicit DescribeApplicationResourceSummaryResult(const std::string &payload);
39-
~DescribeApplicationResourceSummaryResult();
40-
std::string getApplicationResource()const;
37+
AssociateHaVipResult();
38+
explicit AssociateHaVipResult(const std::string &payload);
39+
~AssociateHaVipResult();
4140

4241
protected:
4342
void parse(const std::string &payload);
4443
private:
45-
std::string applicationResource_;
4644

4745
};
4846
}
4947
}
5048
}
51-
#endif // !ALIBABACLOUD_ENS_MODEL_DESCRIBEAPPLICATIONRESOURCESUMMARYRESULT_H_
49+
#endif // !ALIBABACLOUD_ENS_MODEL_ASSOCIATEHAVIPRESULT_H_
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
* limitations under the License.
1515
*/
1616

17-
#ifndef ALIBABACLOUD_ENS_MODEL_DESCRIBEAPPLICATIONRESOURCESUMMARYREQUEST_H_
18-
#define ALIBABACLOUD_ENS_MODEL_DESCRIBEAPPLICATIONRESOURCESUMMARYREQUEST_H_
17+
#ifndef ALIBABACLOUD_ENS_MODEL_ATTACHNETWORKINTERFACEREQUEST_H_
18+
#define ALIBABACLOUD_ENS_MODEL_ATTACHNETWORKINTERFACEREQUEST_H_
1919

2020
#include <alibabacloud/ens/EnsExport.h>
2121
#include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,20 +26,20 @@
2626
namespace AlibabaCloud {
2727
namespace Ens {
2828
namespace Model {
29-
class ALIBABACLOUD_ENS_EXPORT DescribeApplicationResourceSummaryRequest : public RpcServiceRequest {
29+
class ALIBABACLOUD_ENS_EXPORT AttachNetworkInterfaceRequest : public RpcServiceRequest {
3030
public:
31-
DescribeApplicationResourceSummaryRequest();
32-
~DescribeApplicationResourceSummaryRequest();
33-
std::string getLevel() const;
34-
void setLevel(const std::string &level);
35-
std::string getResourceType() const;
36-
void setResourceType(const std::string &resourceType);
31+
AttachNetworkInterfaceRequest();
32+
~AttachNetworkInterfaceRequest();
33+
std::string getInstanceId() const;
34+
void setInstanceId(const std::string &instanceId);
35+
std::string getNetworkInterfaceId() const;
36+
void setNetworkInterfaceId(const std::string &networkInterfaceId);
3737

3838
private:
39-
std::string level_;
40-
std::string resourceType_;
39+
std::string instanceId_;
40+
std::string networkInterfaceId_;
4141
};
4242
} // namespace Model
4343
} // namespace Ens
4444
} // namespace AlibabaCloud
45-
#endif // !ALIBABACLOUD_ENS_MODEL_DESCRIBEAPPLICATIONRESOURCESUMMARYREQUEST_H_
45+
#endif // !ALIBABACLOUD_ENS_MODEL_ATTACHNETWORKINTERFACEREQUEST_H_
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
/*
2+
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef ALIBABACLOUD_ENS_MODEL_ATTACHNETWORKINTERFACERESULT_H_
18+
#define ALIBABACLOUD_ENS_MODEL_ATTACHNETWORKINTERFACERESULT_H_
19+
20+
#include <string>
21+
#include <vector>
22+
#include <utility>
23+
#include <alibabacloud/core/ServiceResult.h>
24+
#include <alibabacloud/ens/EnsExport.h>
25+
26+
namespace AlibabaCloud
27+
{
28+
namespace Ens
29+
{
30+
namespace Model
31+
{
32+
class ALIBABACLOUD_ENS_EXPORT AttachNetworkInterfaceResult : public ServiceResult
33+
{
34+
public:
35+
36+
37+
AttachNetworkInterfaceResult();
38+
explicit AttachNetworkInterfaceResult(const std::string &payload);
39+
~AttachNetworkInterfaceResult();
40+
41+
protected:
42+
void parse(const std::string &payload);
43+
private:
44+
45+
};
46+
}
47+
}
48+
}
49+
#endif // !ALIBABACLOUD_ENS_MODEL_ATTACHNETWORKINTERFACERESULT_H_
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
/*
2+
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef ALIBABACLOUD_ENS_MODEL_CREATECLUSTERREQUEST_H_
18+
#define ALIBABACLOUD_ENS_MODEL_CREATECLUSTERREQUEST_H_
19+
20+
#include <alibabacloud/ens/EnsExport.h>
21+
#include <alibabacloud/core/RpcServiceRequest.h>
22+
#include <string>
23+
#include <vector>
24+
#include <map>
25+
26+
namespace AlibabaCloud {
27+
namespace Ens {
28+
namespace Model {
29+
class ALIBABACLOUD_ENS_EXPORT CreateClusterRequest : public RpcServiceRequest {
30+
public:
31+
CreateClusterRequest();
32+
~CreateClusterRequest();
33+
std::string getClusterVersion() const;
34+
void setClusterVersion(const std::string &clusterVersion);
35+
std::string getName() const;
36+
void setName(const std::string &name);
37+
38+
private:
39+
std::string clusterVersion_;
40+
std::string name_;
41+
};
42+
} // namespace Model
43+
} // namespace Ens
44+
} // namespace AlibabaCloud
45+
#endif // !ALIBABACLOUD_ENS_MODEL_CREATECLUSTERREQUEST_H_
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
/*
2+
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef ALIBABACLOUD_ENS_MODEL_CREATECLUSTERRESULT_H_
18+
#define ALIBABACLOUD_ENS_MODEL_CREATECLUSTERRESULT_H_
19+
20+
#include <string>
21+
#include <vector>
22+
#include <utility>
23+
#include <alibabacloud/core/ServiceResult.h>
24+
#include <alibabacloud/ens/EnsExport.h>
25+
26+
namespace AlibabaCloud
27+
{
28+
namespace Ens
29+
{
30+
namespace Model
31+
{
32+
class ALIBABACLOUD_ENS_EXPORT CreateClusterResult : public ServiceResult
33+
{
34+
public:
35+
36+
37+
CreateClusterResult();
38+
explicit CreateClusterResult(const std::string &payload);
39+
~CreateClusterResult();
40+
std::string getClusterId()const;
41+
42+
protected:
43+
void parse(const std::string &payload);
44+
private:
45+
std::string clusterId_;
46+
47+
};
48+
}
49+
}
50+
}
51+
#endif // !ALIBABACLOUD_ENS_MODEL_CREATECLUSTERRESULT_H_

ens/include/alibabacloud/ens/model/CreateDiskRequest.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,18 @@ namespace Ens {
2828
namespace Model {
2929
class ALIBABACLOUD_ENS_EXPORT CreateDiskRequest : public RpcServiceRequest {
3030
public:
31+
struct Tag {
32+
std::string value;
33+
std::string key;
34+
};
3135
CreateDiskRequest();
3236
~CreateDiskRequest();
3337
std::string getDiskName() const;
3438
void setDiskName(const std::string &diskName);
3539
std::string getEnsRegionId() const;
3640
void setEnsRegionId(const std::string &ensRegionId);
41+
std::vector<Tag> getTag() const;
42+
void setTag(const std::vector<Tag> &tag);
3743
std::string getSize() const;
3844
void setSize(const std::string &size);
3945
std::string getSnapshotId() const;
@@ -50,6 +56,7 @@ class ALIBABACLOUD_ENS_EXPORT CreateDiskRequest : public RpcServiceRequest {
5056
private:
5157
std::string diskName_;
5258
std::string ensRegionId_;
59+
std::vector<Tag> tag_;
5360
std::string size_;
5461
std::string snapshotId_;
5562
std::string instanceChargeType_;

0 commit comments

Comments
 (0)