@alicloud/polardb20170801 8.2.2 → 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 +26 -2
- package/dist/client.js.map +1 -1
- package/dist/models/CreateApplicationRequest.d.ts +271 -83
- package/dist/models/CreateApplicationRequest.js +103 -1
- package/dist/models/CreateApplicationRequest.js.map +1 -1
- package/dist/models/CreateApplicationResponseBody.d.ts +8 -8
- package/dist/models/CreateApplicationShrinkRequest.d.ts +81 -54
- package/dist/models/CreateApplicationShrinkRequest.js +10 -0
- package/dist/models/CreateApplicationShrinkRequest.js.map +1 -1
- package/dist/models/DescribeApplicationAttributeResponseBody.d.ts +95 -14
- package/dist/models/DescribeApplicationAttributeResponseBody.js +39 -1
- package/dist/models/DescribeApplicationAttributeResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +63 -55
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +34 -2
- package/src/models/CreateApplicationRequest.ts +346 -83
- package/src/models/CreateApplicationResponseBody.ts +8 -8
- package/src/models/CreateApplicationShrinkRequest.ts +91 -54
- package/src/models/DescribeApplicationAttributeResponseBody.ts +124 -14
- package/src/models/model.ts +4 -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,9 +2618,15 @@ 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
|
}
|
|
2627
|
+
if (!$dara.isNull(tmpReq.dnatEntries)) {
|
|
2628
|
+
request.dnatEntriesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.dnatEntries, "DnatEntries", "json");
|
|
2629
|
+
}
|
|
2624
2630
|
if (!$dara.isNull(tmpReq.endpoints)) {
|
|
2625
2631
|
request.endpointsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.endpoints, "Endpoints", "json");
|
|
2626
2632
|
}
|
|
@@ -2633,10 +2639,16 @@ class Client extends openapi_core_1.default {
|
|
|
2633
2639
|
if (!$dara.isNull(tmpReq.parameters)) {
|
|
2634
2640
|
request.parametersShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.parameters, "Parameters", "json");
|
|
2635
2641
|
}
|
|
2642
|
+
if (!$dara.isNull(tmpReq.storages)) {
|
|
2643
|
+
request.storagesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.storages, "Storages", "json");
|
|
2644
|
+
}
|
|
2636
2645
|
let query = {};
|
|
2637
2646
|
if (!$dara.isNull(request.AIDBClusterId)) {
|
|
2638
2647
|
query["AIDBClusterId"] = request.AIDBClusterId;
|
|
2639
2648
|
}
|
|
2649
|
+
if (!$dara.isNull(request.agenticDBBranchSpecShrink)) {
|
|
2650
|
+
query["AgenticDBBranchSpec"] = request.agenticDBBranchSpecShrink;
|
|
2651
|
+
}
|
|
2640
2652
|
if (!$dara.isNull(request.applicationType)) {
|
|
2641
2653
|
query["ApplicationType"] = request.applicationType;
|
|
2642
2654
|
}
|
|
@@ -2670,6 +2682,12 @@ class Client extends openapi_core_1.default {
|
|
|
2670
2682
|
if (!$dara.isNull(request.description)) {
|
|
2671
2683
|
query["Description"] = request.description;
|
|
2672
2684
|
}
|
|
2685
|
+
if (!$dara.isNull(request.dnatEntriesShrink)) {
|
|
2686
|
+
query["DnatEntries"] = request.dnatEntriesShrink;
|
|
2687
|
+
}
|
|
2688
|
+
if (!$dara.isNull(request.dnatIpAddress)) {
|
|
2689
|
+
query["DnatIpAddress"] = request.dnatIpAddress;
|
|
2690
|
+
}
|
|
2673
2691
|
if (!$dara.isNull(request.dryRun)) {
|
|
2674
2692
|
query["DryRun"] = request.dryRun;
|
|
2675
2693
|
}
|
|
@@ -2733,6 +2751,9 @@ class Client extends openapi_core_1.default {
|
|
|
2733
2751
|
if (!$dara.isNull(request.skillTemplateId)) {
|
|
2734
2752
|
query["SkillTemplateId"] = request.skillTemplateId;
|
|
2735
2753
|
}
|
|
2754
|
+
if (!$dara.isNull(request.storagesShrink)) {
|
|
2755
|
+
query["Storages"] = request.storagesShrink;
|
|
2756
|
+
}
|
|
2736
2757
|
if (!$dara.isNull(request.tag)) {
|
|
2737
2758
|
query["Tag"] = request.tag;
|
|
2738
2759
|
}
|
|
@@ -2748,6 +2769,9 @@ class Client extends openapi_core_1.default {
|
|
|
2748
2769
|
if (!$dara.isNull(request.vpcId)) {
|
|
2749
2770
|
query["VpcId"] = request.vpcId;
|
|
2750
2771
|
}
|
|
2772
|
+
if (!$dara.isNull(request.vpcNatGatewayId)) {
|
|
2773
|
+
query["VpcNatGatewayId"] = request.vpcNatGatewayId;
|
|
2774
|
+
}
|
|
2751
2775
|
if (!$dara.isNull(request.zoneId)) {
|
|
2752
2776
|
query["ZoneId"] = request.zoneId;
|
|
2753
2777
|
}
|
|
@@ -2768,7 +2792,7 @@ class Client extends openapi_core_1.default {
|
|
|
2768
2792
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateApplicationResponse({}));
|
|
2769
2793
|
}
|
|
2770
2794
|
/**
|
|
2771
|
-
* Creates an application
|
|
2795
|
+
* Creates an application associated with a PolarDB instance.
|
|
2772
2796
|
*
|
|
2773
2797
|
* @param request - CreateApplicationRequest
|
|
2774
2798
|
* @returns CreateApplicationResponse
|