@alicloud/polardb20170801 5.11.0 → 5.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.
Files changed (161) hide show
  1. package/dist/client.d.ts +165 -0
  2. package/dist/client.js +555 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AttachApplicationPolarFsrequest.d.ts +39 -0
  5. package/dist/models/AttachApplicationPolarFsrequest.js +64 -0
  6. package/dist/models/AttachApplicationPolarFsrequest.js.map +1 -0
  7. package/dist/models/AttachApplicationPolarFsresponse.d.ts +19 -0
  8. package/dist/models/AttachApplicationPolarFsresponse.js +69 -0
  9. package/dist/models/AttachApplicationPolarFsresponse.js.map +1 -0
  10. package/dist/models/AttachApplicationPolarFsresponseBody.d.ts +31 -0
  11. package/dist/models/AttachApplicationPolarFsresponseBody.js +62 -0
  12. package/dist/models/AttachApplicationPolarFsresponseBody.js.map +1 -0
  13. package/dist/models/CreateApplicationEndpointAddressRequest.d.ts +37 -0
  14. package/dist/models/CreateApplicationEndpointAddressRequest.js +62 -0
  15. package/dist/models/CreateApplicationEndpointAddressRequest.js.map +1 -0
  16. package/dist/models/CreateApplicationEndpointAddressResponse.d.ts +19 -0
  17. package/dist/models/CreateApplicationEndpointAddressResponse.js +69 -0
  18. package/dist/models/CreateApplicationEndpointAddressResponse.js.map +1 -0
  19. package/dist/models/CreateApplicationEndpointAddressResponseBody.d.ts +28 -0
  20. package/dist/models/CreateApplicationEndpointAddressResponseBody.js +62 -0
  21. package/dist/models/CreateApplicationEndpointAddressResponseBody.js.map +1 -0
  22. package/dist/models/CreateApplicationRequest.d.ts +167 -0
  23. package/dist/models/CreateApplicationRequest.js +150 -0
  24. package/dist/models/CreateApplicationRequest.js.map +1 -0
  25. package/dist/models/CreateApplicationResponse.d.ts +19 -0
  26. package/dist/models/CreateApplicationResponse.js +69 -0
  27. package/dist/models/CreateApplicationResponse.js.map +1 -0
  28. package/dist/models/CreateApplicationResponseBody.d.ts +61 -0
  29. package/dist/models/CreateApplicationResponseBody.js +92 -0
  30. package/dist/models/CreateApplicationResponseBody.js.map +1 -0
  31. package/dist/models/CreateApplicationShrinkRequest.d.ts +91 -0
  32. package/dist/models/CreateApplicationShrinkRequest.js +88 -0
  33. package/dist/models/CreateApplicationShrinkRequest.js.map +1 -0
  34. package/dist/models/CreateDbclusterRequest.d.ts +0 -2
  35. package/dist/models/CreateDbclusterRequest.js +0 -2
  36. package/dist/models/CreateDbclusterRequest.js.map +1 -1
  37. package/dist/models/DeleteAidbclusterRequest.d.ts +21 -0
  38. package/dist/models/DeleteAidbclusterRequest.js +58 -0
  39. package/dist/models/DeleteAidbclusterRequest.js.map +1 -0
  40. package/dist/models/DeleteAidbclusterResponse.d.ts +19 -0
  41. package/dist/models/DeleteAidbclusterResponse.js +69 -0
  42. package/dist/models/DeleteAidbclusterResponse.js.map +1 -0
  43. package/dist/models/DeleteAidbclusterResponseBody.d.ts +26 -0
  44. package/dist/models/DeleteAidbclusterResponseBody.js +60 -0
  45. package/dist/models/DeleteAidbclusterResponseBody.js.map +1 -0
  46. package/dist/models/DeleteApplicationEndpointAddressRequest.d.ts +37 -0
  47. package/dist/models/DeleteApplicationEndpointAddressRequest.js +62 -0
  48. package/dist/models/DeleteApplicationEndpointAddressRequest.js.map +1 -0
  49. package/dist/models/DeleteApplicationEndpointAddressResponse.d.ts +19 -0
  50. package/dist/models/DeleteApplicationEndpointAddressResponse.js +69 -0
  51. package/dist/models/DeleteApplicationEndpointAddressResponse.js.map +1 -0
  52. package/dist/models/DeleteApplicationEndpointAddressResponseBody.d.ts +28 -0
  53. package/dist/models/DeleteApplicationEndpointAddressResponseBody.js +62 -0
  54. package/dist/models/DeleteApplicationEndpointAddressResponseBody.js.map +1 -0
  55. package/dist/models/DescribeAidbclusterAttributeResponseBody.d.ts +1 -0
  56. package/dist/models/DescribeAidbclusterAttributeResponseBody.js +2 -0
  57. package/dist/models/DescribeAidbclusterAttributeResponseBody.js.map +1 -1
  58. package/dist/models/DescribeApplicationAttributeRequest.d.ts +21 -0
  59. package/dist/models/DescribeApplicationAttributeRequest.js +58 -0
  60. package/dist/models/DescribeApplicationAttributeRequest.js.map +1 -0
  61. package/dist/models/DescribeApplicationAttributeResponse.d.ts +19 -0
  62. package/dist/models/DescribeApplicationAttributeResponse.js +69 -0
  63. package/dist/models/DescribeApplicationAttributeResponse.js.map +1 -0
  64. package/dist/models/DescribeApplicationAttributeResponseBody.d.ts +377 -0
  65. package/dist/models/DescribeApplicationAttributeResponseBody.js +326 -0
  66. package/dist/models/DescribeApplicationAttributeResponseBody.js.map +1 -0
  67. package/dist/models/DescribeApplicationParametersRequest.d.ts +22 -0
  68. package/dist/models/DescribeApplicationParametersRequest.js +63 -0
  69. package/dist/models/DescribeApplicationParametersRequest.js.map +1 -0
  70. package/dist/models/DescribeApplicationParametersResponse.d.ts +19 -0
  71. package/dist/models/DescribeApplicationParametersResponse.js +69 -0
  72. package/dist/models/DescribeApplicationParametersResponse.js.map +1 -0
  73. package/dist/models/DescribeApplicationParametersResponseBody.d.ts +196 -0
  74. package/dist/models/DescribeApplicationParametersResponseBody.js +230 -0
  75. package/dist/models/DescribeApplicationParametersResponseBody.js.map +1 -0
  76. package/dist/models/DescribeApplicationParametersShrinkRequest.d.ts +22 -0
  77. package/dist/models/DescribeApplicationParametersShrinkRequest.js +60 -0
  78. package/dist/models/DescribeApplicationParametersShrinkRequest.js.map +1 -0
  79. package/dist/models/DescribeApplicationsRequest.d.ts +41 -0
  80. package/dist/models/DescribeApplicationsRequest.js +66 -0
  81. package/dist/models/DescribeApplicationsRequest.js.map +1 -0
  82. package/dist/models/DescribeApplicationsResponse.d.ts +19 -0
  83. package/dist/models/DescribeApplicationsResponse.js +69 -0
  84. package/dist/models/DescribeApplicationsResponse.js.map +1 -0
  85. package/dist/models/DescribeApplicationsResponseBody.d.ts +160 -0
  86. package/dist/models/DescribeApplicationsResponseBody.js +182 -0
  87. package/dist/models/DescribeApplicationsResponseBody.js.map +1 -0
  88. package/dist/models/ModifyApplicationDescriptionRequest.d.ts +29 -0
  89. package/dist/models/ModifyApplicationDescriptionRequest.js +60 -0
  90. package/dist/models/ModifyApplicationDescriptionRequest.js.map +1 -0
  91. package/dist/models/ModifyApplicationDescriptionResponse.d.ts +19 -0
  92. package/dist/models/ModifyApplicationDescriptionResponse.js +69 -0
  93. package/dist/models/ModifyApplicationDescriptionResponse.js.map +1 -0
  94. package/dist/models/ModifyApplicationDescriptionResponseBody.d.ts +23 -0
  95. package/dist/models/ModifyApplicationDescriptionResponseBody.js +60 -0
  96. package/dist/models/ModifyApplicationDescriptionResponseBody.js.map +1 -0
  97. package/dist/models/ModifyApplicationParameterRequest.d.ts +54 -0
  98. package/dist/models/ModifyApplicationParameterRequest.js +88 -0
  99. package/dist/models/ModifyApplicationParameterRequest.js.map +1 -0
  100. package/dist/models/ModifyApplicationParameterResponse.d.ts +19 -0
  101. package/dist/models/ModifyApplicationParameterResponse.js +69 -0
  102. package/dist/models/ModifyApplicationParameterResponse.js.map +1 -0
  103. package/dist/models/ModifyApplicationParameterResponseBody.d.ts +23 -0
  104. package/dist/models/ModifyApplicationParameterResponseBody.js +60 -0
  105. package/dist/models/ModifyApplicationParameterResponseBody.js.map +1 -0
  106. package/dist/models/ModifyApplicationParameterShrinkRequest.d.ts +32 -0
  107. package/dist/models/ModifyApplicationParameterShrinkRequest.js +64 -0
  108. package/dist/models/ModifyApplicationParameterShrinkRequest.js.map +1 -0
  109. package/dist/models/ModifyApplicationWhitelistRequest.d.ts +46 -0
  110. package/dist/models/ModifyApplicationWhitelistRequest.js +68 -0
  111. package/dist/models/ModifyApplicationWhitelistRequest.js.map +1 -0
  112. package/dist/models/ModifyApplicationWhitelistResponse.d.ts +19 -0
  113. package/dist/models/ModifyApplicationWhitelistResponse.js +69 -0
  114. package/dist/models/ModifyApplicationWhitelistResponse.js.map +1 -0
  115. package/dist/models/ModifyApplicationWhitelistResponseBody.d.ts +28 -0
  116. package/dist/models/ModifyApplicationWhitelistResponseBody.js +62 -0
  117. package/dist/models/ModifyApplicationWhitelistResponseBody.js.map +1 -0
  118. package/dist/models/model.d.ts +57 -0
  119. package/dist/models/model.js +134 -18
  120. package/dist/models/model.js.map +1 -1
  121. package/package.json +1 -1
  122. package/src/client.ts +628 -0
  123. package/src/models/AttachApplicationPolarFsrequest.ts +58 -0
  124. package/src/models/AttachApplicationPolarFsresponse.ts +40 -0
  125. package/src/models/AttachApplicationPolarFsresponseBody.ts +48 -0
  126. package/src/models/CreateApplicationEndpointAddressRequest.ts +54 -0
  127. package/src/models/CreateApplicationEndpointAddressResponse.ts +40 -0
  128. package/src/models/CreateApplicationEndpointAddressResponseBody.ts +45 -0
  129. package/src/models/CreateApplicationRequest.ts +252 -0
  130. package/src/models/CreateApplicationResponse.ts +40 -0
  131. package/src/models/CreateApplicationResponseBody.ts +99 -0
  132. package/src/models/CreateApplicationShrinkRequest.ts +134 -0
  133. package/src/models/CreateDbclusterRequest.ts +0 -2
  134. package/src/models/DeleteAidbclusterRequest.ts +34 -0
  135. package/src/models/DeleteAidbclusterResponse.ts +40 -0
  136. package/src/models/DeleteAidbclusterResponseBody.ts +41 -0
  137. package/src/models/DeleteApplicationEndpointAddressRequest.ts +54 -0
  138. package/src/models/DeleteApplicationEndpointAddressResponse.ts +40 -0
  139. package/src/models/DeleteApplicationEndpointAddressResponseBody.ts +45 -0
  140. package/src/models/DescribeAidbclusterAttributeResponseBody.ts +3 -0
  141. package/src/models/DescribeApplicationAttributeRequest.ts +34 -0
  142. package/src/models/DescribeApplicationAttributeResponse.ts +40 -0
  143. package/src/models/DescribeApplicationAttributeResponseBody.ts +595 -0
  144. package/src/models/DescribeApplicationParametersRequest.ts +40 -0
  145. package/src/models/DescribeApplicationParametersResponse.ts +40 -0
  146. package/src/models/DescribeApplicationParametersResponseBody.ts +327 -0
  147. package/src/models/DescribeApplicationParametersShrinkRequest.ts +37 -0
  148. package/src/models/DescribeApplicationsRequest.ts +62 -0
  149. package/src/models/DescribeApplicationsResponse.ts +40 -0
  150. package/src/models/DescribeApplicationsResponseBody.ts +261 -0
  151. package/src/models/ModifyApplicationDescriptionRequest.ts +44 -0
  152. package/src/models/ModifyApplicationDescriptionResponse.ts +40 -0
  153. package/src/models/ModifyApplicationDescriptionResponseBody.ts +38 -0
  154. package/src/models/ModifyApplicationParameterRequest.ts +88 -0
  155. package/src/models/ModifyApplicationParameterResponse.ts +40 -0
  156. package/src/models/ModifyApplicationParameterResponseBody.ts +38 -0
  157. package/src/models/ModifyApplicationParameterShrinkRequest.ts +51 -0
  158. package/src/models/ModifyApplicationWhitelistRequest.ts +69 -0
  159. package/src/models/ModifyApplicationWhitelistResponse.ts +40 -0
  160. package/src/models/ModifyApplicationWhitelistResponseBody.ts +45 -0
  161. package/src/models/model.ts +57 -0
@@ -0,0 +1,167 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ /**
3
+ */
4
+ export declare class CreateApplicationRequestComponents extends $dara.Model {
5
+ /**
6
+ * @example
7
+ * polar.app.g2.medium
8
+ */
9
+ componentClass?: string;
10
+ /**
11
+ * @example
12
+ * 1
13
+ */
14
+ componentMaxReplica?: number;
15
+ /**
16
+ * @example
17
+ * 1
18
+ */
19
+ componentReplica?: number;
20
+ /**
21
+ * @example
22
+ * gateway
23
+ */
24
+ componentType?: string;
25
+ /**
26
+ * @example
27
+ * sg-********************
28
+ */
29
+ securityGroups?: string;
30
+ /**
31
+ * @example
32
+ * default
33
+ */
34
+ securityIPArrayName?: string;
35
+ /**
36
+ * @example
37
+ * 127.0.0.1
38
+ */
39
+ securityIPList?: string;
40
+ /**
41
+ * @example
42
+ * ipv4
43
+ */
44
+ securityIPType?: string;
45
+ static names(): {
46
+ [key: string]: string;
47
+ };
48
+ static types(): {
49
+ [key: string]: any;
50
+ };
51
+ validate(): void;
52
+ constructor(map?: {
53
+ [key: string]: any;
54
+ });
55
+ }
56
+ export declare class CreateApplicationRequestEndpoints extends $dara.Model {
57
+ /**
58
+ * @example
59
+ * my_endpoint
60
+ */
61
+ description?: string;
62
+ /**
63
+ * @example
64
+ * Primary
65
+ */
66
+ endpointType?: string;
67
+ static names(): {
68
+ [key: string]: string;
69
+ };
70
+ static types(): {
71
+ [key: string]: any;
72
+ };
73
+ validate(): void;
74
+ constructor(map?: {
75
+ [key: string]: any;
76
+ });
77
+ }
78
+ export declare class CreateApplicationRequest extends $dara.Model {
79
+ /**
80
+ * @remarks
81
+ * This parameter is required.
82
+ *
83
+ * @example
84
+ * supabase
85
+ */
86
+ applicationType?: string;
87
+ /**
88
+ * @remarks
89
+ * This parameter is required.
90
+ *
91
+ * @example
92
+ * x86
93
+ */
94
+ architecture?: string;
95
+ /**
96
+ * @example
97
+ * true
98
+ */
99
+ autoRenew?: boolean;
100
+ components?: CreateApplicationRequestComponents[];
101
+ /**
102
+ * @example
103
+ * pc-**************
104
+ */
105
+ DBClusterId?: string;
106
+ /**
107
+ * @example
108
+ * myapp
109
+ */
110
+ description?: string;
111
+ /**
112
+ * @example
113
+ * false
114
+ */
115
+ dryRun?: boolean;
116
+ endpoints?: CreateApplicationRequestEndpoints[];
117
+ /**
118
+ * @example
119
+ * Postpaid
120
+ */
121
+ payType?: string;
122
+ /**
123
+ * @example
124
+ * Year
125
+ */
126
+ period?: string;
127
+ /**
128
+ * @example
129
+ * pcs-********************
130
+ */
131
+ polarFSInstanceId?: string;
132
+ /**
133
+ * @example
134
+ * cn-beijing
135
+ */
136
+ regionId?: string;
137
+ /**
138
+ * @example
139
+ * rg-********************
140
+ */
141
+ resourceGroupId?: string;
142
+ /**
143
+ * @example
144
+ * 1
145
+ */
146
+ usedTime?: string;
147
+ /**
148
+ * @example
149
+ * vsw-*********************
150
+ */
151
+ vSwitchId?: string;
152
+ /**
153
+ * @example
154
+ * cn-beijing-k
155
+ */
156
+ zoneId?: string;
157
+ static names(): {
158
+ [key: string]: string;
159
+ };
160
+ static types(): {
161
+ [key: string]: any;
162
+ };
163
+ validate(): void;
164
+ constructor(map?: {
165
+ [key: string]: any;
166
+ });
167
+ }
@@ -0,0 +1,150 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.CreateApplicationRequest = exports.CreateApplicationRequestEndpoints = exports.CreateApplicationRequestComponents = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ /**
40
+ */
41
+ class CreateApplicationRequestComponents extends $dara.Model {
42
+ static names() {
43
+ return {
44
+ componentClass: 'ComponentClass',
45
+ componentMaxReplica: 'ComponentMaxReplica',
46
+ componentReplica: 'ComponentReplica',
47
+ componentType: 'ComponentType',
48
+ securityGroups: 'SecurityGroups',
49
+ securityIPArrayName: 'SecurityIPArrayName',
50
+ securityIPList: 'SecurityIPList',
51
+ securityIPType: 'SecurityIPType',
52
+ };
53
+ }
54
+ static types() {
55
+ return {
56
+ componentClass: 'string',
57
+ componentMaxReplica: 'number',
58
+ componentReplica: 'number',
59
+ componentType: 'string',
60
+ securityGroups: 'string',
61
+ securityIPArrayName: 'string',
62
+ securityIPList: 'string',
63
+ securityIPType: 'string',
64
+ };
65
+ }
66
+ validate() {
67
+ super.validate();
68
+ }
69
+ constructor(map) {
70
+ super(map);
71
+ }
72
+ }
73
+ exports.CreateApplicationRequestComponents = CreateApplicationRequestComponents;
74
+ class CreateApplicationRequestEndpoints extends $dara.Model {
75
+ static names() {
76
+ return {
77
+ description: 'Description',
78
+ endpointType: 'EndpointType',
79
+ };
80
+ }
81
+ static types() {
82
+ return {
83
+ description: 'string',
84
+ endpointType: 'string',
85
+ };
86
+ }
87
+ validate() {
88
+ super.validate();
89
+ }
90
+ constructor(map) {
91
+ super(map);
92
+ }
93
+ }
94
+ exports.CreateApplicationRequestEndpoints = CreateApplicationRequestEndpoints;
95
+ class CreateApplicationRequest extends $dara.Model {
96
+ static names() {
97
+ return {
98
+ applicationType: 'ApplicationType',
99
+ architecture: 'Architecture',
100
+ autoRenew: 'AutoRenew',
101
+ components: 'Components',
102
+ DBClusterId: 'DBClusterId',
103
+ description: 'Description',
104
+ dryRun: 'DryRun',
105
+ endpoints: 'Endpoints',
106
+ payType: 'PayType',
107
+ period: 'Period',
108
+ polarFSInstanceId: 'PolarFSInstanceId',
109
+ regionId: 'RegionId',
110
+ resourceGroupId: 'ResourceGroupId',
111
+ usedTime: 'UsedTime',
112
+ vSwitchId: 'VSwitchId',
113
+ zoneId: 'ZoneId',
114
+ };
115
+ }
116
+ static types() {
117
+ return {
118
+ applicationType: 'string',
119
+ architecture: 'string',
120
+ autoRenew: 'boolean',
121
+ components: { 'type': 'array', 'itemType': CreateApplicationRequestComponents },
122
+ DBClusterId: 'string',
123
+ description: 'string',
124
+ dryRun: 'boolean',
125
+ endpoints: { 'type': 'array', 'itemType': CreateApplicationRequestEndpoints },
126
+ payType: 'string',
127
+ period: 'string',
128
+ polarFSInstanceId: 'string',
129
+ regionId: 'string',
130
+ resourceGroupId: 'string',
131
+ usedTime: 'string',
132
+ vSwitchId: 'string',
133
+ zoneId: 'string',
134
+ };
135
+ }
136
+ validate() {
137
+ if (Array.isArray(this.components)) {
138
+ $dara.Model.validateArray(this.components);
139
+ }
140
+ if (Array.isArray(this.endpoints)) {
141
+ $dara.Model.validateArray(this.endpoints);
142
+ }
143
+ super.validate();
144
+ }
145
+ constructor(map) {
146
+ super(map);
147
+ }
148
+ }
149
+ exports.CreateApplicationRequest = CreateApplicationRequest;
150
+ //# sourceMappingURL=CreateApplicationRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateApplicationRequest.js","sourceRoot":"","sources":["../../src/models/CreateApplicationRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C;GACG;AACH,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;IAyCjE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,gBAAgB;YAChC,mBAAmB,EAAE,qBAAqB;YAC1C,gBAAgB,EAAE,kBAAkB;YACpC,aAAa,EAAE,eAAe;YAC9B,cAAc,EAAE,gBAAgB;YAChC,mBAAmB,EAAE,qBAAqB;YAC1C,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;SACjC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,QAAQ;YACxB,mBAAmB,EAAE,QAAQ;YAC7B,gBAAgB,EAAE,QAAQ;YAC1B,aAAa,EAAE,QAAQ;YACvB,cAAc,EAAE,QAAQ;YACxB,mBAAmB,EAAE,QAAQ;YAC7B,cAAc,EAAE,QAAQ;YACxB,cAAc,EAAE,QAAQ;SACzB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA1ED,gFA0EC;AAED,MAAa,iCAAkC,SAAQ,KAAK,CAAC,KAAK;IAWhE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,YAAY,EAAE,cAAc;SAC7B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,YAAY,EAAE,QAAQ;SACvB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhCD,8EAgCC;AAED,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;IA+EvD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,eAAe,EAAE,iBAAiB;YAClC,YAAY,EAAE,cAAc;YAC5B,SAAS,EAAE,WAAW;YACtB,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,aAAa;YAC1B,WAAW,EAAE,aAAa;YAC1B,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;YAChB,iBAAiB,EAAE,mBAAmB;YACtC,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,iBAAiB;YAClC,QAAQ,EAAE,UAAU;YACpB,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,eAAe,EAAE,QAAQ;YACzB,YAAY,EAAE,QAAQ;YACtB,SAAS,EAAE,SAAS;YACpB,UAAU,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,kCAAkC,EAAE;YAC/E,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,QAAQ;YACrB,MAAM,EAAE,SAAS;YACjB,SAAS,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,iCAAiC,EAAE;YAC7E,OAAO,EAAE,QAAQ;YACjB,MAAM,EAAE,QAAQ;YAChB,iBAAiB,EAAE,QAAQ;YAC3B,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;YACzB,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,QAAQ;YACnB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;YAClC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC7C,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC;YACjC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC5C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtID,4DAsIC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { CreateApplicationResponseBody } from "./CreateApplicationResponseBody";
3
+ export declare class CreateApplicationResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: CreateApplicationResponseBody;
9
+ static names(): {
10
+ [key: string]: string;
11
+ };
12
+ static types(): {
13
+ [key: string]: any;
14
+ };
15
+ validate(): void;
16
+ constructor(map?: {
17
+ [key: string]: any;
18
+ });
19
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.CreateApplicationResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const CreateApplicationResponseBody_1 = require("./CreateApplicationResponseBody");
40
+ class CreateApplicationResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: CreateApplicationResponseBody_1.CreateApplicationResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.CreateApplicationResponse = CreateApplicationResponse;
69
+ //# sourceMappingURL=CreateApplicationResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateApplicationResponse.js","sourceRoot":"","sources":["../../src/models/CreateApplicationResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,mFAAgF;AAGhF,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;IAIxD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,6DAA6B;SACpC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,8DAiCC"}
@@ -0,0 +1,61 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class CreateApplicationResponseBodyComponents extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * pac-********************
6
+ */
7
+ componentId?: string;
8
+ static names(): {
9
+ [key: string]: string;
10
+ };
11
+ static types(): {
12
+ [key: string]: any;
13
+ };
14
+ validate(): void;
15
+ constructor(map?: {
16
+ [key: string]: any;
17
+ });
18
+ }
19
+ export declare class CreateApplicationResponseBody extends $dara.Model {
20
+ /**
21
+ * @example
22
+ * pa-********************
23
+ */
24
+ applicationId?: string;
25
+ components?: CreateApplicationResponseBodyComponents[];
26
+ /**
27
+ * @example
28
+ * myapp
29
+ */
30
+ description?: string;
31
+ /**
32
+ * @example
33
+ * 2148126708*****
34
+ */
35
+ orderId?: string;
36
+ /**
37
+ * @example
38
+ * 3E5CD764-FCCA-5C9C-838E-20E0DE84B2AF
39
+ */
40
+ requestId?: string;
41
+ /**
42
+ * @example
43
+ * true
44
+ */
45
+ resourceAvailable?: boolean;
46
+ /**
47
+ * @example
48
+ * rg-********************
49
+ */
50
+ resourceGroupId?: string;
51
+ static names(): {
52
+ [key: string]: string;
53
+ };
54
+ static types(): {
55
+ [key: string]: any;
56
+ };
57
+ validate(): void;
58
+ constructor(map?: {
59
+ [key: string]: any;
60
+ });
61
+ }
@@ -0,0 +1,92 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.CreateApplicationResponseBody = exports.CreateApplicationResponseBodyComponents = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class CreateApplicationResponseBodyComponents extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ componentId: 'ComponentId',
43
+ };
44
+ }
45
+ static types() {
46
+ return {
47
+ componentId: 'string',
48
+ };
49
+ }
50
+ validate() {
51
+ super.validate();
52
+ }
53
+ constructor(map) {
54
+ super(map);
55
+ }
56
+ }
57
+ exports.CreateApplicationResponseBodyComponents = CreateApplicationResponseBodyComponents;
58
+ class CreateApplicationResponseBody extends $dara.Model {
59
+ static names() {
60
+ return {
61
+ applicationId: 'ApplicationId',
62
+ components: 'Components',
63
+ description: 'Description',
64
+ orderId: 'OrderId',
65
+ requestId: 'RequestId',
66
+ resourceAvailable: 'ResourceAvailable',
67
+ resourceGroupId: 'ResourceGroupId',
68
+ };
69
+ }
70
+ static types() {
71
+ return {
72
+ applicationId: 'string',
73
+ components: { 'type': 'array', 'itemType': CreateApplicationResponseBodyComponents },
74
+ description: 'string',
75
+ orderId: 'string',
76
+ requestId: 'string',
77
+ resourceAvailable: 'boolean',
78
+ resourceGroupId: 'string',
79
+ };
80
+ }
81
+ validate() {
82
+ if (Array.isArray(this.components)) {
83
+ $dara.Model.validateArray(this.components);
84
+ }
85
+ super.validate();
86
+ }
87
+ constructor(map) {
88
+ super(map);
89
+ }
90
+ }
91
+ exports.CreateApplicationResponseBody = CreateApplicationResponseBody;
92
+ //# sourceMappingURL=CreateApplicationResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateApplicationResponseBody.js","sourceRoot":"","sources":["../../src/models/CreateApplicationResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uCAAwC,SAAQ,KAAK,CAAC,KAAK;IAMtE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;SACtB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzBD,0FAyBC;AAED,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IAgC5D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;YAC9B,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,aAAa;YAC1B,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,iBAAiB,EAAE,mBAAmB;YACtC,eAAe,EAAE,iBAAiB;SACnC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,QAAQ;YACvB,UAAU,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,uCAAuC,EAAE;YACpF,WAAW,EAAE,QAAQ;YACrB,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,iBAAiB,EAAE,SAAS;YAC5B,eAAe,EAAE,QAAQ;SAC1B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;YAClC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC7C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAlED,sEAkEC"}
@@ -0,0 +1,91 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class CreateApplicationShrinkRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * This parameter is required.
6
+ *
7
+ * @example
8
+ * supabase
9
+ */
10
+ applicationType?: string;
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
15
+ * @example
16
+ * x86
17
+ */
18
+ architecture?: string;
19
+ /**
20
+ * @example
21
+ * true
22
+ */
23
+ autoRenew?: boolean;
24
+ componentsShrink?: string;
25
+ /**
26
+ * @example
27
+ * pc-**************
28
+ */
29
+ DBClusterId?: string;
30
+ /**
31
+ * @example
32
+ * myapp
33
+ */
34
+ description?: string;
35
+ /**
36
+ * @example
37
+ * false
38
+ */
39
+ dryRun?: boolean;
40
+ endpointsShrink?: string;
41
+ /**
42
+ * @example
43
+ * Postpaid
44
+ */
45
+ payType?: string;
46
+ /**
47
+ * @example
48
+ * Year
49
+ */
50
+ period?: string;
51
+ /**
52
+ * @example
53
+ * pcs-********************
54
+ */
55
+ polarFSInstanceId?: string;
56
+ /**
57
+ * @example
58
+ * cn-beijing
59
+ */
60
+ regionId?: string;
61
+ /**
62
+ * @example
63
+ * rg-********************
64
+ */
65
+ resourceGroupId?: string;
66
+ /**
67
+ * @example
68
+ * 1
69
+ */
70
+ usedTime?: string;
71
+ /**
72
+ * @example
73
+ * vsw-*********************
74
+ */
75
+ vSwitchId?: string;
76
+ /**
77
+ * @example
78
+ * cn-beijing-k
79
+ */
80
+ zoneId?: string;
81
+ static names(): {
82
+ [key: string]: string;
83
+ };
84
+ static types(): {
85
+ [key: string]: any;
86
+ };
87
+ validate(): void;
88
+ constructor(map?: {
89
+ [key: string]: any;
90
+ });
91
+ }