@alicloud/polardb20170801 8.2.3 → 8.2.4
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 +2 -2
- package/dist/client.js +14 -2
- package/dist/client.js.map +1 -1
- package/dist/models/CreateApplicationRequest.d.ts +177 -24
- package/dist/models/CreateApplicationRequest.js +73 -1
- package/dist/models/CreateApplicationRequest.js.map +1 -1
- package/dist/models/CreateApplicationResponseBody.d.ts +1 -1
- package/dist/models/CreateApplicationShrinkRequest.d.ts +32 -15
- package/dist/models/CreateApplicationShrinkRequest.js +4 -0
- package/dist/models/CreateApplicationShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +2 -0
- package/dist/models/model.js +51 -47
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +18 -2
- package/src/models/CreateApplicationRequest.ts +231 -24
- package/src/models/CreateApplicationResponseBody.ts +1 -1
- package/src/models/CreateApplicationShrinkRequest.ts +36 -15
- package/src/models/model.ts +2 -0
package/dist/client.d.ts
CHANGED
|
@@ -744,7 +744,7 @@ export default class Client extends OpenApi {
|
|
|
744
744
|
*/
|
|
745
745
|
createAgenticDBTenantApiKey(request: $_model.CreateAgenticDBTenantApiKeyRequest): Promise<$_model.CreateAgenticDBTenantApiKeyResponse>;
|
|
746
746
|
/**
|
|
747
|
-
* Creates an application
|
|
747
|
+
* Creates an application associated with a PolarDB instance.
|
|
748
748
|
*
|
|
749
749
|
* @param tmpReq - CreateApplicationRequest
|
|
750
750
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -752,7 +752,7 @@ export default class Client extends OpenApi {
|
|
|
752
752
|
*/
|
|
753
753
|
createApplicationWithOptions(tmpReq: $_model.CreateApplicationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateApplicationResponse>;
|
|
754
754
|
/**
|
|
755
|
-
* Creates an application
|
|
755
|
+
* Creates an application associated with a PolarDB instance.
|
|
756
756
|
*
|
|
757
757
|
* @param request - CreateApplicationRequest
|
|
758
758
|
* @returns CreateApplicationResponse
|
package/dist/client.js
CHANGED
|
@@ -2608,7 +2608,7 @@ class Client extends openapi_core_1.default {
|
|
|
2608
2608
|
return await this.createAgenticDBTenantApiKeyWithOptions(request, runtime);
|
|
2609
2609
|
}
|
|
2610
2610
|
/**
|
|
2611
|
-
* Creates an application
|
|
2611
|
+
* Creates an application associated with a PolarDB instance.
|
|
2612
2612
|
*
|
|
2613
2613
|
* @param tmpReq - CreateApplicationRequest
|
|
2614
2614
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2618,6 +2618,9 @@ class Client extends openapi_core_1.default {
|
|
|
2618
2618
|
tmpReq.validate();
|
|
2619
2619
|
let request = new $_model.CreateApplicationShrinkRequest({});
|
|
2620
2620
|
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
2621
|
+
if (!$dara.isNull(tmpReq.agenticDBBranchSpec)) {
|
|
2622
|
+
request.agenticDBBranchSpecShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.agenticDBBranchSpec, "AgenticDBBranchSpec", "json");
|
|
2623
|
+
}
|
|
2621
2624
|
if (!$dara.isNull(tmpReq.components)) {
|
|
2622
2625
|
request.componentsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.components, "Components", "json");
|
|
2623
2626
|
}
|
|
@@ -2636,10 +2639,16 @@ class Client extends openapi_core_1.default {
|
|
|
2636
2639
|
if (!$dara.isNull(tmpReq.parameters)) {
|
|
2637
2640
|
request.parametersShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.parameters, "Parameters", "json");
|
|
2638
2641
|
}
|
|
2642
|
+
if (!$dara.isNull(tmpReq.storages)) {
|
|
2643
|
+
request.storagesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.storages, "Storages", "json");
|
|
2644
|
+
}
|
|
2639
2645
|
let query = {};
|
|
2640
2646
|
if (!$dara.isNull(request.AIDBClusterId)) {
|
|
2641
2647
|
query["AIDBClusterId"] = request.AIDBClusterId;
|
|
2642
2648
|
}
|
|
2649
|
+
if (!$dara.isNull(request.agenticDBBranchSpecShrink)) {
|
|
2650
|
+
query["AgenticDBBranchSpec"] = request.agenticDBBranchSpecShrink;
|
|
2651
|
+
}
|
|
2643
2652
|
if (!$dara.isNull(request.applicationType)) {
|
|
2644
2653
|
query["ApplicationType"] = request.applicationType;
|
|
2645
2654
|
}
|
|
@@ -2742,6 +2751,9 @@ class Client extends openapi_core_1.default {
|
|
|
2742
2751
|
if (!$dara.isNull(request.skillTemplateId)) {
|
|
2743
2752
|
query["SkillTemplateId"] = request.skillTemplateId;
|
|
2744
2753
|
}
|
|
2754
|
+
if (!$dara.isNull(request.storagesShrink)) {
|
|
2755
|
+
query["Storages"] = request.storagesShrink;
|
|
2756
|
+
}
|
|
2745
2757
|
if (!$dara.isNull(request.tag)) {
|
|
2746
2758
|
query["Tag"] = request.tag;
|
|
2747
2759
|
}
|
|
@@ -2780,7 +2792,7 @@ class Client extends openapi_core_1.default {
|
|
|
2780
2792
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateApplicationResponse({}));
|
|
2781
2793
|
}
|
|
2782
2794
|
/**
|
|
2783
|
-
* Creates an application
|
|
2795
|
+
* Creates an application associated with a PolarDB instance.
|
|
2784
2796
|
*
|
|
2785
2797
|
* @param request - CreateApplicationRequest
|
|
2786
2798
|
* @returns CreateApplicationResponse
|