@alicloud/oos20190601 1.0.2 → 1.0.3
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 +33 -3
- package/dist/client.js +67 -6
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +91 -8
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -645,7 +645,7 @@ export class CreateSecretParameterRequest extends $tea.Model {
|
|
|
645
645
|
name?: string;
|
|
646
646
|
regionId?: string;
|
|
647
647
|
resourceGroupId?: string;
|
|
648
|
-
tags?: string;
|
|
648
|
+
tags?: { [key: string]: any };
|
|
649
649
|
type?: string;
|
|
650
650
|
value?: string;
|
|
651
651
|
static names(): { [key: string]: string } {
|
|
@@ -672,7 +672,53 @@ export class CreateSecretParameterRequest extends $tea.Model {
|
|
|
672
672
|
name: 'string',
|
|
673
673
|
regionId: 'string',
|
|
674
674
|
resourceGroupId: 'string',
|
|
675
|
-
tags: 'string',
|
|
675
|
+
tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
676
|
+
type: 'string',
|
|
677
|
+
value: 'string',
|
|
678
|
+
};
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
constructor(map?: { [key: string]: any }) {
|
|
682
|
+
super(map);
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
export class CreateSecretParameterShrinkRequest extends $tea.Model {
|
|
687
|
+
clientToken?: string;
|
|
688
|
+
constraints?: string;
|
|
689
|
+
description?: string;
|
|
690
|
+
keyId?: string;
|
|
691
|
+
name?: string;
|
|
692
|
+
regionId?: string;
|
|
693
|
+
resourceGroupId?: string;
|
|
694
|
+
tagsShrink?: string;
|
|
695
|
+
type?: string;
|
|
696
|
+
value?: string;
|
|
697
|
+
static names(): { [key: string]: string } {
|
|
698
|
+
return {
|
|
699
|
+
clientToken: 'ClientToken',
|
|
700
|
+
constraints: 'Constraints',
|
|
701
|
+
description: 'Description',
|
|
702
|
+
keyId: 'KeyId',
|
|
703
|
+
name: 'Name',
|
|
704
|
+
regionId: 'RegionId',
|
|
705
|
+
resourceGroupId: 'ResourceGroupId',
|
|
706
|
+
tagsShrink: 'Tags',
|
|
707
|
+
type: 'Type',
|
|
708
|
+
value: 'Value',
|
|
709
|
+
};
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
static types(): { [key: string]: any } {
|
|
713
|
+
return {
|
|
714
|
+
clientToken: 'string',
|
|
715
|
+
constraints: 'string',
|
|
716
|
+
description: 'string',
|
|
717
|
+
keyId: 'string',
|
|
718
|
+
name: 'string',
|
|
719
|
+
regionId: 'string',
|
|
720
|
+
resourceGroupId: 'string',
|
|
721
|
+
tagsShrink: 'string',
|
|
676
722
|
type: 'string',
|
|
677
723
|
value: 'string',
|
|
678
724
|
};
|
|
@@ -1000,10 +1046,12 @@ export class CreateTemplateResponse extends $tea.Model {
|
|
|
1000
1046
|
}
|
|
1001
1047
|
|
|
1002
1048
|
export class DeleteApplicationRequest extends $tea.Model {
|
|
1049
|
+
force?: boolean;
|
|
1003
1050
|
name?: string;
|
|
1004
1051
|
regionId?: string;
|
|
1005
1052
|
static names(): { [key: string]: string } {
|
|
1006
1053
|
return {
|
|
1054
|
+
force: 'Force',
|
|
1007
1055
|
name: 'Name',
|
|
1008
1056
|
regionId: 'RegionId',
|
|
1009
1057
|
};
|
|
@@ -1011,6 +1059,7 @@ export class DeleteApplicationRequest extends $tea.Model {
|
|
|
1011
1059
|
|
|
1012
1060
|
static types(): { [key: string]: any } {
|
|
1013
1061
|
return {
|
|
1062
|
+
force: 'boolean',
|
|
1014
1063
|
name: 'string',
|
|
1015
1064
|
regionId: 'string',
|
|
1016
1065
|
};
|
|
@@ -2885,14 +2934,20 @@ export class ListApplicationGroupsRequest extends $tea.Model {
|
|
|
2885
2934
|
deployRegionId?: string;
|
|
2886
2935
|
maxResults?: number;
|
|
2887
2936
|
nextToken?: string;
|
|
2937
|
+
product?: string;
|
|
2888
2938
|
regionId?: string;
|
|
2939
|
+
resourceId?: string;
|
|
2940
|
+
resourceType?: string;
|
|
2889
2941
|
static names(): { [key: string]: string } {
|
|
2890
2942
|
return {
|
|
2891
2943
|
applicationName: 'ApplicationName',
|
|
2892
2944
|
deployRegionId: 'DeployRegionId',
|
|
2893
2945
|
maxResults: 'MaxResults',
|
|
2894
2946
|
nextToken: 'NextToken',
|
|
2947
|
+
product: 'Product',
|
|
2895
2948
|
regionId: 'RegionId',
|
|
2949
|
+
resourceId: 'ResourceId',
|
|
2950
|
+
resourceType: 'ResourceType',
|
|
2896
2951
|
};
|
|
2897
2952
|
}
|
|
2898
2953
|
|
|
@@ -2902,7 +2957,10 @@ export class ListApplicationGroupsRequest extends $tea.Model {
|
|
|
2902
2957
|
deployRegionId: 'string',
|
|
2903
2958
|
maxResults: 'number',
|
|
2904
2959
|
nextToken: 'string',
|
|
2960
|
+
product: 'string',
|
|
2905
2961
|
regionId: 'string',
|
|
2962
|
+
resourceId: 'string',
|
|
2963
|
+
resourceType: 'string',
|
|
2906
2964
|
};
|
|
2907
2965
|
}
|
|
2908
2966
|
|
|
@@ -7004,7 +7062,7 @@ export class CreateSecretParameterResponseBodyParameter extends $tea.Model {
|
|
|
7004
7062
|
parameterVersion?: number;
|
|
7005
7063
|
resourceGroupId?: string;
|
|
7006
7064
|
shareType?: string;
|
|
7007
|
-
tags?: string;
|
|
7065
|
+
tags?: { [key: string]: any };
|
|
7008
7066
|
type?: string;
|
|
7009
7067
|
updatedBy?: string;
|
|
7010
7068
|
updatedDate?: string;
|
|
@@ -7039,7 +7097,7 @@ export class CreateSecretParameterResponseBodyParameter extends $tea.Model {
|
|
|
7039
7097
|
parameterVersion: 'number',
|
|
7040
7098
|
resourceGroupId: 'string',
|
|
7041
7099
|
shareType: 'string',
|
|
7042
|
-
tags: 'string',
|
|
7100
|
+
tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
7043
7101
|
type: 'string',
|
|
7044
7102
|
updatedBy: 'string',
|
|
7045
7103
|
updatedDate: 'string',
|
|
@@ -7234,6 +7292,7 @@ export class GetApplicationGroupResponseBodyApplicationGroup extends $tea.Model
|
|
|
7234
7292
|
importTagKey?: string;
|
|
7235
7293
|
importTagValue?: string;
|
|
7236
7294
|
name?: string;
|
|
7295
|
+
progress?: string;
|
|
7237
7296
|
status?: string;
|
|
7238
7297
|
statusReason?: string;
|
|
7239
7298
|
updateDate?: string;
|
|
@@ -7249,6 +7308,7 @@ export class GetApplicationGroupResponseBodyApplicationGroup extends $tea.Model
|
|
|
7249
7308
|
importTagKey: 'ImportTagKey',
|
|
7250
7309
|
importTagValue: 'ImportTagValue',
|
|
7251
7310
|
name: 'Name',
|
|
7311
|
+
progress: 'Progress',
|
|
7252
7312
|
status: 'Status',
|
|
7253
7313
|
statusReason: 'StatusReason',
|
|
7254
7314
|
updateDate: 'UpdateDate',
|
|
@@ -7267,6 +7327,7 @@ export class GetApplicationGroupResponseBodyApplicationGroup extends $tea.Model
|
|
|
7267
7327
|
importTagKey: 'string',
|
|
7268
7328
|
importTagValue: 'string',
|
|
7269
7329
|
name: 'string',
|
|
7330
|
+
progress: 'string',
|
|
7270
7331
|
status: 'string',
|
|
7271
7332
|
statusReason: 'string',
|
|
7272
7333
|
updateDate: 'string',
|
|
@@ -9786,8 +9847,14 @@ export default class Client extends OpenApi {
|
|
|
9786
9847
|
return await this.createPatchBaselineWithOptions(request, runtime);
|
|
9787
9848
|
}
|
|
9788
9849
|
|
|
9789
|
-
async createSecretParameterWithOptions(
|
|
9790
|
-
Util.validateModel(
|
|
9850
|
+
async createSecretParameterWithOptions(tmpReq: CreateSecretParameterRequest, runtime: $Util.RuntimeOptions): Promise<CreateSecretParameterResponse> {
|
|
9851
|
+
Util.validateModel(tmpReq);
|
|
9852
|
+
let request = new CreateSecretParameterShrinkRequest({ });
|
|
9853
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
9854
|
+
if (!Util.isUnset(tmpReq.tags)) {
|
|
9855
|
+
request.tagsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
|
|
9856
|
+
}
|
|
9857
|
+
|
|
9791
9858
|
let query = { };
|
|
9792
9859
|
if (!Util.isUnset(request.clientToken)) {
|
|
9793
9860
|
query["ClientToken"] = request.clientToken;
|
|
@@ -9817,8 +9884,8 @@ export default class Client extends OpenApi {
|
|
|
9817
9884
|
query["ResourceGroupId"] = request.resourceGroupId;
|
|
9818
9885
|
}
|
|
9819
9886
|
|
|
9820
|
-
if (!Util.isUnset(request.
|
|
9821
|
-
query["Tags"] = request.
|
|
9887
|
+
if (!Util.isUnset(request.tagsShrink)) {
|
|
9888
|
+
query["Tags"] = request.tagsShrink;
|
|
9822
9889
|
}
|
|
9823
9890
|
|
|
9824
9891
|
if (!Util.isUnset(request.type)) {
|
|
@@ -9988,6 +10055,10 @@ export default class Client extends OpenApi {
|
|
|
9988
10055
|
async deleteApplicationWithOptions(request: DeleteApplicationRequest, runtime: $Util.RuntimeOptions): Promise<DeleteApplicationResponse> {
|
|
9989
10056
|
Util.validateModel(request);
|
|
9990
10057
|
let query = { };
|
|
10058
|
+
if (!Util.isUnset(request.force)) {
|
|
10059
|
+
query["Force"] = request.force;
|
|
10060
|
+
}
|
|
10061
|
+
|
|
9991
10062
|
if (!Util.isUnset(request.name)) {
|
|
9992
10063
|
query["Name"] = request.name;
|
|
9993
10064
|
}
|
|
@@ -10962,10 +11033,22 @@ export default class Client extends OpenApi {
|
|
|
10962
11033
|
query["NextToken"] = request.nextToken;
|
|
10963
11034
|
}
|
|
10964
11035
|
|
|
11036
|
+
if (!Util.isUnset(request.product)) {
|
|
11037
|
+
query["Product"] = request.product;
|
|
11038
|
+
}
|
|
11039
|
+
|
|
10965
11040
|
if (!Util.isUnset(request.regionId)) {
|
|
10966
11041
|
query["RegionId"] = request.regionId;
|
|
10967
11042
|
}
|
|
10968
11043
|
|
|
11044
|
+
if (!Util.isUnset(request.resourceId)) {
|
|
11045
|
+
query["ResourceId"] = request.resourceId;
|
|
11046
|
+
}
|
|
11047
|
+
|
|
11048
|
+
if (!Util.isUnset(request.resourceType)) {
|
|
11049
|
+
query["ResourceType"] = request.resourceType;
|
|
11050
|
+
}
|
|
11051
|
+
|
|
10969
11052
|
let req = new $OpenApi.OpenApiRequest({
|
|
10970
11053
|
query: OpenApiUtil.query(query),
|
|
10971
11054
|
});
|