@huaweicloud/huaweicloud-sdk-cbh 3.1.95 → 3.1.96

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. package/package.json +2 -2
  2. package/v2/CbhClient.d.ts +81 -0
  3. package/v2/CbhClient.d.ts.map +1 -1
  4. package/v2/CbhClient.js +164 -0
  5. package/v2/CbhClient.js.map +1 -1
  6. package/v2/model/ChangeInstanceTypeRequest.d.ts +16 -0
  7. package/v2/model/ChangeInstanceTypeRequest.d.ts.map +1 -0
  8. package/v2/model/ChangeInstanceTypeRequest.js +40 -0
  9. package/v2/model/ChangeInstanceTypeRequest.js.map +1 -0
  10. package/v2/model/ChangeInstanceTypeResponse.d.ts +9 -0
  11. package/v2/model/ChangeInstanceTypeResponse.d.ts.map +1 -0
  12. package/v2/model/ChangeInstanceTypeResponse.js +21 -0
  13. package/v2/model/ChangeInstanceTypeResponse.js.map +1 -0
  14. package/v2/model/CreateInstanceBody.d.ts +57 -4
  15. package/v2/model/CreateInstanceBody.d.ts.map +1 -1
  16. package/v2/model/CreateInstanceBody.js +136 -3
  17. package/v2/model/CreateInstanceBody.js.map +1 -1
  18. package/v2/model/LoginInstanceAdminRequest.d.ts +8 -0
  19. package/v2/model/LoginInstanceAdminRequest.d.ts.map +1 -0
  20. package/v2/model/LoginInstanceAdminRequest.js +20 -0
  21. package/v2/model/LoginInstanceAdminRequest.js.map +1 -0
  22. package/v2/model/LoginInstanceAdminResponse.d.ts +9 -0
  23. package/v2/model/LoginInstanceAdminResponse.d.ts.map +1 -0
  24. package/v2/model/LoginInstanceAdminResponse.js +21 -0
  25. package/v2/model/LoginInstanceAdminResponse.js.map +1 -0
  26. package/v2/model/SwitchInstanceVpcRequest.d.ts +7 -0
  27. package/v2/model/SwitchInstanceVpcRequest.d.ts.map +1 -0
  28. package/v2/model/SwitchInstanceVpcRequest.js +13 -0
  29. package/v2/model/SwitchInstanceVpcRequest.js.map +1 -0
  30. package/v2/model/SwitchInstanceVpcResponse.d.ts +5 -0
  31. package/v2/model/SwitchInstanceVpcResponse.d.ts.map +1 -0
  32. package/v2/model/SwitchInstanceVpcResponse.js +11 -0
  33. package/v2/model/SwitchInstanceVpcResponse.js.map +1 -0
  34. package/v2/model/SwitchVirtualPrivateCloudRequestBody.d.ts +11 -0
  35. package/v2/model/SwitchVirtualPrivateCloudRequestBody.d.ts.map +1 -0
  36. package/v2/model/SwitchVirtualPrivateCloudRequestBody.js +25 -0
  37. package/v2/model/SwitchVirtualPrivateCloudRequestBody.js.map +1 -0
  38. package/v2/public-api.d.ts +7 -1
  39. package/v2/public-api.d.ts.map +1 -1
  40. package/v2/public-api.js +7 -1
  41. package/v2/public-api.js.map +1 -1
  42. package/v2/model/CBHInstances.d.ts +0 -60
  43. package/v2/model/CBHInstances.d.ts.map +0 -1
  44. package/v2/model/CBHInstances.js +0 -146
  45. package/v2/model/CBHInstances.js.map +0 -1
@@ -1,146 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CBHInstances = void 0;
4
- class CBHInstances {
5
- constructor(specification, instanceName, password, region, availabilityZone, chargingMode, network) {
6
- this['specification'] = specification;
7
- this['instance_name'] = instanceName;
8
- this['password'] = password;
9
- this['region'] = region;
10
- this['availability_zone'] = availabilityZone;
11
- this['charging_mode'] = chargingMode;
12
- this['network'] = network;
13
- }
14
- withSpecification(specification) {
15
- this['specification'] = specification;
16
- return this;
17
- }
18
- withInstanceName(instanceName) {
19
- this['instance_name'] = instanceName;
20
- return this;
21
- }
22
- set instanceName(instanceName) {
23
- this['instance_name'] = instanceName;
24
- }
25
- get instanceName() {
26
- return this['instance_name'];
27
- }
28
- withPassword(password) {
29
- this['password'] = password;
30
- return this;
31
- }
32
- withRegion(region) {
33
- this['region'] = region;
34
- return this;
35
- }
36
- withAvailabilityZone(availabilityZone) {
37
- this['availability_zone'] = availabilityZone;
38
- return this;
39
- }
40
- set availabilityZone(availabilityZone) {
41
- this['availability_zone'] = availabilityZone;
42
- }
43
- get availabilityZone() {
44
- return this['availability_zone'];
45
- }
46
- withSlaveAvailabilityZone(slaveAvailabilityZone) {
47
- this['slave_availability_zone'] = slaveAvailabilityZone;
48
- return this;
49
- }
50
- set slaveAvailabilityZone(slaveAvailabilityZone) {
51
- this['slave_availability_zone'] = slaveAvailabilityZone;
52
- }
53
- get slaveAvailabilityZone() {
54
- return this['slave_availability_zone'];
55
- }
56
- withChargingMode(chargingMode) {
57
- this['charging_mode'] = chargingMode;
58
- return this;
59
- }
60
- set chargingMode(chargingMode) {
61
- this['charging_mode'] = chargingMode;
62
- }
63
- get chargingMode() {
64
- return this['charging_mode'];
65
- }
66
- withPeriodType(periodType) {
67
- this['period_type'] = periodType;
68
- return this;
69
- }
70
- set periodType(periodType) {
71
- this['period_type'] = periodType;
72
- }
73
- get periodType() {
74
- return this['period_type'];
75
- }
76
- withPeriodNum(periodNum) {
77
- this['period_num'] = periodNum;
78
- return this;
79
- }
80
- set periodNum(periodNum) {
81
- this['period_num'] = periodNum;
82
- }
83
- get periodNum() {
84
- return this['period_num'];
85
- }
86
- withIsAutoRenew(isAutoRenew) {
87
- this['is_auto_renew'] = isAutoRenew;
88
- return this;
89
- }
90
- set isAutoRenew(isAutoRenew) {
91
- this['is_auto_renew'] = isAutoRenew;
92
- }
93
- get isAutoRenew() {
94
- return this['is_auto_renew'];
95
- }
96
- withIsAutoPay(isAutoPay) {
97
- this['is_auto_pay'] = isAutoPay;
98
- return this;
99
- }
100
- set isAutoPay(isAutoPay) {
101
- this['is_auto_pay'] = isAutoPay;
102
- }
103
- get isAutoPay() {
104
- return this['is_auto_pay'];
105
- }
106
- withNetwork(network) {
107
- this['network'] = network;
108
- return this;
109
- }
110
- withIpv6Enable(ipv6Enable) {
111
- this['ipv6_enable'] = ipv6Enable;
112
- return this;
113
- }
114
- set ipv6Enable(ipv6Enable) {
115
- this['ipv6_enable'] = ipv6Enable;
116
- }
117
- get ipv6Enable() {
118
- return this['ipv6_enable'];
119
- }
120
- withEnterpriseProjectId(enterpriseProjectId) {
121
- this['enterprise_project_id'] = enterpriseProjectId;
122
- return this;
123
- }
124
- set enterpriseProjectId(enterpriseProjectId) {
125
- this['enterprise_project_id'] = enterpriseProjectId;
126
- }
127
- get enterpriseProjectId() {
128
- return this['enterprise_project_id'];
129
- }
130
- withAttachDiskSize(attachDiskSize) {
131
- this['attach_disk_size'] = attachDiskSize;
132
- return this;
133
- }
134
- set attachDiskSize(attachDiskSize) {
135
- this['attach_disk_size'] = attachDiskSize;
136
- }
137
- get attachDiskSize() {
138
- return this['attach_disk_size'];
139
- }
140
- withTags(tags) {
141
- this['tags'] = tags;
142
- return this;
143
- }
144
- }
145
- exports.CBHInstances = CBHInstances;
146
- //# sourceMappingURL=CBHInstances.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CBHInstances.js","sourceRoot":"","sources":["../../../../../services/cbh/v2/model/CBHInstances.ts"],"names":[],"mappings":";;;AAIA,MAAa,YAAY;IAiBrB,YAAmB,aAAsB,EAAE,YAAqB,EAAE,QAAiB,EAAE,MAAe,EAAE,gBAAyB,EAAE,YAAqB,EAAE,OAA2B;QAC/K,IAAI,CAAC,eAAe,CAAC,GAAG,aAAa,CAAC;QACtC,IAAI,CAAC,eAAe,CAAC,GAAG,YAAY,CAAC;QACrC,IAAI,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC;QAC5B,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,IAAI,CAAC,mBAAmB,CAAC,GAAG,gBAAgB,CAAC;QAC7C,IAAI,CAAC,eAAe,CAAC,GAAG,YAAY,CAAC;QACrC,IAAI,CAAC,SAAS,CAAC,GAAG,OAAO,CAAC;IAC9B,CAAC;IACM,iBAAiB,CAAC,aAAqB;QAC1C,IAAI,CAAC,eAAe,CAAC,GAAG,aAAa,CAAC;QACtC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,gBAAgB,CAAC,YAAoB;QACxC,IAAI,CAAC,eAAe,CAAC,GAAG,YAAY,CAAC;QACrC,OAAO,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