@alicloud/ecd20200930 4.11.9 → 4.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +15 -0
- package/dist/client.js +69 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAutoSnapshotPolicyRequest.d.ts +1 -0
- package/dist/models/CreateAutoSnapshotPolicyRequest.js +2 -0
- package/dist/models/CreateAutoSnapshotPolicyRequest.js.map +1 -1
- package/dist/models/CreateDesktopsRequest.d.ts +2 -0
- package/dist/models/CreateDesktopsRequest.js +4 -0
- package/dist/models/CreateDesktopsRequest.js.map +1 -1
- package/dist/models/CreateDesktopsShrinkRequest.d.ts +2 -0
- package/dist/models/CreateDesktopsShrinkRequest.js +4 -0
- package/dist/models/CreateDesktopsShrinkRequest.js.map +1 -1
- package/dist/models/CreateNetworkPackageRequest.d.ts +1 -0
- package/dist/models/CreateNetworkPackageRequest.js +2 -0
- package/dist/models/CreateNetworkPackageRequest.js.map +1 -1
- package/dist/models/DescribeAutoSnapshotPolicyResponseBody.d.ts +1 -0
- package/dist/models/DescribeAutoSnapshotPolicyResponseBody.js +2 -0
- package/dist/models/DescribeAutoSnapshotPolicyResponseBody.js.map +1 -1
- package/dist/models/DescribeDesktopsResponseBody.d.ts +1 -0
- package/dist/models/DescribeDesktopsResponseBody.js +2 -0
- package/dist/models/DescribeDesktopsResponseBody.js.map +1 -1
- package/dist/models/ModifyAutoSnapshotPolicyRequest.d.ts +1 -0
- package/dist/models/ModifyAutoSnapshotPolicyRequest.js +2 -0
- package/dist/models/ModifyAutoSnapshotPolicyRequest.js.map +1 -1
- package/dist/models/ModifySecurityGroupAttributeRequest.d.ts +111 -0
- package/dist/models/ModifySecurityGroupAttributeRequest.js +220 -0
- package/dist/models/ModifySecurityGroupAttributeRequest.js.map +1 -0
- package/dist/models/ModifySecurityGroupAttributeResponse.d.ts +19 -0
- package/dist/models/ModifySecurityGroupAttributeResponse.js +69 -0
- package/dist/models/ModifySecurityGroupAttributeResponse.js.map +1 -0
- package/dist/models/ModifySecurityGroupAttributeResponseBody.d.ts +14 -0
- package/dist/models/ModifySecurityGroupAttributeResponseBody.js +58 -0
- package/dist/models/ModifySecurityGroupAttributeResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +32 -18
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +82 -0
- package/src/models/CreateAutoSnapshotPolicyRequest.ts +3 -0
- package/src/models/CreateDesktopsRequest.ts +6 -0
- package/src/models/CreateDesktopsShrinkRequest.ts +6 -0
- package/src/models/CreateNetworkPackageRequest.ts +3 -0
- package/src/models/DescribeAutoSnapshotPolicyResponseBody.ts +3 -0
- package/src/models/DescribeDesktopsResponseBody.ts +3 -0
- package/src/models/ModifyAutoSnapshotPolicyRequest.ts +3 -0
- package/src/models/ModifySecurityGroupAttributeRequest.ts +250 -0
- package/src/models/ModifySecurityGroupAttributeResponse.ts +40 -0
- package/src/models/ModifySecurityGroupAttributeResponseBody.ts +27 -0
- package/src/models/model.ts +7 -0
|
@@ -606,6 +606,7 @@ export class CreateDesktopsRequest extends $dara.Model {
|
|
|
606
606
|
* true
|
|
607
607
|
*/
|
|
608
608
|
bundleModels?: CreateDesktopsRequestBundleModels[];
|
|
609
|
+
channelCookie?: string;
|
|
609
610
|
/**
|
|
610
611
|
* @remarks
|
|
611
612
|
* The billing method of the cloud computers.
|
|
@@ -831,6 +832,7 @@ export class CreateDesktopsRequest extends $dara.Model {
|
|
|
831
832
|
* sp-28mp6my0l6zow****
|
|
832
833
|
*/
|
|
833
834
|
snapshotPolicyId?: string;
|
|
835
|
+
subnetId?: string;
|
|
834
836
|
/**
|
|
835
837
|
* @remarks
|
|
836
838
|
* The tags that you want to add to the cloud desktop.
|
|
@@ -919,6 +921,7 @@ export class CreateDesktopsRequest extends $dara.Model {
|
|
|
919
921
|
autoRenew: 'AutoRenew',
|
|
920
922
|
bundleId: 'BundleId',
|
|
921
923
|
bundleModels: 'BundleModels',
|
|
924
|
+
channelCookie: 'ChannelCookie',
|
|
922
925
|
chargeType: 'ChargeType',
|
|
923
926
|
desktopAttachment: 'DesktopAttachment',
|
|
924
927
|
desktopMemberIp: 'DesktopMemberIp',
|
|
@@ -942,6 +945,7 @@ export class CreateDesktopsRequest extends $dara.Model {
|
|
|
942
945
|
resourceGroupId: 'ResourceGroupId',
|
|
943
946
|
savingPlanId: 'SavingPlanId',
|
|
944
947
|
snapshotPolicyId: 'SnapshotPolicyId',
|
|
948
|
+
subnetId: 'SubnetId',
|
|
945
949
|
tag: 'Tag',
|
|
946
950
|
timerGroupId: 'TimerGroupId',
|
|
947
951
|
userAssignMode: 'UserAssignMode',
|
|
@@ -961,6 +965,7 @@ export class CreateDesktopsRequest extends $dara.Model {
|
|
|
961
965
|
autoRenew: 'boolean',
|
|
962
966
|
bundleId: 'string',
|
|
963
967
|
bundleModels: { 'type': 'array', 'itemType': CreateDesktopsRequestBundleModels },
|
|
968
|
+
channelCookie: 'string',
|
|
964
969
|
chargeType: 'string',
|
|
965
970
|
desktopAttachment: CreateDesktopsRequestDesktopAttachment,
|
|
966
971
|
desktopMemberIp: 'string',
|
|
@@ -984,6 +989,7 @@ export class CreateDesktopsRequest extends $dara.Model {
|
|
|
984
989
|
resourceGroupId: 'string',
|
|
985
990
|
savingPlanId: 'string',
|
|
986
991
|
snapshotPolicyId: 'string',
|
|
992
|
+
subnetId: 'string',
|
|
987
993
|
tag: { 'type': 'array', 'itemType': CreateDesktopsRequestTag },
|
|
988
994
|
timerGroupId: 'string',
|
|
989
995
|
userAssignMode: 'string',
|
|
@@ -479,6 +479,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
479
479
|
* true
|
|
480
480
|
*/
|
|
481
481
|
bundleModels?: CreateDesktopsShrinkRequestBundleModels[];
|
|
482
|
+
channelCookie?: string;
|
|
482
483
|
/**
|
|
483
484
|
* @remarks
|
|
484
485
|
* The billing method of the cloud computers.
|
|
@@ -704,6 +705,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
704
705
|
* sp-28mp6my0l6zow****
|
|
705
706
|
*/
|
|
706
707
|
snapshotPolicyId?: string;
|
|
708
|
+
subnetId?: string;
|
|
707
709
|
/**
|
|
708
710
|
* @remarks
|
|
709
711
|
* The tags that you want to add to the cloud desktop.
|
|
@@ -792,6 +794,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
792
794
|
autoRenew: 'AutoRenew',
|
|
793
795
|
bundleId: 'BundleId',
|
|
794
796
|
bundleModels: 'BundleModels',
|
|
797
|
+
channelCookie: 'ChannelCookie',
|
|
795
798
|
chargeType: 'ChargeType',
|
|
796
799
|
desktopAttachmentShrink: 'DesktopAttachment',
|
|
797
800
|
desktopMemberIp: 'DesktopMemberIp',
|
|
@@ -815,6 +818,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
815
818
|
resourceGroupId: 'ResourceGroupId',
|
|
816
819
|
savingPlanId: 'SavingPlanId',
|
|
817
820
|
snapshotPolicyId: 'SnapshotPolicyId',
|
|
821
|
+
subnetId: 'SubnetId',
|
|
818
822
|
tag: 'Tag',
|
|
819
823
|
timerGroupId: 'TimerGroupId',
|
|
820
824
|
userAssignMode: 'UserAssignMode',
|
|
@@ -834,6 +838,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
834
838
|
autoRenew: 'boolean',
|
|
835
839
|
bundleId: 'string',
|
|
836
840
|
bundleModels: { 'type': 'array', 'itemType': CreateDesktopsShrinkRequestBundleModels },
|
|
841
|
+
channelCookie: 'string',
|
|
837
842
|
chargeType: 'string',
|
|
838
843
|
desktopAttachmentShrink: 'string',
|
|
839
844
|
desktopMemberIp: 'string',
|
|
@@ -857,6 +862,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
857
862
|
resourceGroupId: 'string',
|
|
858
863
|
savingPlanId: 'string',
|
|
859
864
|
snapshotPolicyId: 'string',
|
|
865
|
+
subnetId: 'string',
|
|
860
866
|
tag: { 'type': 'array', 'itemType': CreateDesktopsShrinkRequestTag },
|
|
861
867
|
timerGroupId: 'string',
|
|
862
868
|
userAssignMode: 'string',
|
|
@@ -73,6 +73,7 @@ export class CreateNetworkPackageRequest extends $dara.Model {
|
|
|
73
73
|
* 10
|
|
74
74
|
*/
|
|
75
75
|
bandwidth?: number;
|
|
76
|
+
channelCookie?: string;
|
|
76
77
|
/**
|
|
77
78
|
* @remarks
|
|
78
79
|
* The charge type of the premium bandwidth plan.
|
|
@@ -183,6 +184,7 @@ export class CreateNetworkPackageRequest extends $dara.Model {
|
|
|
183
184
|
autoPay: 'AutoPay',
|
|
184
185
|
autoRenew: 'AutoRenew',
|
|
185
186
|
bandwidth: 'Bandwidth',
|
|
187
|
+
channelCookie: 'ChannelCookie',
|
|
186
188
|
internetChargeType: 'InternetChargeType',
|
|
187
189
|
officeSiteId: 'OfficeSiteId',
|
|
188
190
|
payType: 'PayType',
|
|
@@ -199,6 +201,7 @@ export class CreateNetworkPackageRequest extends $dara.Model {
|
|
|
199
201
|
autoPay: 'boolean',
|
|
200
202
|
autoRenew: 'boolean',
|
|
201
203
|
bandwidth: 'number',
|
|
204
|
+
channelCookie: 'string',
|
|
202
205
|
internetChargeType: 'string',
|
|
203
206
|
officeSiteId: 'string',
|
|
204
207
|
payType: 'string',
|
|
@@ -27,6 +27,7 @@ export class DescribeAutoSnapshotPolicyResponseBodyAutoSnapshotPolicies extends
|
|
|
27
27
|
* 5
|
|
28
28
|
*/
|
|
29
29
|
desktopNum?: number;
|
|
30
|
+
diskType?: string;
|
|
30
31
|
/**
|
|
31
32
|
* @remarks
|
|
32
33
|
* The ID of the automatic snapshot policy.
|
|
@@ -100,6 +101,7 @@ export class DescribeAutoSnapshotPolicyResponseBodyAutoSnapshotPolicies extends
|
|
|
100
101
|
creationTime: 'CreationTime',
|
|
101
102
|
cronExpression: 'CronExpression',
|
|
102
103
|
desktopNum: 'DesktopNum',
|
|
104
|
+
diskType: 'DiskType',
|
|
103
105
|
policyId: 'PolicyId',
|
|
104
106
|
policyName: 'PolicyName',
|
|
105
107
|
regionId: 'RegionId',
|
|
@@ -114,6 +116,7 @@ export class DescribeAutoSnapshotPolicyResponseBodyAutoSnapshotPolicies extends
|
|
|
114
116
|
creationTime: 'string',
|
|
115
117
|
cronExpression: 'string',
|
|
116
118
|
desktopNum: 'number',
|
|
119
|
+
diskType: 'string',
|
|
117
120
|
policyId: 'string',
|
|
118
121
|
policyName: 'string',
|
|
119
122
|
regionId: 'string',
|
|
@@ -860,6 +860,7 @@ export class DescribeDesktopsResponseBodyDesktops extends $dara.Model {
|
|
|
860
860
|
* The information about the enterprise resource groups.
|
|
861
861
|
*/
|
|
862
862
|
resourceGroups?: DescribeDesktopsResponseBodyDesktopsResourceGroups[];
|
|
863
|
+
serialNumber?: string;
|
|
863
864
|
/**
|
|
864
865
|
* @remarks
|
|
865
866
|
* The type of the session.
|
|
@@ -1030,6 +1031,7 @@ export class DescribeDesktopsResponseBodyDesktops extends $dara.Model {
|
|
|
1030
1031
|
progress: 'Progress',
|
|
1031
1032
|
protocolType: 'ProtocolType',
|
|
1032
1033
|
resourceGroups: 'ResourceGroups',
|
|
1034
|
+
serialNumber: 'SerialNumber',
|
|
1033
1035
|
sessionType: 'SessionType',
|
|
1034
1036
|
sessions: 'Sessions',
|
|
1035
1037
|
snapshotPolicyId: 'SnapshotPolicyId',
|
|
@@ -1100,6 +1102,7 @@ export class DescribeDesktopsResponseBodyDesktops extends $dara.Model {
|
|
|
1100
1102
|
progress: 'string',
|
|
1101
1103
|
protocolType: 'string',
|
|
1102
1104
|
resourceGroups: { 'type': 'array', 'itemType': DescribeDesktopsResponseBodyDesktopsResourceGroups },
|
|
1105
|
+
serialNumber: 'string',
|
|
1103
1106
|
sessionType: 'string',
|
|
1104
1107
|
sessions: { 'type': 'array', 'itemType': DescribeDesktopsResponseBodyDesktopsSessions },
|
|
1105
1108
|
snapshotPolicyId: 'string',
|
|
@@ -11,6 +11,7 @@ export class ModifyAutoSnapshotPolicyRequest extends $dara.Model {
|
|
|
11
11
|
* 0 20 16 ? * 1,2,3,4,5,6,7
|
|
12
12
|
*/
|
|
13
13
|
cronExpression?: string;
|
|
14
|
+
diskType?: string;
|
|
14
15
|
/**
|
|
15
16
|
* @remarks
|
|
16
17
|
* The ID of the automatic snapshot policy.
|
|
@@ -50,6 +51,7 @@ export class ModifyAutoSnapshotPolicyRequest extends $dara.Model {
|
|
|
50
51
|
static names(): { [key: string]: string } {
|
|
51
52
|
return {
|
|
52
53
|
cronExpression: 'CronExpression',
|
|
54
|
+
diskType: 'DiskType',
|
|
53
55
|
policyId: 'PolicyId',
|
|
54
56
|
policyName: 'PolicyName',
|
|
55
57
|
regionId: 'RegionId',
|
|
@@ -60,6 +62,7 @@ export class ModifyAutoSnapshotPolicyRequest extends $dara.Model {
|
|
|
60
62
|
static types(): { [key: string]: any } {
|
|
61
63
|
return {
|
|
62
64
|
cronExpression: 'string',
|
|
65
|
+
diskType: 'string',
|
|
63
66
|
policyId: 'string',
|
|
64
67
|
policyName: 'string',
|
|
65
68
|
regionId: 'string',
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifySecurityGroupAttributeRequestAuthorizeEgress extends $dara.Model {
|
|
6
|
+
description?: string;
|
|
7
|
+
destCidrIp?: string;
|
|
8
|
+
ipProtocol?: string;
|
|
9
|
+
nicType?: string;
|
|
10
|
+
policy?: string;
|
|
11
|
+
portRange?: string;
|
|
12
|
+
priority?: string;
|
|
13
|
+
sourceCidrIp?: string;
|
|
14
|
+
sourcePortRange?: string;
|
|
15
|
+
static names(): { [key: string]: string } {
|
|
16
|
+
return {
|
|
17
|
+
description: 'Description',
|
|
18
|
+
destCidrIp: 'DestCidrIp',
|
|
19
|
+
ipProtocol: 'IpProtocol',
|
|
20
|
+
nicType: 'NicType',
|
|
21
|
+
policy: 'Policy',
|
|
22
|
+
portRange: 'PortRange',
|
|
23
|
+
priority: 'Priority',
|
|
24
|
+
sourceCidrIp: 'SourceCidrIp',
|
|
25
|
+
sourcePortRange: 'SourcePortRange',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
description: 'string',
|
|
32
|
+
destCidrIp: 'string',
|
|
33
|
+
ipProtocol: 'string',
|
|
34
|
+
nicType: 'string',
|
|
35
|
+
policy: 'string',
|
|
36
|
+
portRange: 'string',
|
|
37
|
+
priority: 'string',
|
|
38
|
+
sourceCidrIp: 'string',
|
|
39
|
+
sourcePortRange: 'string',
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
validate() {
|
|
44
|
+
super.validate();
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
constructor(map?: { [key: string]: any }) {
|
|
48
|
+
super(map);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export class ModifySecurityGroupAttributeRequestAuthorizeIngress extends $dara.Model {
|
|
53
|
+
description?: string;
|
|
54
|
+
destCidrIp?: string;
|
|
55
|
+
ipProtocol?: string;
|
|
56
|
+
nicType?: string;
|
|
57
|
+
policy?: string;
|
|
58
|
+
portRange?: string;
|
|
59
|
+
priority?: string;
|
|
60
|
+
sourceCidrIp?: string;
|
|
61
|
+
sourcePortRange?: string;
|
|
62
|
+
static names(): { [key: string]: string } {
|
|
63
|
+
return {
|
|
64
|
+
description: 'Description',
|
|
65
|
+
destCidrIp: 'DestCidrIp',
|
|
66
|
+
ipProtocol: 'IpProtocol',
|
|
67
|
+
nicType: 'NicType',
|
|
68
|
+
policy: 'Policy',
|
|
69
|
+
portRange: 'PortRange',
|
|
70
|
+
priority: 'Priority',
|
|
71
|
+
sourceCidrIp: 'SourceCidrIp',
|
|
72
|
+
sourcePortRange: 'SourcePortRange',
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
static types(): { [key: string]: any } {
|
|
77
|
+
return {
|
|
78
|
+
description: 'string',
|
|
79
|
+
destCidrIp: 'string',
|
|
80
|
+
ipProtocol: 'string',
|
|
81
|
+
nicType: 'string',
|
|
82
|
+
policy: 'string',
|
|
83
|
+
portRange: 'string',
|
|
84
|
+
priority: 'string',
|
|
85
|
+
sourceCidrIp: 'string',
|
|
86
|
+
sourcePortRange: 'string',
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
validate() {
|
|
91
|
+
super.validate();
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
constructor(map?: { [key: string]: any }) {
|
|
95
|
+
super(map);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export class ModifySecurityGroupAttributeRequestRevokeEgress extends $dara.Model {
|
|
100
|
+
description?: string;
|
|
101
|
+
destCidrIp?: string;
|
|
102
|
+
ipProtocol?: string;
|
|
103
|
+
nicType?: string;
|
|
104
|
+
policy?: string;
|
|
105
|
+
portRange?: string;
|
|
106
|
+
priority?: string;
|
|
107
|
+
sourceCidrIp?: string;
|
|
108
|
+
sourcePortRange?: string;
|
|
109
|
+
static names(): { [key: string]: string } {
|
|
110
|
+
return {
|
|
111
|
+
description: 'Description',
|
|
112
|
+
destCidrIp: 'DestCidrIp',
|
|
113
|
+
ipProtocol: 'IpProtocol',
|
|
114
|
+
nicType: 'NicType',
|
|
115
|
+
policy: 'Policy',
|
|
116
|
+
portRange: 'PortRange',
|
|
117
|
+
priority: 'Priority',
|
|
118
|
+
sourceCidrIp: 'SourceCidrIp',
|
|
119
|
+
sourcePortRange: 'SourcePortRange',
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
static types(): { [key: string]: any } {
|
|
124
|
+
return {
|
|
125
|
+
description: 'string',
|
|
126
|
+
destCidrIp: 'string',
|
|
127
|
+
ipProtocol: 'string',
|
|
128
|
+
nicType: 'string',
|
|
129
|
+
policy: 'string',
|
|
130
|
+
portRange: 'string',
|
|
131
|
+
priority: 'string',
|
|
132
|
+
sourceCidrIp: 'string',
|
|
133
|
+
sourcePortRange: 'string',
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
validate() {
|
|
138
|
+
super.validate();
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
constructor(map?: { [key: string]: any }) {
|
|
142
|
+
super(map);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export class ModifySecurityGroupAttributeRequestRevokeIngress extends $dara.Model {
|
|
147
|
+
description?: string;
|
|
148
|
+
destCidrIp?: string;
|
|
149
|
+
ipProtocol?: string;
|
|
150
|
+
nicType?: string;
|
|
151
|
+
policy?: string;
|
|
152
|
+
portRange?: string;
|
|
153
|
+
priority?: string;
|
|
154
|
+
sourceCidrIp?: string;
|
|
155
|
+
sourcePortRange?: string;
|
|
156
|
+
static names(): { [key: string]: string } {
|
|
157
|
+
return {
|
|
158
|
+
description: 'Description',
|
|
159
|
+
destCidrIp: 'DestCidrIp',
|
|
160
|
+
ipProtocol: 'IpProtocol',
|
|
161
|
+
nicType: 'NicType',
|
|
162
|
+
policy: 'Policy',
|
|
163
|
+
portRange: 'PortRange',
|
|
164
|
+
priority: 'Priority',
|
|
165
|
+
sourceCidrIp: 'SourceCidrIp',
|
|
166
|
+
sourcePortRange: 'SourcePortRange',
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
static types(): { [key: string]: any } {
|
|
171
|
+
return {
|
|
172
|
+
description: 'string',
|
|
173
|
+
destCidrIp: 'string',
|
|
174
|
+
ipProtocol: 'string',
|
|
175
|
+
nicType: 'string',
|
|
176
|
+
policy: 'string',
|
|
177
|
+
portRange: 'string',
|
|
178
|
+
priority: 'string',
|
|
179
|
+
sourceCidrIp: 'string',
|
|
180
|
+
sourcePortRange: 'string',
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
validate() {
|
|
185
|
+
super.validate();
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
constructor(map?: { [key: string]: any }) {
|
|
189
|
+
super(map);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
export class ModifySecurityGroupAttributeRequest extends $dara.Model {
|
|
194
|
+
authorizeEgress?: ModifySecurityGroupAttributeRequestAuthorizeEgress[];
|
|
195
|
+
authorizeIngress?: ModifySecurityGroupAttributeRequestAuthorizeIngress[];
|
|
196
|
+
/**
|
|
197
|
+
* @remarks
|
|
198
|
+
* This parameter is required.
|
|
199
|
+
*/
|
|
200
|
+
officeSiteId?: string;
|
|
201
|
+
/**
|
|
202
|
+
* @remarks
|
|
203
|
+
* This parameter is required.
|
|
204
|
+
*/
|
|
205
|
+
regionId?: string;
|
|
206
|
+
revokeEgress?: ModifySecurityGroupAttributeRequestRevokeEgress[];
|
|
207
|
+
revokeIngress?: ModifySecurityGroupAttributeRequestRevokeIngress[];
|
|
208
|
+
static names(): { [key: string]: string } {
|
|
209
|
+
return {
|
|
210
|
+
authorizeEgress: 'AuthorizeEgress',
|
|
211
|
+
authorizeIngress: 'AuthorizeIngress',
|
|
212
|
+
officeSiteId: 'OfficeSiteId',
|
|
213
|
+
regionId: 'RegionId',
|
|
214
|
+
revokeEgress: 'RevokeEgress',
|
|
215
|
+
revokeIngress: 'RevokeIngress',
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
static types(): { [key: string]: any } {
|
|
220
|
+
return {
|
|
221
|
+
authorizeEgress: { 'type': 'array', 'itemType': ModifySecurityGroupAttributeRequestAuthorizeEgress },
|
|
222
|
+
authorizeIngress: { 'type': 'array', 'itemType': ModifySecurityGroupAttributeRequestAuthorizeIngress },
|
|
223
|
+
officeSiteId: 'string',
|
|
224
|
+
regionId: 'string',
|
|
225
|
+
revokeEgress: { 'type': 'array', 'itemType': ModifySecurityGroupAttributeRequestRevokeEgress },
|
|
226
|
+
revokeIngress: { 'type': 'array', 'itemType': ModifySecurityGroupAttributeRequestRevokeIngress },
|
|
227
|
+
};
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
validate() {
|
|
231
|
+
if(Array.isArray(this.authorizeEgress)) {
|
|
232
|
+
$dara.Model.validateArray(this.authorizeEgress);
|
|
233
|
+
}
|
|
234
|
+
if(Array.isArray(this.authorizeIngress)) {
|
|
235
|
+
$dara.Model.validateArray(this.authorizeIngress);
|
|
236
|
+
}
|
|
237
|
+
if(Array.isArray(this.revokeEgress)) {
|
|
238
|
+
$dara.Model.validateArray(this.revokeEgress);
|
|
239
|
+
}
|
|
240
|
+
if(Array.isArray(this.revokeIngress)) {
|
|
241
|
+
$dara.Model.validateArray(this.revokeIngress);
|
|
242
|
+
}
|
|
243
|
+
super.validate();
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
constructor(map?: { [key: string]: any }) {
|
|
247
|
+
super(map);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ModifySecurityGroupAttributeResponseBody } from "./ModifySecurityGroupAttributeResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ModifySecurityGroupAttributeResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ModifySecurityGroupAttributeResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: ModifySecurityGroupAttributeResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifySecurityGroupAttributeResponseBody extends $dara.Model {
|
|
6
|
+
requestId?: string;
|
|
7
|
+
static names(): { [key: string]: string } {
|
|
8
|
+
return {
|
|
9
|
+
requestId: 'RequestId',
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
static types(): { [key: string]: any } {
|
|
14
|
+
return {
|
|
15
|
+
requestId: 'string',
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
validate() {
|
|
20
|
+
super.validate();
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
constructor(map?: { [key: string]: any }) {
|
|
24
|
+
super(map);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -239,6 +239,10 @@ export { ModifyPolicyGroupRequestRevokeAccessPolicyRule } from './ModifyPolicyGr
|
|
|
239
239
|
export { ModifyPolicyGroupRequestRevokeSecurityPolicyRule } from './ModifyPolicyGroupRequest';
|
|
240
240
|
export { ModifyPolicyGroupRequestUsbSupplyRedirectRule } from './ModifyPolicyGroupRequest';
|
|
241
241
|
export { ModifyResourceCenterPolicyResponseBodyModifyResults } from './ModifyResourceCenterPolicyResponseBody';
|
|
242
|
+
export { ModifySecurityGroupAttributeRequestAuthorizeEgress } from './ModifySecurityGroupAttributeRequest';
|
|
243
|
+
export { ModifySecurityGroupAttributeRequestAuthorizeIngress } from './ModifySecurityGroupAttributeRequest';
|
|
244
|
+
export { ModifySecurityGroupAttributeRequestRevokeEgress } from './ModifySecurityGroupAttributeRequest';
|
|
245
|
+
export { ModifySecurityGroupAttributeRequestRevokeIngress } from './ModifySecurityGroupAttributeRequest';
|
|
242
246
|
export { ModifyTemplateRequestDataDiskList } from './ModifyTemplateRequest';
|
|
243
247
|
export { ModifyTemplateRequestRegionConfigList } from './ModifyTemplateRequest';
|
|
244
248
|
export { ModifyTemplateRequestResourceTagList } from './ModifyTemplateRequest';
|
|
@@ -923,6 +927,9 @@ export { ModifyPolicyGroupResponse } from './ModifyPolicyGroupResponse';
|
|
|
923
927
|
export { ModifyResourceCenterPolicyRequest } from './ModifyResourceCenterPolicyRequest';
|
|
924
928
|
export { ModifyResourceCenterPolicyResponseBody } from './ModifyResourceCenterPolicyResponseBody';
|
|
925
929
|
export { ModifyResourceCenterPolicyResponse } from './ModifyResourceCenterPolicyResponse';
|
|
930
|
+
export { ModifySecurityGroupAttributeRequest } from './ModifySecurityGroupAttributeRequest';
|
|
931
|
+
export { ModifySecurityGroupAttributeResponseBody } from './ModifySecurityGroupAttributeResponseBody';
|
|
932
|
+
export { ModifySecurityGroupAttributeResponse } from './ModifySecurityGroupAttributeResponse';
|
|
926
933
|
export { ModifyTemplateRequest } from './ModifyTemplateRequest';
|
|
927
934
|
export { ModifyTemplateResponseBody } from './ModifyTemplateResponseBody';
|
|
928
935
|
export { ModifyTemplateResponse } from './ModifyTemplateResponse';
|