@alicloud/cas20200407 2.0.1 → 2.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 +240 -24
- package/dist/client.js +160 -8
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +332 -24
package/src/client.ts
CHANGED
|
@@ -252,6 +252,7 @@ export class CreateCertificateForPackageRequestRequest extends $tea.Model {
|
|
|
252
252
|
* symantec-free-1-free
|
|
253
253
|
*/
|
|
254
254
|
productCode?: string;
|
|
255
|
+
tags?: CreateCertificateForPackageRequestRequestTags[];
|
|
255
256
|
/**
|
|
256
257
|
* @remarks
|
|
257
258
|
* The name of the applicant.
|
|
@@ -283,6 +284,7 @@ export class CreateCertificateForPackageRequestRequest extends $tea.Model {
|
|
|
283
284
|
email: 'Email',
|
|
284
285
|
phone: 'Phone',
|
|
285
286
|
productCode: 'ProductCode',
|
|
287
|
+
tags: 'Tags',
|
|
286
288
|
username: 'Username',
|
|
287
289
|
validateType: 'ValidateType',
|
|
288
290
|
};
|
|
@@ -296,6 +298,7 @@ export class CreateCertificateForPackageRequestRequest extends $tea.Model {
|
|
|
296
298
|
email: 'string',
|
|
297
299
|
phone: 'string',
|
|
298
300
|
productCode: 'string',
|
|
301
|
+
tags: { 'type': 'array', 'itemType': CreateCertificateForPackageRequestRequestTags },
|
|
299
302
|
username: 'string',
|
|
300
303
|
validateType: 'string',
|
|
301
304
|
};
|
|
@@ -418,6 +421,7 @@ export class CreateCertificateRequestRequest extends $tea.Model {
|
|
|
418
421
|
* symantec-free-1-free
|
|
419
422
|
*/
|
|
420
423
|
productCode?: string;
|
|
424
|
+
tags?: CreateCertificateRequestRequestTags[];
|
|
421
425
|
/**
|
|
422
426
|
* @remarks
|
|
423
427
|
* The name of the applicant.
|
|
@@ -449,6 +453,7 @@ export class CreateCertificateRequestRequest extends $tea.Model {
|
|
|
449
453
|
email: 'Email',
|
|
450
454
|
phone: 'Phone',
|
|
451
455
|
productCode: 'ProductCode',
|
|
456
|
+
tags: 'Tags',
|
|
452
457
|
username: 'Username',
|
|
453
458
|
validateType: 'ValidateType',
|
|
454
459
|
};
|
|
@@ -460,6 +465,7 @@ export class CreateCertificateRequestRequest extends $tea.Model {
|
|
|
460
465
|
email: 'string',
|
|
461
466
|
phone: 'string',
|
|
462
467
|
productCode: 'string',
|
|
468
|
+
tags: { 'type': 'array', 'itemType': CreateCertificateRequestRequestTags },
|
|
463
469
|
username: 'string',
|
|
464
470
|
validateType: 'string',
|
|
465
471
|
};
|
|
@@ -584,6 +590,7 @@ export class CreateCertificateWithCsrRequestRequest extends $tea.Model {
|
|
|
584
590
|
* symantec-free-1-free
|
|
585
591
|
*/
|
|
586
592
|
productCode?: string;
|
|
593
|
+
tags?: CreateCertificateWithCsrRequestRequestTags[];
|
|
587
594
|
/**
|
|
588
595
|
* @remarks
|
|
589
596
|
* The name of the applicant.
|
|
@@ -615,6 +622,7 @@ export class CreateCertificateWithCsrRequestRequest extends $tea.Model {
|
|
|
615
622
|
email: 'Email',
|
|
616
623
|
phone: 'Phone',
|
|
617
624
|
productCode: 'ProductCode',
|
|
625
|
+
tags: 'Tags',
|
|
618
626
|
username: 'Username',
|
|
619
627
|
validateType: 'ValidateType',
|
|
620
628
|
};
|
|
@@ -626,6 +634,7 @@ export class CreateCertificateWithCsrRequestRequest extends $tea.Model {
|
|
|
626
634
|
email: 'string',
|
|
627
635
|
phone: 'string',
|
|
628
636
|
productCode: 'string',
|
|
637
|
+
tags: { 'type': 'array', 'itemType': CreateCertificateWithCsrRequestRequestTags },
|
|
629
638
|
username: 'string',
|
|
630
639
|
validateType: 'string',
|
|
631
640
|
};
|
|
@@ -3008,6 +3017,11 @@ export class GetUserCertificateDetailResponseBody extends $tea.Model {
|
|
|
3008
3017
|
* ---BEGIN CERTIFICATE----- MIIF...... -----END CERTIFICATE-----
|
|
3009
3018
|
*/
|
|
3010
3019
|
cert?: string;
|
|
3020
|
+
/**
|
|
3021
|
+
* @remarks
|
|
3022
|
+
* The certificate chain.
|
|
3023
|
+
*/
|
|
3024
|
+
certChain?: GetUserCertificateDetailResponseBodyCertChain[];
|
|
3011
3025
|
/**
|
|
3012
3026
|
* @remarks
|
|
3013
3027
|
* The unique identifier of the certificate. The value of this parameter must be in the {Certificate ID}-cn-hangzhou format.
|
|
@@ -3097,7 +3111,7 @@ export class GetUserCertificateDetailResponseBody extends $tea.Model {
|
|
|
3097
3111
|
id?: number;
|
|
3098
3112
|
/**
|
|
3099
3113
|
* @remarks
|
|
3100
|
-
* The instance ID.
|
|
3114
|
+
* The instance ID of the resource.
|
|
3101
3115
|
*
|
|
3102
3116
|
* @example
|
|
3103
3117
|
* cas-upload-50yf1q
|
|
@@ -3177,7 +3191,7 @@ export class GetUserCertificateDetailResponseBody extends $tea.Model {
|
|
|
3177
3191
|
sans?: string;
|
|
3178
3192
|
/**
|
|
3179
3193
|
* @remarks
|
|
3180
|
-
* The
|
|
3194
|
+
* The serial number of the certificate.
|
|
3181
3195
|
*
|
|
3182
3196
|
* @example
|
|
3183
3197
|
* 06ea4879591ddf84e6c8b6ba43607ccf
|
|
@@ -3185,7 +3199,7 @@ export class GetUserCertificateDetailResponseBody extends $tea.Model {
|
|
|
3185
3199
|
serialNo?: string;
|
|
3186
3200
|
/**
|
|
3187
3201
|
* @remarks
|
|
3188
|
-
* The
|
|
3202
|
+
* The SHA-2 value of the certificate.
|
|
3189
3203
|
*
|
|
3190
3204
|
* @example
|
|
3191
3205
|
* 840707695D5EE41323102DDC2CB4924AA561012FBDC4E1A6324147119ED3C339
|
|
@@ -3224,6 +3238,7 @@ export class GetUserCertificateDetailResponseBody extends $tea.Model {
|
|
|
3224
3238
|
algorithm: 'Algorithm',
|
|
3225
3239
|
buyInAliyun: 'BuyInAliyun',
|
|
3226
3240
|
cert: 'Cert',
|
|
3241
|
+
certChain: 'CertChain',
|
|
3227
3242
|
certIdentifier: 'CertIdentifier',
|
|
3228
3243
|
city: 'City',
|
|
3229
3244
|
common: 'Common',
|
|
@@ -3257,6 +3272,7 @@ export class GetUserCertificateDetailResponseBody extends $tea.Model {
|
|
|
3257
3272
|
algorithm: 'string',
|
|
3258
3273
|
buyInAliyun: 'boolean',
|
|
3259
3274
|
cert: 'string',
|
|
3275
|
+
certChain: { 'type': 'array', 'itemType': GetUserCertificateDetailResponseBodyCertChain },
|
|
3260
3276
|
certIdentifier: 'string',
|
|
3261
3277
|
city: 'string',
|
|
3262
3278
|
common: 'string',
|
|
@@ -3803,6 +3819,10 @@ export class ListCloudAccessResponse extends $tea.Model {
|
|
|
3803
3819
|
}
|
|
3804
3820
|
|
|
3805
3821
|
export class ListCloudResourcesRequest extends $tea.Model {
|
|
3822
|
+
/**
|
|
3823
|
+
* @remarks
|
|
3824
|
+
* The certificate IDs.
|
|
3825
|
+
*/
|
|
3806
3826
|
certIds?: number[];
|
|
3807
3827
|
/**
|
|
3808
3828
|
* @remarks
|
|
@@ -3810,8 +3830,10 @@ export class ListCloudResourcesRequest extends $tea.Model {
|
|
|
3810
3830
|
*
|
|
3811
3831
|
* Valid values:
|
|
3812
3832
|
*
|
|
3813
|
-
* * Tencent
|
|
3814
|
-
* *
|
|
3833
|
+
* * Tencent
|
|
3834
|
+
* * Huawei
|
|
3835
|
+
* * Aws
|
|
3836
|
+
* * aliyun
|
|
3815
3837
|
*
|
|
3816
3838
|
* @example
|
|
3817
3839
|
* Tencent
|
|
@@ -3819,7 +3841,44 @@ export class ListCloudResourcesRequest extends $tea.Model {
|
|
|
3819
3841
|
cloudName?: string;
|
|
3820
3842
|
/**
|
|
3821
3843
|
* @remarks
|
|
3822
|
-
* The cloud service.
|
|
3844
|
+
* The cloud service.
|
|
3845
|
+
*
|
|
3846
|
+
* Valid values when CloudName is set to aliyun:
|
|
3847
|
+
*
|
|
3848
|
+
* * SLB: Classic Load Balancer (CLB). This value is available only on the China site (aliyun.com).
|
|
3849
|
+
* * LIVE: ApsaraVideo Live. This value is available only on the China site (aliyun.com).
|
|
3850
|
+
* * webHosting: Cloud Web Hosting. This value is available only on the China site (aliyun.com).
|
|
3851
|
+
* * VOD: ApsaraVideo VOD. This value is available only on the China site (aliyun.com).
|
|
3852
|
+
* * CR: Container Registry. This value is available only on the China site (aliyun.com).
|
|
3853
|
+
* * DCDN: Dynamic Content Delivery Network (DCDN).
|
|
3854
|
+
* * DDOS: Anti-DDoS.
|
|
3855
|
+
* * CDN: Alibaba Cloud CDN (CDN).
|
|
3856
|
+
* * ALB: Application Load Balancer (ALB).
|
|
3857
|
+
* * APIGateway: API Gateway.
|
|
3858
|
+
* * FC: Function Compute.
|
|
3859
|
+
* * GA: Global Accelerator (GA).
|
|
3860
|
+
* * MSE: Microservices Engine (MSE).
|
|
3861
|
+
* * NLB: Network Load Balancer (NLB).
|
|
3862
|
+
* * OSS: Object Storage Service (OSS).
|
|
3863
|
+
* * SAE: Serverless App Engine (SAE).
|
|
3864
|
+
* * WAF: Web Application Firewall (WAF).
|
|
3865
|
+
*
|
|
3866
|
+
* Valid values when CloudName is set to Tencent:
|
|
3867
|
+
*
|
|
3868
|
+
* * TencentCDN: Content Delivery Network (CDN).
|
|
3869
|
+
* * TencentCLB: CLB.
|
|
3870
|
+
* * TencentWAF: WAF.
|
|
3871
|
+
*
|
|
3872
|
+
* Valid value when CloudName is set to Huawei:
|
|
3873
|
+
*
|
|
3874
|
+
* * HuaweiCDN: CDN.
|
|
3875
|
+
*
|
|
3876
|
+
* Valid values when CloudName is set to Aws:
|
|
3877
|
+
*
|
|
3878
|
+
* * AwsCloudFront: Amazon CloudFront.
|
|
3879
|
+
* * AwsCLB: CLB.
|
|
3880
|
+
* * AwsALB: ALB.
|
|
3881
|
+
* * AwsNLB: NLB.
|
|
3823
3882
|
*
|
|
3824
3883
|
* @example
|
|
3825
3884
|
* SLB
|
|
@@ -3835,7 +3894,7 @@ export class ListCloudResourcesRequest extends $tea.Model {
|
|
|
3835
3894
|
currentPage?: number;
|
|
3836
3895
|
/**
|
|
3837
3896
|
* @remarks
|
|
3838
|
-
* The domain name bound to the cloud resource.
|
|
3897
|
+
* The keyword of the domain name or instance ID bound to the cloud resource.
|
|
3839
3898
|
*
|
|
3840
3899
|
* @example
|
|
3841
3900
|
* cert-instanceId
|
|
@@ -3843,7 +3902,7 @@ export class ListCloudResourcesRequest extends $tea.Model {
|
|
|
3843
3902
|
keyword?: string;
|
|
3844
3903
|
/**
|
|
3845
3904
|
* @remarks
|
|
3846
|
-
* The AccessKey ID used to access cloud resources.
|
|
3905
|
+
* The AccessKey ID that is used to access cloud resources.
|
|
3847
3906
|
*
|
|
3848
3907
|
* @example
|
|
3849
3908
|
* 21
|
|
@@ -3851,7 +3910,7 @@ export class ListCloudResourcesRequest extends $tea.Model {
|
|
|
3851
3910
|
secretId?: string;
|
|
3852
3911
|
/**
|
|
3853
3912
|
* @remarks
|
|
3854
|
-
* The number of
|
|
3913
|
+
* The number of entries per page. Default value: **20**.
|
|
3855
3914
|
*
|
|
3856
3915
|
* @example
|
|
3857
3916
|
* 20
|
|
@@ -3887,6 +3946,10 @@ export class ListCloudResourcesRequest extends $tea.Model {
|
|
|
3887
3946
|
}
|
|
3888
3947
|
|
|
3889
3948
|
export class ListCloudResourcesShrinkRequest extends $tea.Model {
|
|
3949
|
+
/**
|
|
3950
|
+
* @remarks
|
|
3951
|
+
* The certificate IDs.
|
|
3952
|
+
*/
|
|
3890
3953
|
certIdsShrink?: string;
|
|
3891
3954
|
/**
|
|
3892
3955
|
* @remarks
|
|
@@ -3894,8 +3957,10 @@ export class ListCloudResourcesShrinkRequest extends $tea.Model {
|
|
|
3894
3957
|
*
|
|
3895
3958
|
* Valid values:
|
|
3896
3959
|
*
|
|
3897
|
-
* * Tencent
|
|
3898
|
-
* *
|
|
3960
|
+
* * Tencent
|
|
3961
|
+
* * Huawei
|
|
3962
|
+
* * Aws
|
|
3963
|
+
* * aliyun
|
|
3899
3964
|
*
|
|
3900
3965
|
* @example
|
|
3901
3966
|
* Tencent
|
|
@@ -3903,7 +3968,44 @@ export class ListCloudResourcesShrinkRequest extends $tea.Model {
|
|
|
3903
3968
|
cloudName?: string;
|
|
3904
3969
|
/**
|
|
3905
3970
|
* @remarks
|
|
3906
|
-
* The cloud service.
|
|
3971
|
+
* The cloud service.
|
|
3972
|
+
*
|
|
3973
|
+
* Valid values when CloudName is set to aliyun:
|
|
3974
|
+
*
|
|
3975
|
+
* * SLB: Classic Load Balancer (CLB). This value is available only on the China site (aliyun.com).
|
|
3976
|
+
* * LIVE: ApsaraVideo Live. This value is available only on the China site (aliyun.com).
|
|
3977
|
+
* * webHosting: Cloud Web Hosting. This value is available only on the China site (aliyun.com).
|
|
3978
|
+
* * VOD: ApsaraVideo VOD. This value is available only on the China site (aliyun.com).
|
|
3979
|
+
* * CR: Container Registry. This value is available only on the China site (aliyun.com).
|
|
3980
|
+
* * DCDN: Dynamic Content Delivery Network (DCDN).
|
|
3981
|
+
* * DDOS: Anti-DDoS.
|
|
3982
|
+
* * CDN: Alibaba Cloud CDN (CDN).
|
|
3983
|
+
* * ALB: Application Load Balancer (ALB).
|
|
3984
|
+
* * APIGateway: API Gateway.
|
|
3985
|
+
* * FC: Function Compute.
|
|
3986
|
+
* * GA: Global Accelerator (GA).
|
|
3987
|
+
* * MSE: Microservices Engine (MSE).
|
|
3988
|
+
* * NLB: Network Load Balancer (NLB).
|
|
3989
|
+
* * OSS: Object Storage Service (OSS).
|
|
3990
|
+
* * SAE: Serverless App Engine (SAE).
|
|
3991
|
+
* * WAF: Web Application Firewall (WAF).
|
|
3992
|
+
*
|
|
3993
|
+
* Valid values when CloudName is set to Tencent:
|
|
3994
|
+
*
|
|
3995
|
+
* * TencentCDN: Content Delivery Network (CDN).
|
|
3996
|
+
* * TencentCLB: CLB.
|
|
3997
|
+
* * TencentWAF: WAF.
|
|
3998
|
+
*
|
|
3999
|
+
* Valid value when CloudName is set to Huawei:
|
|
4000
|
+
*
|
|
4001
|
+
* * HuaweiCDN: CDN.
|
|
4002
|
+
*
|
|
4003
|
+
* Valid values when CloudName is set to Aws:
|
|
4004
|
+
*
|
|
4005
|
+
* * AwsCloudFront: Amazon CloudFront.
|
|
4006
|
+
* * AwsCLB: CLB.
|
|
4007
|
+
* * AwsALB: ALB.
|
|
4008
|
+
* * AwsNLB: NLB.
|
|
3907
4009
|
*
|
|
3908
4010
|
* @example
|
|
3909
4011
|
* SLB
|
|
@@ -3919,7 +4021,7 @@ export class ListCloudResourcesShrinkRequest extends $tea.Model {
|
|
|
3919
4021
|
currentPage?: number;
|
|
3920
4022
|
/**
|
|
3921
4023
|
* @remarks
|
|
3922
|
-
* The domain name bound to the cloud resource.
|
|
4024
|
+
* The keyword of the domain name or instance ID bound to the cloud resource.
|
|
3923
4025
|
*
|
|
3924
4026
|
* @example
|
|
3925
4027
|
* cert-instanceId
|
|
@@ -3927,7 +4029,7 @@ export class ListCloudResourcesShrinkRequest extends $tea.Model {
|
|
|
3927
4029
|
keyword?: string;
|
|
3928
4030
|
/**
|
|
3929
4031
|
* @remarks
|
|
3930
|
-
* The AccessKey ID used to access cloud resources.
|
|
4032
|
+
* The AccessKey ID that is used to access cloud resources.
|
|
3931
4033
|
*
|
|
3932
4034
|
* @example
|
|
3933
4035
|
* 21
|
|
@@ -3935,7 +4037,7 @@ export class ListCloudResourcesShrinkRequest extends $tea.Model {
|
|
|
3935
4037
|
secretId?: string;
|
|
3936
4038
|
/**
|
|
3937
4039
|
* @remarks
|
|
3938
|
-
* The number of
|
|
4040
|
+
* The number of entries per page. Default value: **20**.
|
|
3939
4041
|
*
|
|
3940
4042
|
* @example
|
|
3941
4043
|
* 20
|
|
@@ -3981,7 +4083,7 @@ export class ListCloudResourcesResponseBody extends $tea.Model {
|
|
|
3981
4083
|
currentPage?: number;
|
|
3982
4084
|
/**
|
|
3983
4085
|
* @remarks
|
|
3984
|
-
* The
|
|
4086
|
+
* The data returned for the request.
|
|
3985
4087
|
*/
|
|
3986
4088
|
data?: ListCloudResourcesResponseBodyData[];
|
|
3987
4089
|
/**
|
|
@@ -3994,7 +4096,7 @@ export class ListCloudResourcesResponseBody extends $tea.Model {
|
|
|
3994
4096
|
requestId?: string;
|
|
3995
4097
|
/**
|
|
3996
4098
|
* @remarks
|
|
3997
|
-
* The number of
|
|
4099
|
+
* The number of entries per page. Default value: **20**.
|
|
3998
4100
|
*
|
|
3999
4101
|
* @example
|
|
4000
4102
|
* 20
|
|
@@ -5170,10 +5272,12 @@ export class RenewCertificateOrderForPackageRequestRequest extends $tea.Model {
|
|
|
5170
5272
|
* 123451222
|
|
5171
5273
|
*/
|
|
5172
5274
|
orderId?: number;
|
|
5275
|
+
tags?: RenewCertificateOrderForPackageRequestRequestTags[];
|
|
5173
5276
|
static names(): { [key: string]: string } {
|
|
5174
5277
|
return {
|
|
5175
5278
|
csr: 'Csr',
|
|
5176
5279
|
orderId: 'OrderId',
|
|
5280
|
+
tags: 'Tags',
|
|
5177
5281
|
};
|
|
5178
5282
|
}
|
|
5179
5283
|
|
|
@@ -5181,6 +5285,7 @@ export class RenewCertificateOrderForPackageRequestRequest extends $tea.Model {
|
|
|
5181
5285
|
return {
|
|
5182
5286
|
csr: 'string',
|
|
5183
5287
|
orderId: 'number',
|
|
5288
|
+
tags: { 'type': 'array', 'itemType': RenewCertificateOrderForPackageRequestRequestTags },
|
|
5184
5289
|
};
|
|
5185
5290
|
}
|
|
5186
5291
|
|
|
@@ -6022,6 +6127,7 @@ export class UploadUserCertificateRequest extends $tea.Model {
|
|
|
6022
6127
|
* -----END EC PRIVATE KEY-----
|
|
6023
6128
|
*/
|
|
6024
6129
|
signPrivateKey?: string;
|
|
6130
|
+
tags?: UploadUserCertificateRequestTags[];
|
|
6025
6131
|
static names(): { [key: string]: string } {
|
|
6026
6132
|
return {
|
|
6027
6133
|
cert: 'Cert',
|
|
@@ -6032,6 +6138,7 @@ export class UploadUserCertificateRequest extends $tea.Model {
|
|
|
6032
6138
|
resourceGroupId: 'ResourceGroupId',
|
|
6033
6139
|
signCert: 'SignCert',
|
|
6034
6140
|
signPrivateKey: 'SignPrivateKey',
|
|
6141
|
+
tags: 'Tags',
|
|
6035
6142
|
};
|
|
6036
6143
|
}
|
|
6037
6144
|
|
|
@@ -6045,6 +6152,7 @@ export class UploadUserCertificateRequest extends $tea.Model {
|
|
|
6045
6152
|
resourceGroupId: 'string',
|
|
6046
6153
|
signCert: 'string',
|
|
6047
6154
|
signPrivateKey: 'string',
|
|
6155
|
+
tags: { 'type': 'array', 'itemType': UploadUserCertificateRequestTags },
|
|
6048
6156
|
};
|
|
6049
6157
|
}
|
|
6050
6158
|
|
|
@@ -6269,6 +6377,72 @@ export class VerifyResponse extends $tea.Model {
|
|
|
6269
6377
|
}
|
|
6270
6378
|
}
|
|
6271
6379
|
|
|
6380
|
+
export class CreateCertificateForPackageRequestRequestTags extends $tea.Model {
|
|
6381
|
+
key?: string;
|
|
6382
|
+
value?: string;
|
|
6383
|
+
static names(): { [key: string]: string } {
|
|
6384
|
+
return {
|
|
6385
|
+
key: 'Key',
|
|
6386
|
+
value: 'Value',
|
|
6387
|
+
};
|
|
6388
|
+
}
|
|
6389
|
+
|
|
6390
|
+
static types(): { [key: string]: any } {
|
|
6391
|
+
return {
|
|
6392
|
+
key: 'string',
|
|
6393
|
+
value: 'string',
|
|
6394
|
+
};
|
|
6395
|
+
}
|
|
6396
|
+
|
|
6397
|
+
constructor(map?: { [key: string]: any }) {
|
|
6398
|
+
super(map);
|
|
6399
|
+
}
|
|
6400
|
+
}
|
|
6401
|
+
|
|
6402
|
+
export class CreateCertificateRequestRequestTags extends $tea.Model {
|
|
6403
|
+
key?: string;
|
|
6404
|
+
value?: string;
|
|
6405
|
+
static names(): { [key: string]: string } {
|
|
6406
|
+
return {
|
|
6407
|
+
key: 'Key',
|
|
6408
|
+
value: 'Value',
|
|
6409
|
+
};
|
|
6410
|
+
}
|
|
6411
|
+
|
|
6412
|
+
static types(): { [key: string]: any } {
|
|
6413
|
+
return {
|
|
6414
|
+
key: 'string',
|
|
6415
|
+
value: 'string',
|
|
6416
|
+
};
|
|
6417
|
+
}
|
|
6418
|
+
|
|
6419
|
+
constructor(map?: { [key: string]: any }) {
|
|
6420
|
+
super(map);
|
|
6421
|
+
}
|
|
6422
|
+
}
|
|
6423
|
+
|
|
6424
|
+
export class CreateCertificateWithCsrRequestRequestTags extends $tea.Model {
|
|
6425
|
+
key?: string;
|
|
6426
|
+
value?: string;
|
|
6427
|
+
static names(): { [key: string]: string } {
|
|
6428
|
+
return {
|
|
6429
|
+
key: 'Key',
|
|
6430
|
+
value: 'Value',
|
|
6431
|
+
};
|
|
6432
|
+
}
|
|
6433
|
+
|
|
6434
|
+
static types(): { [key: string]: any } {
|
|
6435
|
+
return {
|
|
6436
|
+
key: 'string',
|
|
6437
|
+
value: 'string',
|
|
6438
|
+
};
|
|
6439
|
+
}
|
|
6440
|
+
|
|
6441
|
+
constructor(map?: { [key: string]: any }) {
|
|
6442
|
+
super(map);
|
|
6443
|
+
}
|
|
6444
|
+
}
|
|
6445
|
+
|
|
6272
6446
|
export class DescribeCloudResourceStatusResponseBodyData extends $tea.Model {
|
|
6273
6447
|
/**
|
|
6274
6448
|
* @remarks
|
|
@@ -6426,6 +6600,72 @@ export class DescribeDeploymentJobStatusResponseBodyProductWorkerCount extends $
|
|
|
6426
6600
|
}
|
|
6427
6601
|
}
|
|
6428
6602
|
|
|
6603
|
+
export class GetUserCertificateDetailResponseBodyCertChain extends $tea.Model {
|
|
6604
|
+
/**
|
|
6605
|
+
* @remarks
|
|
6606
|
+
* The common name of the certificate.
|
|
6607
|
+
*
|
|
6608
|
+
* @example
|
|
6609
|
+
* test
|
|
6610
|
+
*/
|
|
6611
|
+
commonName?: string;
|
|
6612
|
+
/**
|
|
6613
|
+
* @remarks
|
|
6614
|
+
* The common name of the issuer.
|
|
6615
|
+
*
|
|
6616
|
+
* @example
|
|
6617
|
+
* Encryption Everywhere DV TLS CA - G2
|
|
6618
|
+
*/
|
|
6619
|
+
issuerCommonName?: string;
|
|
6620
|
+
/**
|
|
6621
|
+
* @remarks
|
|
6622
|
+
* The end of the validity period of the certificate.
|
|
6623
|
+
*
|
|
6624
|
+
* @example
|
|
6625
|
+
* 17322613180000
|
|
6626
|
+
*/
|
|
6627
|
+
notAfter?: number;
|
|
6628
|
+
/**
|
|
6629
|
+
* @remarks
|
|
6630
|
+
* The beginning of the validity period of the certificate.
|
|
6631
|
+
*
|
|
6632
|
+
* @example
|
|
6633
|
+
* 17322633180000
|
|
6634
|
+
*/
|
|
6635
|
+
notBefore?: number;
|
|
6636
|
+
/**
|
|
6637
|
+
* @remarks
|
|
6638
|
+
* The remaining days of the certificate validity period.
|
|
6639
|
+
*
|
|
6640
|
+
* @example
|
|
6641
|
+
* 1000
|
|
6642
|
+
*/
|
|
6643
|
+
remainDay?: number;
|
|
6644
|
+
static names(): { [key: string]: string } {
|
|
6645
|
+
return {
|
|
6646
|
+
commonName: 'CommonName',
|
|
6647
|
+
issuerCommonName: 'IssuerCommonName',
|
|
6648
|
+
notAfter: 'NotAfter',
|
|
6649
|
+
notBefore: 'NotBefore',
|
|
6650
|
+
remainDay: 'RemainDay',
|
|
6651
|
+
};
|
|
6652
|
+
}
|
|
6653
|
+
|
|
6654
|
+
static types(): { [key: string]: any } {
|
|
6655
|
+
return {
|
|
6656
|
+
commonName: 'string',
|
|
6657
|
+
issuerCommonName: 'string',
|
|
6658
|
+
notAfter: 'number',
|
|
6659
|
+
notBefore: 'number',
|
|
6660
|
+
remainDay: 'number',
|
|
6661
|
+
};
|
|
6662
|
+
}
|
|
6663
|
+
|
|
6664
|
+
constructor(map?: { [key: string]: any }) {
|
|
6665
|
+
super(map);
|
|
6666
|
+
}
|
|
6667
|
+
}
|
|
6668
|
+
|
|
6429
6669
|
export class ListCertResponseBodyCertList extends $tea.Model {
|
|
6430
6670
|
/**
|
|
6431
6671
|
* @remarks
|
|
@@ -6770,9 +7010,9 @@ export class ListCloudResourcesResponseBodyData extends $tea.Model {
|
|
|
6770
7010
|
certStartTime?: string;
|
|
6771
7011
|
/**
|
|
6772
7012
|
* @remarks
|
|
6773
|
-
* The AccessKey ID used to access cloud resources.
|
|
7013
|
+
* The AccessKey ID that is used to access cloud resources.
|
|
6774
7014
|
*
|
|
6775
|
-
* > This parameter is
|
|
7015
|
+
* > This parameter is returned only when you deploy certificates to cloud services of third-party clouds.
|
|
6776
7016
|
*
|
|
6777
7017
|
* @example
|
|
6778
7018
|
* 1234
|
|
@@ -6780,10 +7020,14 @@ export class ListCloudResourcesResponseBodyData extends $tea.Model {
|
|
|
6780
7020
|
cloudAccessId?: string;
|
|
6781
7021
|
/**
|
|
6782
7022
|
* @remarks
|
|
6783
|
-
* The cloud service provider
|
|
7023
|
+
* The cloud service provider.
|
|
6784
7024
|
*
|
|
6785
|
-
*
|
|
6786
|
-
*
|
|
7025
|
+
* Valid values:
|
|
7026
|
+
*
|
|
7027
|
+
* * Tencent
|
|
7028
|
+
* * Huawei
|
|
7029
|
+
* * Aws
|
|
7030
|
+
* * aliyun
|
|
6787
7031
|
*
|
|
6788
7032
|
* @example
|
|
6789
7033
|
* aliyun
|
|
@@ -6830,8 +7074,8 @@ export class ListCloudResourcesResponseBodyData extends $tea.Model {
|
|
|
6830
7074
|
* @remarks
|
|
6831
7075
|
* Indicates whether HTTPS is enabled for the cloud resource. Valid values:
|
|
6832
7076
|
*
|
|
6833
|
-
* * **1**: yes
|
|
6834
|
-
* * **0**: no
|
|
7077
|
+
* * **1**: yes.
|
|
7078
|
+
* * **0**: no.
|
|
6835
7079
|
*
|
|
6836
7080
|
* @example
|
|
6837
7081
|
* 1
|
|
@@ -8559,6 +8803,50 @@ export class ListWorkerResourceResponseBodyData extends $tea.Model {
|
|
|
8559
8803
|
}
|
|
8560
8804
|
}
|
|
8561
8805
|
|
|
8806
|
+
export class RenewCertificateOrderForPackageRequestRequestTags extends $tea.Model {
|
|
8807
|
+
key?: string;
|
|
8808
|
+
value?: string;
|
|
8809
|
+
static names(): { [key: string]: string } {
|
|
8810
|
+
return {
|
|
8811
|
+
key: 'Key',
|
|
8812
|
+
value: 'Value',
|
|
8813
|
+
};
|
|
8814
|
+
}
|
|
8815
|
+
|
|
8816
|
+
static types(): { [key: string]: any } {
|
|
8817
|
+
return {
|
|
8818
|
+
key: 'string',
|
|
8819
|
+
value: 'string',
|
|
8820
|
+
};
|
|
8821
|
+
}
|
|
8822
|
+
|
|
8823
|
+
constructor(map?: { [key: string]: any }) {
|
|
8824
|
+
super(map);
|
|
8825
|
+
}
|
|
8826
|
+
}
|
|
8827
|
+
|
|
8828
|
+
export class UploadUserCertificateRequestTags extends $tea.Model {
|
|
8829
|
+
key?: string;
|
|
8830
|
+
value?: string;
|
|
8831
|
+
static names(): { [key: string]: string } {
|
|
8832
|
+
return {
|
|
8833
|
+
key: 'Key',
|
|
8834
|
+
value: 'Value',
|
|
8835
|
+
};
|
|
8836
|
+
}
|
|
8837
|
+
|
|
8838
|
+
static types(): { [key: string]: any } {
|
|
8839
|
+
return {
|
|
8840
|
+
key: 'string',
|
|
8841
|
+
value: 'string',
|
|
8842
|
+
};
|
|
8843
|
+
}
|
|
8844
|
+
|
|
8845
|
+
constructor(map?: { [key: string]: any }) {
|
|
8846
|
+
super(map);
|
|
8847
|
+
}
|
|
8848
|
+
}
|
|
8849
|
+
|
|
8562
8850
|
|
|
8563
8851
|
export default class Client extends OpenApi {
|
|
8564
8852
|
|
|
@@ -8770,6 +9058,10 @@ export default class Client extends OpenApi {
|
|
|
8770
9058
|
query["ProductCode"] = request.productCode;
|
|
8771
9059
|
}
|
|
8772
9060
|
|
|
9061
|
+
if (!Util.isUnset(request.tags)) {
|
|
9062
|
+
query["Tags"] = request.tags;
|
|
9063
|
+
}
|
|
9064
|
+
|
|
8773
9065
|
if (!Util.isUnset(request.username)) {
|
|
8774
9066
|
query["Username"] = request.username;
|
|
8775
9067
|
}
|
|
@@ -8843,6 +9135,10 @@ export default class Client extends OpenApi {
|
|
|
8843
9135
|
query["ProductCode"] = request.productCode;
|
|
8844
9136
|
}
|
|
8845
9137
|
|
|
9138
|
+
if (!Util.isUnset(request.tags)) {
|
|
9139
|
+
query["Tags"] = request.tags;
|
|
9140
|
+
}
|
|
9141
|
+
|
|
8846
9142
|
if (!Util.isUnset(request.username)) {
|
|
8847
9143
|
query["Username"] = request.username;
|
|
8848
9144
|
}
|
|
@@ -8917,6 +9213,10 @@ export default class Client extends OpenApi {
|
|
|
8917
9213
|
query["ProductCode"] = request.productCode;
|
|
8918
9214
|
}
|
|
8919
9215
|
|
|
9216
|
+
if (!Util.isUnset(request.tags)) {
|
|
9217
|
+
query["Tags"] = request.tags;
|
|
9218
|
+
}
|
|
9219
|
+
|
|
8920
9220
|
if (!Util.isUnset(request.username)) {
|
|
8921
9221
|
query["Username"] = request.username;
|
|
8922
9222
|
}
|
|
@@ -10565,6 +10865,10 @@ export default class Client extends OpenApi {
|
|
|
10565
10865
|
query["OrderId"] = request.orderId;
|
|
10566
10866
|
}
|
|
10567
10867
|
|
|
10868
|
+
if (!Util.isUnset(request.tags)) {
|
|
10869
|
+
query["Tags"] = request.tags;
|
|
10870
|
+
}
|
|
10871
|
+
|
|
10568
10872
|
let req = new $OpenApi.OpenApiRequest({
|
|
10569
10873
|
query: OpenApiUtil.query(query),
|
|
10570
10874
|
});
|
|
@@ -10960,6 +11264,10 @@ export default class Client extends OpenApi {
|
|
|
10960
11264
|
query["SignPrivateKey"] = request.signPrivateKey;
|
|
10961
11265
|
}
|
|
10962
11266
|
|
|
11267
|
+
if (!Util.isUnset(request.tags)) {
|
|
11268
|
+
query["Tags"] = request.tags;
|
|
11269
|
+
}
|
|
11270
|
+
|
|
10963
11271
|
let req = new $OpenApi.OpenApiRequest({
|
|
10964
11272
|
query: OpenApiUtil.query(query),
|
|
10965
11273
|
});
|