@huaweicloud/huaweicloud-sdk-cbh 3.1.95 → 3.1.97
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +2 -2
- package/v2/CbhClient.d.ts +81 -0
- package/v2/CbhClient.d.ts.map +1 -1
- package/v2/CbhClient.js +164 -0
- package/v2/CbhClient.js.map +1 -1
- package/v2/model/ChangeInstanceTypeRequest.d.ts +16 -0
- package/v2/model/ChangeInstanceTypeRequest.d.ts.map +1 -0
- package/v2/model/ChangeInstanceTypeRequest.js +40 -0
- package/v2/model/ChangeInstanceTypeRequest.js.map +1 -0
- package/v2/model/ChangeInstanceTypeResponse.d.ts +9 -0
- package/v2/model/ChangeInstanceTypeResponse.d.ts.map +1 -0
- package/v2/model/ChangeInstanceTypeResponse.js +21 -0
- package/v2/model/ChangeInstanceTypeResponse.js.map +1 -0
- package/v2/model/CreateInstanceBody.d.ts +57 -4
- package/v2/model/CreateInstanceBody.d.ts.map +1 -1
- package/v2/model/CreateInstanceBody.js +136 -3
- package/v2/model/CreateInstanceBody.js.map +1 -1
- package/v2/model/LoginInstanceAdminRequest.d.ts +8 -0
- package/v2/model/LoginInstanceAdminRequest.d.ts.map +1 -0
- package/v2/model/LoginInstanceAdminRequest.js +20 -0
- package/v2/model/LoginInstanceAdminRequest.js.map +1 -0
- package/v2/model/LoginInstanceAdminResponse.d.ts +9 -0
- package/v2/model/LoginInstanceAdminResponse.d.ts.map +1 -0
- package/v2/model/LoginInstanceAdminResponse.js +21 -0
- package/v2/model/LoginInstanceAdminResponse.js.map +1 -0
- package/v2/model/SwitchInstanceVpcRequest.d.ts +7 -0
- package/v2/model/SwitchInstanceVpcRequest.d.ts.map +1 -0
- package/v2/model/SwitchInstanceVpcRequest.js +13 -0
- package/v2/model/SwitchInstanceVpcRequest.js.map +1 -0
- package/v2/model/SwitchInstanceVpcResponse.d.ts +5 -0
- package/v2/model/SwitchInstanceVpcResponse.d.ts.map +1 -0
- package/v2/model/SwitchInstanceVpcResponse.js +11 -0
- package/v2/model/SwitchInstanceVpcResponse.js.map +1 -0
- package/v2/model/SwitchVirtualPrivateCloudRequestBody.d.ts +11 -0
- package/v2/model/SwitchVirtualPrivateCloudRequestBody.d.ts.map +1 -0
- package/v2/model/SwitchVirtualPrivateCloudRequestBody.js +25 -0
- package/v2/model/SwitchVirtualPrivateCloudRequestBody.js.map +1 -0
- package/v2/public-api.d.ts +7 -1
- package/v2/public-api.d.ts.map +1 -1
- package/v2/public-api.js +7 -1
- package/v2/public-api.js.map +1 -1
- package/v2/model/CBHInstances.d.ts +0 -60
- package/v2/model/CBHInstances.d.ts.map +0 -1
- package/v2/model/CBHInstances.js +0 -146
- package/v2/model/CBHInstances.js.map +0 -1
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ChangeInstanceTypeResponse.d.ts","sourceRoot":"","sources":["../../../../../services/cbh/v2/model/ChangeInstanceTypeResponse.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAE5E,qBAAa,0BAA2B,SAAQ,WAAW;IACvD,OAAO,CAAC,UAAU,CAAC,CAAS;;IAIrB,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,0BAA0B;IAI/D,IAAW,OAAO,CAAC,OAAO,EAAE,MAAM,GAAI,SAAS,EAE9C;IACD,IAAW,OAAO,IAAI,MAAM,GAAG,SAAS,CAEvC;CACJ"}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ChangeInstanceTypeResponse = void 0;
|
4
|
+
const SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
5
|
+
class ChangeInstanceTypeResponse extends SdkResponse_1.SdkResponse {
|
6
|
+
constructor() {
|
7
|
+
super();
|
8
|
+
}
|
9
|
+
withOrderId(orderId) {
|
10
|
+
this['order_id'] = orderId;
|
11
|
+
return this;
|
12
|
+
}
|
13
|
+
set orderId(orderId) {
|
14
|
+
this['order_id'] = orderId;
|
15
|
+
}
|
16
|
+
get orderId() {
|
17
|
+
return this['order_id'];
|
18
|
+
}
|
19
|
+
}
|
20
|
+
exports.ChangeInstanceTypeResponse = ChangeInstanceTypeResponse;
|
21
|
+
//# sourceMappingURL=ChangeInstanceTypeResponse.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ChangeInstanceTypeResponse.js","sourceRoot":"","sources":["../../../../../services/cbh/v2/model/ChangeInstanceTypeResponse.ts"],"names":[],"mappings":";;;AACA,+EAA4E;AAE5E,MAAa,0BAA2B,SAAQ,yBAAW;IAEvD;QACI,KAAK,EAAE,CAAC;IACZ,CAAC;IACM,WAAW,CAAC,OAAe;QAC9B,IAAI,CAAC,UAAU,CAAC,GAAG,OAAO,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,OAAO,CAAC,OAA4B;QAC3C,IAAI,CAAC,UAAU,CAAC,GAAG,OAAO,CAAC;IAC/B,CAAC;IACD,IAAW,OAAO;QACd,OAAO,IAAI,CAAC,UAAU,CAAC,CAAC;IAC5B,CAAC;CACJ;AAfD,gEAeC"}
|
@@ -1,7 +1,60 @@
|
|
1
|
-
import {
|
1
|
+
import { NetworkInfoCreate } from './NetworkInfoCreate';
|
2
|
+
import { ResourceTag } from './ResourceTag';
|
2
3
|
export declare class CreateInstanceBody {
|
3
|
-
|
4
|
-
|
5
|
-
|
4
|
+
specification?: string;
|
5
|
+
private 'instance_name'?;
|
6
|
+
password?: string;
|
7
|
+
region?: string;
|
8
|
+
private 'availability_zone'?;
|
9
|
+
private 'slave_availability_zone'?;
|
10
|
+
private 'charging_mode'?;
|
11
|
+
private 'period_type'?;
|
12
|
+
private 'period_num'?;
|
13
|
+
private 'is_auto_renew'?;
|
14
|
+
private 'is_auto_pay'?;
|
15
|
+
network?: NetworkInfoCreate;
|
16
|
+
private 'ipv6_enable'?;
|
17
|
+
private 'enterprise_project_id'?;
|
18
|
+
private 'attach_disk_size'?;
|
19
|
+
tags?: Array<ResourceTag>;
|
20
|
+
constructor(specification?: string, instanceName?: string, password?: string, region?: string, availabilityZone?: string, chargingMode?: number, network?: NetworkInfoCreate);
|
21
|
+
withSpecification(specification: string): CreateInstanceBody;
|
22
|
+
withInstanceName(instanceName: string): CreateInstanceBody;
|
23
|
+
set instanceName(instanceName: string | undefined);
|
24
|
+
get instanceName(): string | undefined;
|
25
|
+
withPassword(password: string): CreateInstanceBody;
|
26
|
+
withRegion(region: string): CreateInstanceBody;
|
27
|
+
withAvailabilityZone(availabilityZone: string): CreateInstanceBody;
|
28
|
+
set availabilityZone(availabilityZone: string | undefined);
|
29
|
+
get availabilityZone(): string | undefined;
|
30
|
+
withSlaveAvailabilityZone(slaveAvailabilityZone: string): CreateInstanceBody;
|
31
|
+
set slaveAvailabilityZone(slaveAvailabilityZone: string | undefined);
|
32
|
+
get slaveAvailabilityZone(): string | undefined;
|
33
|
+
withChargingMode(chargingMode: number): CreateInstanceBody;
|
34
|
+
set chargingMode(chargingMode: number | undefined);
|
35
|
+
get chargingMode(): number | undefined;
|
36
|
+
withPeriodType(periodType: number): CreateInstanceBody;
|
37
|
+
set periodType(periodType: number | undefined);
|
38
|
+
get periodType(): number | undefined;
|
39
|
+
withPeriodNum(periodNum: number): CreateInstanceBody;
|
40
|
+
set periodNum(periodNum: number | undefined);
|
41
|
+
get periodNum(): number | undefined;
|
42
|
+
withIsAutoRenew(isAutoRenew: number): CreateInstanceBody;
|
43
|
+
set isAutoRenew(isAutoRenew: number | undefined);
|
44
|
+
get isAutoRenew(): number | undefined;
|
45
|
+
withIsAutoPay(isAutoPay: number): CreateInstanceBody;
|
46
|
+
set isAutoPay(isAutoPay: number | undefined);
|
47
|
+
get isAutoPay(): number | undefined;
|
48
|
+
withNetwork(network: NetworkInfoCreate): CreateInstanceBody;
|
49
|
+
withIpv6Enable(ipv6Enable: boolean): CreateInstanceBody;
|
50
|
+
set ipv6Enable(ipv6Enable: boolean | undefined);
|
51
|
+
get ipv6Enable(): boolean | undefined;
|
52
|
+
withEnterpriseProjectId(enterpriseProjectId: string): CreateInstanceBody;
|
53
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
54
|
+
get enterpriseProjectId(): string | undefined;
|
55
|
+
withAttachDiskSize(attachDiskSize: number): CreateInstanceBody;
|
56
|
+
set attachDiskSize(attachDiskSize: number | undefined);
|
57
|
+
get attachDiskSize(): number | undefined;
|
58
|
+
withTags(tags: Array<ResourceTag>): CreateInstanceBody;
|
6
59
|
}
|
7
60
|
//# sourceMappingURL=CreateInstanceBody.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CreateInstanceBody.d.ts","sourceRoot":"","sources":["../../../../../services/cbh/v2/model/CreateInstanceBody.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"CreateInstanceBody.d.ts","sourceRoot":"","sources":["../../../../../services/cbh/v2/model/CreateInstanceBody.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,qBAAa,kBAAkB;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IAC9B,OAAO,CAAC,eAAe,CAAC,CAAS;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,mBAAmB,CAAC,CAAS;IACrC,OAAO,CAAC,yBAAyB,CAAC,CAAS;IAC3C,OAAO,CAAC,eAAe,CAAC,CAAS;IACjC,OAAO,CAAC,aAAa,CAAC,CAAS;IAC/B,OAAO,CAAC,YAAY,CAAC,CAAS;IAC9B,OAAO,CAAC,eAAe,CAAC,CAAS;IACjC,OAAO,CAAC,aAAa,CAAC,CAAS;IACxB,OAAO,CAAC,EAAE,iBAAiB,CAAC;IACnC,OAAO,CAAC,aAAa,CAAC,CAAU;IAChC,OAAO,CAAC,uBAA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__esModule", { value: true });
|
3
3
|
exports.CreateInstanceBody = void 0;
|
4
4
|
class CreateInstanceBody {
|
5
|
-
constructor() {
|
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;
|
6
13
|
}
|
7
|
-
|
8
|
-
this['
|
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;
|
9
142
|
return this;
|
10
143
|
}
|
11
144
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CreateInstanceBody.js","sourceRoot":"","sources":["../../../../../services/cbh/v2/model/CreateInstanceBody.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"CreateInstanceBody.js","sourceRoot":"","sources":["../../../../../services/cbh/v2/model/CreateInstanceBody.ts"],"names":[],"mappings":";;;AAIA,MAAa,kBAAkB;IAiB3B,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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AQ,CAAC,IAAwB;QACpC,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AA5JD,gDA4JC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
export declare class LoginInstanceAdminRequest {
|
2
|
+
private 'server_id'?;
|
3
|
+
constructor(serverId?: string);
|
4
|
+
withServerId(serverId: string): LoginInstanceAdminRequest;
|
5
|
+
set serverId(serverId: string | undefined);
|
6
|
+
get serverId(): string | undefined;
|
7
|
+
}
|
8
|
+
//# sourceMappingURL=LoginInstanceAdminRequest.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"LoginInstanceAdminRequest.d.ts","sourceRoot":"","sources":["../../../../../services/cbh/v2/model/LoginInstanceAdminRequest.ts"],"names":[],"mappings":"AAEA,qBAAa,yBAAyB;IAClC,OAAO,CAAC,WAAW,CAAC,CAAS;gBACV,QAAQ,CAAC,EAAE,MAAM;IAG7B,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,yBAAyB;IAIhE,IAAW,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAI,SAAS,EAEhD;IACD,IAAW,QAAQ,IAAI,MAAM,GAAG,SAAS,CAExC;CACJ"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.LoginInstanceAdminRequest = void 0;
|
4
|
+
class LoginInstanceAdminRequest {
|
5
|
+
constructor(serverId) {
|
6
|
+
this['server_id'] = serverId;
|
7
|
+
}
|
8
|
+
withServerId(serverId) {
|
9
|
+
this['server_id'] = serverId;
|
10
|
+
return this;
|
11
|
+
}
|
12
|
+
set serverId(serverId) {
|
13
|
+
this['server_id'] = serverId;
|
14
|
+
}
|
15
|
+
get serverId() {
|
16
|
+
return this['server_id'];
|
17
|
+
}
|
18
|
+
}
|
19
|
+
exports.LoginInstanceAdminRequest = LoginInstanceAdminRequest;
|
20
|
+
//# sourceMappingURL=LoginInstanceAdminRequest.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"LoginInstanceAdminRequest.js","sourceRoot":"","sources":["../../../../../services/cbh/v2/model/LoginInstanceAdminRequest.ts"],"names":[],"mappings":";;;AAEA,MAAa,yBAAyB;IAElC,YAAmB,QAAiB;QAChC,IAAI,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;IACjC,CAAC;IACM,YAAY,CAAC,QAAgB;QAChC,IAAI,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,QAAQ,CAAC,QAA6B;QAC7C,IAAI,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;IACjC,CAAC;IACD,IAAW,QAAQ;QACf,OAAO,IAAI,CAAC,WAAW,CAAC,CAAC;IAC7B,CAAC;CACJ;AAfD,8DAeC"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
2
|
+
export declare class LoginInstanceAdminResponse extends SdkResponse {
|
3
|
+
private 'admin_url'?;
|
4
|
+
constructor();
|
5
|
+
withAdminUrl(adminUrl: string): LoginInstanceAdminResponse;
|
6
|
+
set adminUrl(adminUrl: string | undefined);
|
7
|
+
get adminUrl(): string | undefined;
|
8
|
+
}
|
9
|
+
//# sourceMappingURL=LoginInstanceAdminResponse.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"LoginInstanceAdminResponse.d.ts","sourceRoot":"","sources":["../../../../../services/cbh/v2/model/LoginInstanceAdminResponse.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAE5E,qBAAa,0BAA2B,SAAQ,WAAW;IACvD,OAAO,CAAC,WAAW,CAAC,CAAS;;IAItB,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,0BAA0B;IAIjE,IAAW,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAI,SAAS,EAEhD;IACD,IAAW,QAAQ,IAAI,MAAM,GAAG,SAAS,CAExC;CACJ"}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.LoginInstanceAdminResponse = void 0;
|
4
|
+
const SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
5
|
+
class LoginInstanceAdminResponse extends SdkResponse_1.SdkResponse {
|
6
|
+
constructor() {
|
7
|
+
super();
|
8
|
+
}
|
9
|
+
withAdminUrl(adminUrl) {
|
10
|
+
this['admin_url'] = adminUrl;
|
11
|
+
return this;
|
12
|
+
}
|
13
|
+
set adminUrl(adminUrl) {
|
14
|
+
this['admin_url'] = adminUrl;
|
15
|
+
}
|
16
|
+
get adminUrl() {
|
17
|
+
return this['admin_url'];
|
18
|
+
}
|
19
|
+
}
|
20
|
+
exports.LoginInstanceAdminResponse = LoginInstanceAdminResponse;
|
21
|
+
//# sourceMappingURL=LoginInstanceAdminResponse.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"LoginInstanceAdminResponse.js","sourceRoot":"","sources":["../../../../../services/cbh/v2/model/LoginInstanceAdminResponse.ts"],"names":[],"mappings":";;;AACA,+EAA4E;AAE5E,MAAa,0BAA2B,SAAQ,yBAAW;IAEvD;QACI,KAAK,EAAE,CAAC;IACZ,CAAC;IACM,YAAY,CAAC,QAAgB;QAChC,IAAI,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,QAAQ,CAAC,QAA6B;QAC7C,IAAI,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;IACjC,CAAC;IACD,IAAW,QAAQ;QACf,OAAO,IAAI,CAAC,WAAW,CAAC,CAAC;IAC7B,CAAC;CACJ;AAfD,gEAeC"}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { SwitchVirtualPrivateCloudRequestBody } from './SwitchVirtualPrivateCloudRequestBody';
|
2
|
+
export declare class SwitchInstanceVpcRequest {
|
3
|
+
body?: SwitchVirtualPrivateCloudRequestBody;
|
4
|
+
constructor();
|
5
|
+
withBody(body: SwitchVirtualPrivateCloudRequestBody): SwitchInstanceVpcRequest;
|
6
|
+
}
|
7
|
+
//# sourceMappingURL=SwitchInstanceVpcRequest.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SwitchInstanceVpcRequest.d.ts","sourceRoot":"","sources":["../../../../../services/cbh/v2/model/SwitchInstanceVpcRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oCAAoC,EAAE,MAAM,wCAAwC,CAAC;AAG9F,qBAAa,wBAAwB;IAC1B,IAAI,CAAC,EAAE,oCAAoC,CAAC;;IAG5C,QAAQ,CAAC,IAAI,EAAE,oCAAoC,GAAG,wBAAwB;CAIxF"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SwitchInstanceVpcRequest = void 0;
|
4
|
+
class SwitchInstanceVpcRequest {
|
5
|
+
constructor() {
|
6
|
+
}
|
7
|
+
withBody(body) {
|
8
|
+
this['body'] = body;
|
9
|
+
return this;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
exports.SwitchInstanceVpcRequest = SwitchInstanceVpcRequest;
|
13
|
+
//# sourceMappingURL=SwitchInstanceVpcRequest.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SwitchInstanceVpcRequest.js","sourceRoot":"","sources":["../../../../../services/cbh/v2/model/SwitchInstanceVpcRequest.ts"],"names":[],"mappings":";;;AAGA,MAAa,wBAAwB;IAEjC;IACA,CAAC;IACM,QAAQ,CAAC,IAA0C;QACtD,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AARD,4DAQC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SwitchInstanceVpcResponse.d.ts","sourceRoot":"","sources":["../../../../../services/cbh/v2/model/SwitchInstanceVpcResponse.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAE5E,qBAAa,yBAA0B,SAAQ,WAAW;;CAIzD"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SwitchInstanceVpcResponse = void 0;
|
4
|
+
const SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
5
|
+
class SwitchInstanceVpcResponse extends SdkResponse_1.SdkResponse {
|
6
|
+
constructor() {
|
7
|
+
super();
|
8
|
+
}
|
9
|
+
}
|
10
|
+
exports.SwitchInstanceVpcResponse = SwitchInstanceVpcResponse;
|
11
|
+
//# sourceMappingURL=SwitchInstanceVpcResponse.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SwitchInstanceVpcResponse.js","sourceRoot":"","sources":["../../../../../services/cbh/v2/model/SwitchInstanceVpcResponse.ts"],"names":[],"mappings":";;;AACA,+EAA4E;AAE5E,MAAa,yBAA0B,SAAQ,yBAAW;IACtD;QACI,KAAK,EAAE,CAAC;IACZ,CAAC;CACJ;AAJD,8DAIC"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { NetworkInfoCreate } from './NetworkInfoCreate';
|
2
|
+
export declare class SwitchVirtualPrivateCloudRequestBody {
|
3
|
+
private 'server_id'?;
|
4
|
+
network?: NetworkInfoCreate;
|
5
|
+
constructor(serverId?: string, network?: NetworkInfoCreate);
|
6
|
+
withServerId(serverId: string): SwitchVirtualPrivateCloudRequestBody;
|
7
|
+
set serverId(serverId: string | undefined);
|
8
|
+
get serverId(): string | undefined;
|
9
|
+
withNetwork(network: NetworkInfoCreate): SwitchVirtualPrivateCloudRequestBody;
|
10
|
+
}
|
11
|
+
//# sourceMappingURL=SwitchVirtualPrivateCloudRequestBody.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SwitchVirtualPrivateCloudRequestBody.d.ts","sourceRoot":"","sources":["../../../../../services/cbh/v2/model/SwitchVirtualPrivateCloudRequestBody.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAGxD,qBAAa,oCAAoC;IAC7C,OAAO,CAAC,WAAW,CAAC,CAAS;IACtB,OAAO,CAAC,EAAE,iBAAiB,CAAC;gBAChB,QAAQ,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,iBAAiB;IAI1D,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,oCAAoC;IAI3E,IAAW,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAI,SAAS,EAEhD;IACD,IAAW,QAAQ,IAAI,MAAM,GAAG,SAAS,CAExC;IACM,WAAW,CAAC,OAAO,EAAE,iBAAiB,GAAG,oCAAoC;CAIvF"}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SwitchVirtualPrivateCloudRequestBody = void 0;
|
4
|
+
class SwitchVirtualPrivateCloudRequestBody {
|
5
|
+
constructor(serverId, network) {
|
6
|
+
this['server_id'] = serverId;
|
7
|
+
this['network'] = network;
|
8
|
+
}
|
9
|
+
withServerId(serverId) {
|
10
|
+
this['server_id'] = serverId;
|
11
|
+
return this;
|
12
|
+
}
|
13
|
+
set serverId(serverId) {
|
14
|
+
this['server_id'] = serverId;
|
15
|
+
}
|
16
|
+
get serverId() {
|
17
|
+
return this['server_id'];
|
18
|
+
}
|
19
|
+
withNetwork(network) {
|
20
|
+
this['network'] = network;
|
21
|
+
return this;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
exports.SwitchVirtualPrivateCloudRequestBody = SwitchVirtualPrivateCloudRequestBody;
|
25
|
+
//# sourceMappingURL=SwitchVirtualPrivateCloudRequestBody.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SwitchVirtualPrivateCloudRequestBody.js","sourceRoot":"","sources":["../../../../../services/cbh/v2/model/SwitchVirtualPrivateCloudRequestBody.ts"],"names":[],"mappings":";;;AAGA,MAAa,oCAAoC;IAG7C,YAAmB,QAAiB,EAAE,OAA2B;QAC7D,IAAI,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;QAC7B,IAAI,CAAC,SAAS,CAAC,GAAG,OAAO,CAAC;IAC9B,CAAC;IACM,YAAY,CAAC,QAAgB;QAChC,IAAI,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,QAAQ,CAAC,QAA6B;QAC7C,IAAI,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;IACjC,CAAC;IACD,IAAW,QAAQ;QACf,OAAO,IAAI,CAAC,WAAW,CAAC,CAAC;IAC7B,CAAC;IACM,WAAW,CAAC,OAA0B;QACzC,IAAI,CAAC,SAAS,CAAC,GAAG,OAAO,CAAC;QAC1B,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AArBD,oFAqBC"}
|
package/v2/public-api.d.ts
CHANGED
@@ -4,11 +4,12 @@ export * from './model/AuthorizeCsmsAndKmsRequestBody';
|
|
4
4
|
export * from './model/AvailabilityZones';
|
5
5
|
export * from './model/BatchCreateInstanceTagRequest';
|
6
6
|
export * from './model/BatchCreateInstanceTagResponse';
|
7
|
-
export * from './model/CBHInstances';
|
8
7
|
export * from './model/CbsGetResourceIdTags';
|
9
8
|
export * from './model/CbsGetSpecInfo';
|
10
9
|
export * from './model/ChangeInstanceRequestBody';
|
11
10
|
export * from './model/ChangeInstanceSecurityGroups';
|
11
|
+
export * from './model/ChangeInstanceTypeRequest';
|
12
|
+
export * from './model/ChangeInstanceTypeResponse';
|
12
13
|
export * from './model/CommonCbhRequestBody';
|
13
14
|
export * from './model/CountInstancesByTagRequest';
|
14
15
|
export * from './model/CountInstancesByTagResponse';
|
@@ -37,6 +38,8 @@ export * from './model/ListSpecificationsRequest';
|
|
37
38
|
export * from './model/ListSpecificationsResponse';
|
38
39
|
export * from './model/ListTagsRequest';
|
39
40
|
export * from './model/ListTagsResponse';
|
41
|
+
export * from './model/LoginInstanceAdminRequest';
|
42
|
+
export * from './model/LoginInstanceAdminResponse';
|
40
43
|
export * from './model/LoginInstanceRequest';
|
41
44
|
export * from './model/LoginInstanceResponse';
|
42
45
|
export * from './model/Match';
|
@@ -78,6 +81,9 @@ export * from './model/StartInstanceRequest';
|
|
78
81
|
export * from './model/StartInstanceResponse';
|
79
82
|
export * from './model/StopInstanceRequest';
|
80
83
|
export * from './model/StopInstanceResponse';
|
84
|
+
export * from './model/SwitchInstanceVpcRequest';
|
85
|
+
export * from './model/SwitchInstanceVpcResponse';
|
86
|
+
export * from './model/SwitchVirtualPrivateCloudRequestBody';
|
81
87
|
export * from './model/Tags';
|
82
88
|
export * from './model/UninstallInstanceEipRequest';
|
83
89
|
export * from './model/UninstallInstanceEipResponse';
|
package/v2/public-api.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../../../services/cbh/v2/public-api.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAE5B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wCAAwC,CAAC;AACvD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uCAAuC,CAAC;AACtD,cAAc,wCAAwC,CAAC;AACvD,cAAc,
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../../../services/cbh/v2/public-api.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAE5B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wCAAwC,CAAC;AACvD,cAAc,2BAA2B,CAAC;AAC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GED
@@ -20,11 +20,12 @@ __exportStar(require("./model/AuthorizeCsmsAndKmsRequestBody"), exports);
|
|
20
20
|
__exportStar(require("./model/AvailabilityZones"), exports);
|
21
21
|
__exportStar(require("./model/BatchCreateInstanceTagRequest"), exports);
|
22
22
|
__exportStar(require("./model/BatchCreateInstanceTagResponse"), exports);
|
23
|
-
__exportStar(require("./model/CBHInstances"), exports);
|
24
23
|
__exportStar(require("./model/CbsGetResourceIdTags"), exports);
|
25
24
|
__exportStar(require("./model/CbsGetSpecInfo"), exports);
|
26
25
|
__exportStar(require("./model/ChangeInstanceRequestBody"), exports);
|
27
26
|
__exportStar(require("./model/ChangeInstanceSecurityGroups"), exports);
|
27
|
+
__exportStar(require("./model/ChangeInstanceTypeRequest"), exports);
|
28
|
+
__exportStar(require("./model/ChangeInstanceTypeResponse"), exports);
|
28
29
|
__exportStar(require("./model/CommonCbhRequestBody"), exports);
|
29
30
|
__exportStar(require("./model/CountInstancesByTagRequest"), exports);
|
30
31
|
__exportStar(require("./model/CountInstancesByTagResponse"), exports);
|
@@ -53,6 +54,8 @@ __exportStar(require("./model/ListSpecificationsRequest"), exports);
|
|
53
54
|
__exportStar(require("./model/ListSpecificationsResponse"), exports);
|
54
55
|
__exportStar(require("./model/ListTagsRequest"), exports);
|
55
56
|
__exportStar(require("./model/ListTagsResponse"), exports);
|
57
|
+
__exportStar(require("./model/LoginInstanceAdminRequest"), exports);
|
58
|
+
__exportStar(require("./model/LoginInstanceAdminResponse"), exports);
|
56
59
|
__exportStar(require("./model/LoginInstanceRequest"), exports);
|
57
60
|
__exportStar(require("./model/LoginInstanceResponse"), exports);
|
58
61
|
__exportStar(require("./model/Match"), exports);
|
@@ -94,6 +97,9 @@ __exportStar(require("./model/StartInstanceRequest"), exports);
|
|
94
97
|
__exportStar(require("./model/StartInstanceResponse"), exports);
|
95
98
|
__exportStar(require("./model/StopInstanceRequest"), exports);
|
96
99
|
__exportStar(require("./model/StopInstanceResponse"), exports);
|
100
|
+
__exportStar(require("./model/SwitchInstanceVpcRequest"), exports);
|
101
|
+
__exportStar(require("./model/SwitchInstanceVpcResponse"), exports);
|
102
|
+
__exportStar(require("./model/SwitchVirtualPrivateCloudRequestBody"), exports);
|
97
103
|
__exportStar(require("./model/Tags"), exports);
|
98
104
|
__exportStar(require("./model/UninstallInstanceEipRequest"), exports);
|
99
105
|
__exportStar(require("./model/UninstallInstanceEipResponse"), exports);
|
package/v2/public-api.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"public-api.js","sourceRoot":"","sources":["../../../../services/cbh/v2/public-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAE5B,8DAA4C;AAC5C,yEAAuD;AACvD,4DAA0C;AAC1C,wEAAsD;AACtD,yEAAuD;AACvD
|
1
|
+
{"version":3,"file":"public-api.js","sourceRoot":"","sources":["../../../../services/cbh/v2/public-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAE5B,8DAA4C;AAC5C,yEAAuD;AACvD,4DAA0C;AAC1C,wEAAsD;AACtD,yEAAuD;AACvD,+DAA6C;AAC7C,yDAAuC;AACvC,oEAAkD;AAClD,uEAAqD;AACrD,oEAAkD;AAClD,qEAAmD;AACnD,+DAA6C;AAC7C,qEAAmD;AACnD,sEAAoD;AACpD,6DAA2C;AAC3C,gEAA8C;AAC9C,iEAA+C;AAC/C,gEAA8C;AAC9C,iEAA+C;AAC/C,oEAAkD;AAClD,qEAAmD;AACnD,yDAAuC;AACvC,+DAA6C;AAC7C,+DAA6C;AAC7C,gEAA8C;AAC9C,qEAAmD;AACnD,mEAAiD;AACjD,oDAAkC;AAClC,oEAAkD;AAClD,qEAAmD;AACnD,mEAAiD;AACjD,oEAAkD;AAClD,qEAAmD;AACnD,+DAA6C;AAC7C,gEAA8C;AAC9C,oEAAkD;AAClD,qEAAmD;AACnD,0DAAwC;AACxC,2DAAyC;AACzC,oEAAkD;AAClD,qEAAmD;AACnD,+DAA6C;AAC7C,gEAA8C;AAC9C,gDAA8B;AAC9B,4DAA0C;AAC1C,gEAA8C;AAC9C,oDAAkC;AAClC,mDAAiC;AACjC,+DAA6C;AAC7C,gEAA8C;AAC9C,iEAA+C;AAC/C,uEAAqD;AACrD,wEAAsD;AACtD,0EAAwD;AACxD,2EAAyD;AACzD,uEAAqD;AACrD,wEAAsD;AACtD,wDAAsC;AACtC,gEAA8C;AAC9C,iEAA+C;AAC/C,sDAAoC;AACpC,oDAAkC;AAClC,kEAAgD;AAChD,sEAAoD;AACpD,mEAAiD;AACjD,wDAAsC;AACtC,mEAAiD;AACjD,oEAAkD;AAClD,8DAA4C;AAC5C,+DAA6C;AAC7C,oEAAkD;AAClD,qEAAmD;AACnD,kEAAgD;AAChD,mEAAiD;AACjD,2DAAyC;AACzC,4DAA0C;AAC1C,2DAAyC;AACzC,4DAA0C;AAC1C,+DAA6C;AAC7C,gEAA8C;AAC9C,8DAA4C;AAC5C,+DAA6C;AAC7C,mEAAiD;AACjD,oEAAkD;AAClD,+EAA6D;AAC7D,+CAA6B;AAC7B,sEAAoD;AACpD,uEAAqD;AACrD,6EAA2D;AAC3D,8EAA4D;AAC5D,gEAA8C;AAC9C,iEAA+C;AAC/C,kEAAgD;AAChD,8CAA4B"}
|
@@ -1,60 +0,0 @@
|
|
1
|
-
import { NetworkInfoCreate } from './NetworkInfoCreate';
|
2
|
-
import { ResourceTag } from './ResourceTag';
|
3
|
-
export declare class CBHInstances {
|
4
|
-
specification?: string;
|
5
|
-
private 'instance_name'?;
|
6
|
-
password?: string;
|
7
|
-
region?: string;
|
8
|
-
private 'availability_zone'?;
|
9
|
-
private 'slave_availability_zone'?;
|
10
|
-
private 'charging_mode'?;
|
11
|
-
private 'period_type'?;
|
12
|
-
private 'period_num'?;
|
13
|
-
private 'is_auto_renew'?;
|
14
|
-
private 'is_auto_pay'?;
|
15
|
-
network?: NetworkInfoCreate;
|
16
|
-
private 'ipv6_enable'?;
|
17
|
-
private 'enterprise_project_id'?;
|
18
|
-
private 'attach_disk_size'?;
|
19
|
-
tags?: Array<ResourceTag>;
|
20
|
-
constructor(specification?: string, instanceName?: string, password?: string, region?: string, availabilityZone?: string, chargingMode?: number, network?: NetworkInfoCreate);
|
21
|
-
withSpecification(specification: string): CBHInstances;
|
22
|
-
withInstanceName(instanceName: string): CBHInstances;
|
23
|
-
set instanceName(instanceName: string | undefined);
|
24
|
-
get instanceName(): string | undefined;
|
25
|
-
withPassword(password: string): CBHInstances;
|
26
|
-
withRegion(region: string): CBHInstances;
|
27
|
-
withAvailabilityZone(availabilityZone: string): CBHInstances;
|
28
|
-
set availabilityZone(availabilityZone: string | undefined);
|
29
|
-
get availabilityZone(): string | undefined;
|
30
|
-
withSlaveAvailabilityZone(slaveAvailabilityZone: string): CBHInstances;
|
31
|
-
set slaveAvailabilityZone(slaveAvailabilityZone: string | undefined);
|
32
|
-
get slaveAvailabilityZone(): string | undefined;
|
33
|
-
withChargingMode(chargingMode: number): CBHInstances;
|
34
|
-
set chargingMode(chargingMode: number | undefined);
|
35
|
-
get chargingMode(): number | undefined;
|
36
|
-
withPeriodType(periodType: number): CBHInstances;
|
37
|
-
set periodType(periodType: number | undefined);
|
38
|
-
get periodType(): number | undefined;
|
39
|
-
withPeriodNum(periodNum: number): CBHInstances;
|
40
|
-
set periodNum(periodNum: number | undefined);
|
41
|
-
get periodNum(): number | undefined;
|
42
|
-
withIsAutoRenew(isAutoRenew: number): CBHInstances;
|
43
|
-
set isAutoRenew(isAutoRenew: number | undefined);
|
44
|
-
get isAutoRenew(): number | undefined;
|
45
|
-
withIsAutoPay(isAutoPay: number): CBHInstances;
|
46
|
-
set isAutoPay(isAutoPay: number | undefined);
|
47
|
-
get isAutoPay(): number | undefined;
|
48
|
-
withNetwork(network: NetworkInfoCreate): CBHInstances;
|
49
|
-
withIpv6Enable(ipv6Enable: boolean): CBHInstances;
|
50
|
-
set ipv6Enable(ipv6Enable: boolean | undefined);
|
51
|
-
get ipv6Enable(): boolean | undefined;
|
52
|
-
withEnterpriseProjectId(enterpriseProjectId: string): CBHInstances;
|
53
|
-
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
54
|
-
get enterpriseProjectId(): string | undefined;
|
55
|
-
withAttachDiskSize(attachDiskSize: number): CBHInstances;
|
56
|
-
set attachDiskSize(attachDiskSize: number | undefined);
|
57
|
-
get attachDiskSize(): number | undefined;
|
58
|
-
withTags(tags: Array<ResourceTag>): CBHInstances;
|
59
|
-
}
|
60
|
-
//# sourceMappingURL=CBHInstances.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"CBHInstances.d.ts","sourceRoot":"","sources":["../../../../../services/cbh/v2/model/CBHInstances.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,qBAAa,YAAY;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;IAC9B,OAAO,CAAC,eAAe,CAAC,CAAS;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,mBAAmB,CAAC,CAAS;IACrC,OAAO,CAAC,yBAAyB,CAAC,CAAS;IAC3C,OAAO,CAAC,eAAe,CAAC,CAAS;IACjC,OAAO,CAAC,aAAa,CAAC,CAAS;IAC/B,OAAO,CAAC,YAAY,CAAC,CAAS;IAC9B,OAAO,CAAC,eAAe,CAAC,CAAS;IACjC,OAAO,CAAC,aAAa,CAAC,CAAS;IACxB,OAAO,CAAC,EAAE,iBAAiB,CAAC;IACnC,OAAO,CAAC,aAAa,CAAC,CAAU;IAChC,OAAO,CAAC,uBAAuB,CAAC,CAAS;IACzC,OAAO,CAAC,kBAAkB,CAAC,CAAS;IAC7B,IAAI,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC;gBACd,aAAa,CAAC,EAAE,MAAM,EAAE,YAAY,C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