@alicloud/cas20200407 2.0.0 → 2.0.2
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 +206 -24
- package/dist/client.js +43 -1
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +225 -24
package/dist/client.d.ts
CHANGED
|
@@ -564,6 +564,9 @@ export declare class CreateCsrRequest extends $tea.Model {
|
|
|
564
564
|
/**
|
|
565
565
|
* @remarks
|
|
566
566
|
* The name of the company.
|
|
567
|
+
*
|
|
568
|
+
* @example
|
|
569
|
+
* aly
|
|
567
570
|
*/
|
|
568
571
|
corpName?: string;
|
|
569
572
|
/**
|
|
@@ -1094,6 +1097,8 @@ export declare class DeleteDeploymentJobResponse extends $tea.Model {
|
|
|
1094
1097
|
export declare class DeletePCACertRequest extends $tea.Model {
|
|
1095
1098
|
/**
|
|
1096
1099
|
* @remarks
|
|
1100
|
+
* The unique identifier of the certificate. You can call the [ListCert](https://help.aliyun.com/document_detail/452331.html) operation to query the unique identifiers of certificates.
|
|
1101
|
+
*
|
|
1097
1102
|
* This parameter is required.
|
|
1098
1103
|
*
|
|
1099
1104
|
* @example
|
|
@@ -1112,6 +1117,9 @@ export declare class DeletePCACertRequest extends $tea.Model {
|
|
|
1112
1117
|
}
|
|
1113
1118
|
export declare class DeletePCACertResponseBody extends $tea.Model {
|
|
1114
1119
|
/**
|
|
1120
|
+
* @remarks
|
|
1121
|
+
* The ID of the request.
|
|
1122
|
+
*
|
|
1115
1123
|
* @example
|
|
1116
1124
|
* 15C66C7B-671A-4297-9187-2C4477247A74
|
|
1117
1125
|
*/
|
|
@@ -2292,6 +2300,19 @@ export declare class GetUserCertificateDetailResponseBody extends $tea.Model {
|
|
|
2292
2300
|
* ---BEGIN CERTIFICATE----- MIIF...... -----END CERTIFICATE-----
|
|
2293
2301
|
*/
|
|
2294
2302
|
cert?: string;
|
|
2303
|
+
/**
|
|
2304
|
+
* @remarks
|
|
2305
|
+
* The certificate chain.
|
|
2306
|
+
*/
|
|
2307
|
+
certChain?: GetUserCertificateDetailResponseBodyCertChain[];
|
|
2308
|
+
/**
|
|
2309
|
+
* @remarks
|
|
2310
|
+
* The unique identifier of the certificate. The value of this parameter must be in the {Certificate ID}-cn-hangzhou format.
|
|
2311
|
+
*
|
|
2312
|
+
* @example
|
|
2313
|
+
* 10741304-cn-hangzhou
|
|
2314
|
+
*/
|
|
2315
|
+
certIdentifier?: string;
|
|
2295
2316
|
/**
|
|
2296
2317
|
* @remarks
|
|
2297
2318
|
* The city of the company or organization to which the certificate purchaser belongs.
|
|
@@ -2373,7 +2394,7 @@ export declare class GetUserCertificateDetailResponseBody extends $tea.Model {
|
|
|
2373
2394
|
id?: number;
|
|
2374
2395
|
/**
|
|
2375
2396
|
* @remarks
|
|
2376
|
-
* The instance ID.
|
|
2397
|
+
* The instance ID of the resource.
|
|
2377
2398
|
*
|
|
2378
2399
|
* @example
|
|
2379
2400
|
* cas-upload-50yf1q
|
|
@@ -2453,7 +2474,7 @@ export declare class GetUserCertificateDetailResponseBody extends $tea.Model {
|
|
|
2453
2474
|
sans?: string;
|
|
2454
2475
|
/**
|
|
2455
2476
|
* @remarks
|
|
2456
|
-
* The
|
|
2477
|
+
* The serial number of the certificate.
|
|
2457
2478
|
*
|
|
2458
2479
|
* @example
|
|
2459
2480
|
* 06ea4879591ddf84e6c8b6ba43607ccf
|
|
@@ -2461,7 +2482,7 @@ export declare class GetUserCertificateDetailResponseBody extends $tea.Model {
|
|
|
2461
2482
|
serialNo?: string;
|
|
2462
2483
|
/**
|
|
2463
2484
|
* @remarks
|
|
2464
|
-
* The
|
|
2485
|
+
* The SHA-2 value of the certificate.
|
|
2465
2486
|
*
|
|
2466
2487
|
* @example
|
|
2467
2488
|
* 840707695D5EE41323102DDC2CB4924AA561012FBDC4E1A6324147119ED3C339
|
|
@@ -2890,6 +2911,10 @@ export declare class ListCloudAccessResponse extends $tea.Model {
|
|
|
2890
2911
|
});
|
|
2891
2912
|
}
|
|
2892
2913
|
export declare class ListCloudResourcesRequest extends $tea.Model {
|
|
2914
|
+
/**
|
|
2915
|
+
* @remarks
|
|
2916
|
+
* The certificate IDs.
|
|
2917
|
+
*/
|
|
2893
2918
|
certIds?: number[];
|
|
2894
2919
|
/**
|
|
2895
2920
|
* @remarks
|
|
@@ -2897,8 +2922,10 @@ export declare class ListCloudResourcesRequest extends $tea.Model {
|
|
|
2897
2922
|
*
|
|
2898
2923
|
* Valid values:
|
|
2899
2924
|
*
|
|
2900
|
-
* * Tencent
|
|
2901
|
-
* *
|
|
2925
|
+
* * Tencent
|
|
2926
|
+
* * Huawei
|
|
2927
|
+
* * Aws
|
|
2928
|
+
* * aliyun
|
|
2902
2929
|
*
|
|
2903
2930
|
* @example
|
|
2904
2931
|
* Tencent
|
|
@@ -2906,7 +2933,44 @@ export declare class ListCloudResourcesRequest extends $tea.Model {
|
|
|
2906
2933
|
cloudName?: string;
|
|
2907
2934
|
/**
|
|
2908
2935
|
* @remarks
|
|
2909
|
-
* The cloud service.
|
|
2936
|
+
* The cloud service.
|
|
2937
|
+
*
|
|
2938
|
+
* Valid values when CloudName is set to aliyun:
|
|
2939
|
+
*
|
|
2940
|
+
* * SLB: Classic Load Balancer (CLB). This value is available only on the China site (aliyun.com).
|
|
2941
|
+
* * LIVE: ApsaraVideo Live. This value is available only on the China site (aliyun.com).
|
|
2942
|
+
* * webHosting: Cloud Web Hosting. This value is available only on the China site (aliyun.com).
|
|
2943
|
+
* * VOD: ApsaraVideo VOD. This value is available only on the China site (aliyun.com).
|
|
2944
|
+
* * CR: Container Registry. This value is available only on the China site (aliyun.com).
|
|
2945
|
+
* * DCDN: Dynamic Content Delivery Network (DCDN).
|
|
2946
|
+
* * DDOS: Anti-DDoS.
|
|
2947
|
+
* * CDN: Alibaba Cloud CDN (CDN).
|
|
2948
|
+
* * ALB: Application Load Balancer (ALB).
|
|
2949
|
+
* * APIGateway: API Gateway.
|
|
2950
|
+
* * FC: Function Compute.
|
|
2951
|
+
* * GA: Global Accelerator (GA).
|
|
2952
|
+
* * MSE: Microservices Engine (MSE).
|
|
2953
|
+
* * NLB: Network Load Balancer (NLB).
|
|
2954
|
+
* * OSS: Object Storage Service (OSS).
|
|
2955
|
+
* * SAE: Serverless App Engine (SAE).
|
|
2956
|
+
* * WAF: Web Application Firewall (WAF).
|
|
2957
|
+
*
|
|
2958
|
+
* Valid values when CloudName is set to Tencent:
|
|
2959
|
+
*
|
|
2960
|
+
* * TencentCDN: Content Delivery Network (CDN).
|
|
2961
|
+
* * TencentCLB: CLB.
|
|
2962
|
+
* * TencentWAF: WAF.
|
|
2963
|
+
*
|
|
2964
|
+
* Valid value when CloudName is set to Huawei:
|
|
2965
|
+
*
|
|
2966
|
+
* * HuaweiCDN: CDN.
|
|
2967
|
+
*
|
|
2968
|
+
* Valid values when CloudName is set to Aws:
|
|
2969
|
+
*
|
|
2970
|
+
* * AwsCloudFront: Amazon CloudFront.
|
|
2971
|
+
* * AwsCLB: CLB.
|
|
2972
|
+
* * AwsALB: ALB.
|
|
2973
|
+
* * AwsNLB: NLB.
|
|
2910
2974
|
*
|
|
2911
2975
|
* @example
|
|
2912
2976
|
* SLB
|
|
@@ -2922,7 +2986,7 @@ export declare class ListCloudResourcesRequest extends $tea.Model {
|
|
|
2922
2986
|
currentPage?: number;
|
|
2923
2987
|
/**
|
|
2924
2988
|
* @remarks
|
|
2925
|
-
* The domain name bound to the cloud resource.
|
|
2989
|
+
* The keyword of the domain name or instance ID bound to the cloud resource.
|
|
2926
2990
|
*
|
|
2927
2991
|
* @example
|
|
2928
2992
|
* cert-instanceId
|
|
@@ -2930,7 +2994,7 @@ export declare class ListCloudResourcesRequest extends $tea.Model {
|
|
|
2930
2994
|
keyword?: string;
|
|
2931
2995
|
/**
|
|
2932
2996
|
* @remarks
|
|
2933
|
-
* The AccessKey ID used to access cloud resources.
|
|
2997
|
+
* The AccessKey ID that is used to access cloud resources.
|
|
2934
2998
|
*
|
|
2935
2999
|
* @example
|
|
2936
3000
|
* 21
|
|
@@ -2938,7 +3002,7 @@ export declare class ListCloudResourcesRequest extends $tea.Model {
|
|
|
2938
3002
|
secretId?: string;
|
|
2939
3003
|
/**
|
|
2940
3004
|
* @remarks
|
|
2941
|
-
* The number of
|
|
3005
|
+
* The number of entries per page. Default value: **20**.
|
|
2942
3006
|
*
|
|
2943
3007
|
* @example
|
|
2944
3008
|
* 20
|
|
@@ -2955,6 +3019,10 @@ export declare class ListCloudResourcesRequest extends $tea.Model {
|
|
|
2955
3019
|
});
|
|
2956
3020
|
}
|
|
2957
3021
|
export declare class ListCloudResourcesShrinkRequest extends $tea.Model {
|
|
3022
|
+
/**
|
|
3023
|
+
* @remarks
|
|
3024
|
+
* The certificate IDs.
|
|
3025
|
+
*/
|
|
2958
3026
|
certIdsShrink?: string;
|
|
2959
3027
|
/**
|
|
2960
3028
|
* @remarks
|
|
@@ -2962,8 +3030,10 @@ export declare class ListCloudResourcesShrinkRequest extends $tea.Model {
|
|
|
2962
3030
|
*
|
|
2963
3031
|
* Valid values:
|
|
2964
3032
|
*
|
|
2965
|
-
* * Tencent
|
|
2966
|
-
* *
|
|
3033
|
+
* * Tencent
|
|
3034
|
+
* * Huawei
|
|
3035
|
+
* * Aws
|
|
3036
|
+
* * aliyun
|
|
2967
3037
|
*
|
|
2968
3038
|
* @example
|
|
2969
3039
|
* Tencent
|
|
@@ -2971,7 +3041,44 @@ export declare class ListCloudResourcesShrinkRequest extends $tea.Model {
|
|
|
2971
3041
|
cloudName?: string;
|
|
2972
3042
|
/**
|
|
2973
3043
|
* @remarks
|
|
2974
|
-
* The cloud service.
|
|
3044
|
+
* The cloud service.
|
|
3045
|
+
*
|
|
3046
|
+
* Valid values when CloudName is set to aliyun:
|
|
3047
|
+
*
|
|
3048
|
+
* * SLB: Classic Load Balancer (CLB). This value is available only on the China site (aliyun.com).
|
|
3049
|
+
* * LIVE: ApsaraVideo Live. This value is available only on the China site (aliyun.com).
|
|
3050
|
+
* * webHosting: Cloud Web Hosting. This value is available only on the China site (aliyun.com).
|
|
3051
|
+
* * VOD: ApsaraVideo VOD. This value is available only on the China site (aliyun.com).
|
|
3052
|
+
* * CR: Container Registry. This value is available only on the China site (aliyun.com).
|
|
3053
|
+
* * DCDN: Dynamic Content Delivery Network (DCDN).
|
|
3054
|
+
* * DDOS: Anti-DDoS.
|
|
3055
|
+
* * CDN: Alibaba Cloud CDN (CDN).
|
|
3056
|
+
* * ALB: Application Load Balancer (ALB).
|
|
3057
|
+
* * APIGateway: API Gateway.
|
|
3058
|
+
* * FC: Function Compute.
|
|
3059
|
+
* * GA: Global Accelerator (GA).
|
|
3060
|
+
* * MSE: Microservices Engine (MSE).
|
|
3061
|
+
* * NLB: Network Load Balancer (NLB).
|
|
3062
|
+
* * OSS: Object Storage Service (OSS).
|
|
3063
|
+
* * SAE: Serverless App Engine (SAE).
|
|
3064
|
+
* * WAF: Web Application Firewall (WAF).
|
|
3065
|
+
*
|
|
3066
|
+
* Valid values when CloudName is set to Tencent:
|
|
3067
|
+
*
|
|
3068
|
+
* * TencentCDN: Content Delivery Network (CDN).
|
|
3069
|
+
* * TencentCLB: CLB.
|
|
3070
|
+
* * TencentWAF: WAF.
|
|
3071
|
+
*
|
|
3072
|
+
* Valid value when CloudName is set to Huawei:
|
|
3073
|
+
*
|
|
3074
|
+
* * HuaweiCDN: CDN.
|
|
3075
|
+
*
|
|
3076
|
+
* Valid values when CloudName is set to Aws:
|
|
3077
|
+
*
|
|
3078
|
+
* * AwsCloudFront: Amazon CloudFront.
|
|
3079
|
+
* * AwsCLB: CLB.
|
|
3080
|
+
* * AwsALB: ALB.
|
|
3081
|
+
* * AwsNLB: NLB.
|
|
2975
3082
|
*
|
|
2976
3083
|
* @example
|
|
2977
3084
|
* SLB
|
|
@@ -2987,7 +3094,7 @@ export declare class ListCloudResourcesShrinkRequest extends $tea.Model {
|
|
|
2987
3094
|
currentPage?: number;
|
|
2988
3095
|
/**
|
|
2989
3096
|
* @remarks
|
|
2990
|
-
* The domain name bound to the cloud resource.
|
|
3097
|
+
* The keyword of the domain name or instance ID bound to the cloud resource.
|
|
2991
3098
|
*
|
|
2992
3099
|
* @example
|
|
2993
3100
|
* cert-instanceId
|
|
@@ -2995,7 +3102,7 @@ export declare class ListCloudResourcesShrinkRequest extends $tea.Model {
|
|
|
2995
3102
|
keyword?: string;
|
|
2996
3103
|
/**
|
|
2997
3104
|
* @remarks
|
|
2998
|
-
* The AccessKey ID used to access cloud resources.
|
|
3105
|
+
* The AccessKey ID that is used to access cloud resources.
|
|
2999
3106
|
*
|
|
3000
3107
|
* @example
|
|
3001
3108
|
* 21
|
|
@@ -3003,7 +3110,7 @@ export declare class ListCloudResourcesShrinkRequest extends $tea.Model {
|
|
|
3003
3110
|
secretId?: string;
|
|
3004
3111
|
/**
|
|
3005
3112
|
* @remarks
|
|
3006
|
-
* The number of
|
|
3113
|
+
* The number of entries per page. Default value: **20**.
|
|
3007
3114
|
*
|
|
3008
3115
|
* @example
|
|
3009
3116
|
* 20
|
|
@@ -3030,7 +3137,7 @@ export declare class ListCloudResourcesResponseBody extends $tea.Model {
|
|
|
3030
3137
|
currentPage?: number;
|
|
3031
3138
|
/**
|
|
3032
3139
|
* @remarks
|
|
3033
|
-
* The
|
|
3140
|
+
* The data returned for the request.
|
|
3034
3141
|
*/
|
|
3035
3142
|
data?: ListCloudResourcesResponseBodyData[];
|
|
3036
3143
|
/**
|
|
@@ -3043,7 +3150,7 @@ export declare class ListCloudResourcesResponseBody extends $tea.Model {
|
|
|
3043
3150
|
requestId?: string;
|
|
3044
3151
|
/**
|
|
3045
3152
|
* @remarks
|
|
3046
|
-
* The number of
|
|
3153
|
+
* The number of entries per page. Default value: **20**.
|
|
3047
3154
|
*
|
|
3048
3155
|
* @example
|
|
3049
3156
|
* 20
|
|
@@ -4875,6 +4982,57 @@ export declare class DescribeDeploymentJobStatusResponseBodyProductWorkerCount e
|
|
|
4875
4982
|
[key: string]: any;
|
|
4876
4983
|
});
|
|
4877
4984
|
}
|
|
4985
|
+
export declare class GetUserCertificateDetailResponseBodyCertChain extends $tea.Model {
|
|
4986
|
+
/**
|
|
4987
|
+
* @remarks
|
|
4988
|
+
* The common name of the certificate.
|
|
4989
|
+
*
|
|
4990
|
+
* @example
|
|
4991
|
+
* test
|
|
4992
|
+
*/
|
|
4993
|
+
commonName?: string;
|
|
4994
|
+
/**
|
|
4995
|
+
* @remarks
|
|
4996
|
+
* The common name of the issuer.
|
|
4997
|
+
*
|
|
4998
|
+
* @example
|
|
4999
|
+
* Encryption Everywhere DV TLS CA - G2
|
|
5000
|
+
*/
|
|
5001
|
+
issuerCommonName?: string;
|
|
5002
|
+
/**
|
|
5003
|
+
* @remarks
|
|
5004
|
+
* The end of the validity period of the certificate.
|
|
5005
|
+
*
|
|
5006
|
+
* @example
|
|
5007
|
+
* 17322613180000
|
|
5008
|
+
*/
|
|
5009
|
+
notAfter?: number;
|
|
5010
|
+
/**
|
|
5011
|
+
* @remarks
|
|
5012
|
+
* The beginning of the validity period of the certificate.
|
|
5013
|
+
*
|
|
5014
|
+
* @example
|
|
5015
|
+
* 17322633180000
|
|
5016
|
+
*/
|
|
5017
|
+
notBefore?: number;
|
|
5018
|
+
/**
|
|
5019
|
+
* @remarks
|
|
5020
|
+
* The remaining days of the certificate validity period.
|
|
5021
|
+
*
|
|
5022
|
+
* @example
|
|
5023
|
+
* 1000
|
|
5024
|
+
*/
|
|
5025
|
+
remainDay?: number;
|
|
5026
|
+
static names(): {
|
|
5027
|
+
[key: string]: string;
|
|
5028
|
+
};
|
|
5029
|
+
static types(): {
|
|
5030
|
+
[key: string]: any;
|
|
5031
|
+
};
|
|
5032
|
+
constructor(map?: {
|
|
5033
|
+
[key: string]: any;
|
|
5034
|
+
});
|
|
5035
|
+
}
|
|
4878
5036
|
export declare class ListCertResponseBodyCertList extends $tea.Model {
|
|
4879
5037
|
/**
|
|
4880
5038
|
* @remarks
|
|
@@ -5156,9 +5314,9 @@ export declare class ListCloudResourcesResponseBodyData extends $tea.Model {
|
|
|
5156
5314
|
certStartTime?: string;
|
|
5157
5315
|
/**
|
|
5158
5316
|
* @remarks
|
|
5159
|
-
* The AccessKey ID used to access cloud resources.
|
|
5317
|
+
* The AccessKey ID that is used to access cloud resources.
|
|
5160
5318
|
*
|
|
5161
|
-
* > This parameter is
|
|
5319
|
+
* > This parameter is returned only when you deploy certificates to cloud services of third-party clouds.
|
|
5162
5320
|
*
|
|
5163
5321
|
* @example
|
|
5164
5322
|
* 1234
|
|
@@ -5166,10 +5324,14 @@ export declare class ListCloudResourcesResponseBodyData extends $tea.Model {
|
|
|
5166
5324
|
cloudAccessId?: string;
|
|
5167
5325
|
/**
|
|
5168
5326
|
* @remarks
|
|
5169
|
-
* The cloud service provider
|
|
5327
|
+
* The cloud service provider.
|
|
5170
5328
|
*
|
|
5171
|
-
*
|
|
5172
|
-
*
|
|
5329
|
+
* Valid values:
|
|
5330
|
+
*
|
|
5331
|
+
* * Tencent
|
|
5332
|
+
* * Huawei
|
|
5333
|
+
* * Aws
|
|
5334
|
+
* * aliyun
|
|
5173
5335
|
*
|
|
5174
5336
|
* @example
|
|
5175
5337
|
* aliyun
|
|
@@ -5216,8 +5378,8 @@ export declare class ListCloudResourcesResponseBodyData extends $tea.Model {
|
|
|
5216
5378
|
* @remarks
|
|
5217
5379
|
* Indicates whether HTTPS is enabled for the cloud resource. Valid values:
|
|
5218
5380
|
*
|
|
5219
|
-
* * **1**: yes
|
|
5220
|
-
* * **0**: no
|
|
5381
|
+
* * **1**: yes.
|
|
5382
|
+
* * **0**: no.
|
|
5221
5383
|
*
|
|
5222
5384
|
* @example
|
|
5223
5385
|
* 1
|
|
@@ -5368,6 +5530,9 @@ export declare class ListContactResponseBodyContactList extends $tea.Model {
|
|
|
5368
5530
|
/**
|
|
5369
5531
|
* @remarks
|
|
5370
5532
|
* The name of the contact.
|
|
5533
|
+
*
|
|
5534
|
+
* @example
|
|
5535
|
+
* ty-yaoyue.com
|
|
5371
5536
|
*/
|
|
5372
5537
|
name?: string;
|
|
5373
5538
|
/**
|
|
@@ -5408,6 +5573,9 @@ export declare class ListCsrResponseBodyCsrList extends $tea.Model {
|
|
|
5408
5573
|
/**
|
|
5409
5574
|
* @remarks
|
|
5410
5575
|
* The name of the company.
|
|
5576
|
+
*
|
|
5577
|
+
* @example
|
|
5578
|
+
* corp_name
|
|
5411
5579
|
*/
|
|
5412
5580
|
corpName?: string;
|
|
5413
5581
|
/**
|
|
@@ -6828,12 +6996,26 @@ export default class Client extends OpenApi {
|
|
|
6828
6996
|
*/
|
|
6829
6997
|
deleteDeploymentJob(request: DeleteDeploymentJobRequest): Promise<DeleteDeploymentJobResponse>;
|
|
6830
6998
|
/**
|
|
6999
|
+
* Deletes a private certificate from a certificate application repository.
|
|
7000
|
+
*
|
|
7001
|
+
* @remarks
|
|
7002
|
+
* You can call the DeletePCACert operation to delete a private certificate from a certificate application repository.
|
|
7003
|
+
* ### Limits
|
|
7004
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7005
|
+
*
|
|
6831
7006
|
* @param request - DeletePCACertRequest
|
|
6832
7007
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
6833
7008
|
* @returns DeletePCACertResponse
|
|
6834
7009
|
*/
|
|
6835
7010
|
deletePCACertWithOptions(request: DeletePCACertRequest, runtime: $Util.RuntimeOptions): Promise<DeletePCACertResponse>;
|
|
6836
7011
|
/**
|
|
7012
|
+
* Deletes a private certificate from a certificate application repository.
|
|
7013
|
+
*
|
|
7014
|
+
* @remarks
|
|
7015
|
+
* You can call the DeletePCACert operation to delete a private certificate from a certificate application repository.
|
|
7016
|
+
* ### Limits
|
|
7017
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7018
|
+
*
|
|
6837
7019
|
* @param request - DeletePCACertRequest
|
|
6838
7020
|
* @returns DeletePCACertResponse
|
|
6839
7021
|
*/
|
package/dist/client.js
CHANGED
|
@@ -28,7 +28,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.DescribeDeploymentJobResponseBody = exports.DescribeDeploymentJobRequest = exports.DescribeCloudResourceStatusResponse = exports.DescribeCloudResourceStatusResponseBody = exports.DescribeCloudResourceStatusRequest = exports.DescribeCertificateStateResponse = exports.DescribeCertificateStateResponseBody = exports.DescribeCertificateStateRequest = exports.DeleteWorkerResourceResponse = exports.DeleteWorkerResourceResponseBody = exports.DeleteWorkerResourceRequest = exports.DeleteUserCertificateResponse = exports.DeleteUserCertificateResponseBody = exports.DeleteUserCertificateRequest = exports.DeletePCACertResponse = exports.DeletePCACertResponseBody = exports.DeletePCACertRequest = exports.DeleteDeploymentJobResponse = exports.DeleteDeploymentJobResponseBody = exports.DeleteDeploymentJobRequest = exports.DeleteCsrResponse = exports.DeleteCsrResponseBody = exports.DeleteCsrRequest = exports.DeleteCertificateRequestResponse = exports.DeleteCertificateRequestResponseBody = exports.DeleteCertificateRequestRequest = exports.DecryptResponse = exports.DecryptResponseBody = exports.DecryptRequest = exports.CreateDeploymentJobResponse = exports.CreateDeploymentJobResponseBody = exports.CreateDeploymentJobRequest = exports.CreateCsrResponse = exports.CreateCsrResponseBody = exports.CreateCsrRequest = exports.CreateCertificateWithCsrRequestResponse = exports.CreateCertificateWithCsrRequestResponseBody = exports.CreateCertificateWithCsrRequestRequest = exports.CreateCertificateRequestResponse = exports.CreateCertificateRequestResponseBody = exports.CreateCertificateRequestRequest = exports.CreateCertificateForPackageRequestResponse = exports.CreateCertificateForPackageRequestResponseBody = exports.CreateCertificateForPackageRequestRequest = exports.CancelOrderRequestResponse = exports.CancelOrderRequestResponseBody = exports.CancelOrderRequestRequest = exports.CancelCertificateForPackageRequestResponse = exports.CancelCertificateForPackageRequestResponseBody = exports.CancelCertificateForPackageRequestRequest = void 0;
|
|
30
30
|
exports.ListWorkerResourceRequest = exports.ListUserCertificateOrderResponse = exports.ListUserCertificateOrderResponseBody = exports.ListUserCertificateOrderRequest = exports.ListDeploymentJobResourceResponse = exports.ListDeploymentJobResourceResponseBody = exports.ListDeploymentJobResourceRequest = exports.ListDeploymentJobCertResponse = exports.ListDeploymentJobCertResponseBody = exports.ListDeploymentJobCertRequest = exports.ListDeploymentJobResponse = exports.ListDeploymentJobResponseBody = exports.ListDeploymentJobRequest = exports.ListCsrResponse = exports.ListCsrResponseBody = exports.ListCsrRequest = exports.ListContactResponse = exports.ListContactResponseBody = exports.ListContactRequest = exports.ListCloudResourcesResponse = exports.ListCloudResourcesResponseBody = exports.ListCloudResourcesShrinkRequest = exports.ListCloudResourcesRequest = exports.ListCloudAccessResponse = exports.ListCloudAccessResponseBody = exports.ListCloudAccessRequest = exports.ListCertWarehouseResponse = exports.ListCertWarehouseResponseBody = exports.ListCertWarehouseRequest = exports.ListCertResponse = exports.ListCertResponseBody = exports.ListCertRequest = exports.GetUserCertificateDetailResponse = exports.GetUserCertificateDetailResponseBody = exports.GetUserCertificateDetailRequest = exports.GetCsrDetailResponse = exports.GetCsrDetailResponseBody = exports.GetCsrDetailRequest = exports.GetCertWarehouseQuotaResponse = exports.GetCertWarehouseQuotaResponseBody = exports.EncryptResponse = exports.EncryptResponseBody = exports.EncryptRequest = exports.DescribePackageStateResponse = exports.DescribePackageStateResponseBody = exports.DescribePackageStateRequest = exports.DescribeDeploymentJobStatusResponse = exports.DescribeDeploymentJobStatusResponseBody = exports.DescribeDeploymentJobStatusRequest = exports.DescribeDeploymentJobResponse = void 0;
|
|
31
|
-
exports.ListWorkerResourceResponseBodyData = exports.ListUserCertificateOrderResponseBodyCertificateOrderList = exports.ListDeploymentJobResourceResponseBodyData = exports.ListDeploymentJobCertResponseBodyData = exports.ListDeploymentJobResponseBodyData = exports.ListCsrResponseBodyCsrList = exports.ListContactResponseBodyContactList = exports.ListCloudResourcesResponseBodyData = exports.ListCloudAccessResponseBodyCloudAccessList = exports.ListCertWarehouseResponseBodyCertWarehouseList = exports.ListCertResponseBodyCertList = exports.DescribeDeploymentJobStatusResponseBodyProductWorkerCount = exports.DescribeDeploymentJobResponseBodyCasContacts = exports.DescribeCloudResourceStatusResponseBodyData = exports.VerifyResponse = exports.VerifyResponseBody = exports.VerifyRequest = exports.UploadUserCertificateResponse = exports.UploadUserCertificateResponseBody = exports.UploadUserCertificateRequest = exports.UploadCsrResponse = exports.UploadCsrResponseBody = exports.UploadCsrRequest = exports.UpdateWorkerResourceStatusResponse = exports.UpdateWorkerResourceStatusResponseBody = exports.UpdateWorkerResourceStatusRequest = exports.UpdateDeploymentJobStatusResponse = exports.UpdateDeploymentJobStatusResponseBody = exports.UpdateDeploymentJobStatusRequest = exports.UpdateDeploymentJobResponse = exports.UpdateDeploymentJobResponseBody = exports.UpdateDeploymentJobRequest = exports.UpdateCsrResponse = exports.UpdateCsrResponseBody = exports.UpdateCsrRequest = exports.SignResponse = exports.SignResponseBody = exports.SignRequest = exports.RenewCertificateOrderForPackageRequestResponse = exports.RenewCertificateOrderForPackageRequestResponseBody = exports.RenewCertificateOrderForPackageRequestRequest = exports.MoveResourceGroupResponse = exports.MoveResourceGroupResponseBody = exports.MoveResourceGroupRequest = exports.ListWorkerResourceResponse = exports.ListWorkerResourceResponseBody = void 0;
|
|
31
|
+
exports.ListWorkerResourceResponseBodyData = exports.ListUserCertificateOrderResponseBodyCertificateOrderList = exports.ListDeploymentJobResourceResponseBodyData = exports.ListDeploymentJobCertResponseBodyData = exports.ListDeploymentJobResponseBodyData = exports.ListCsrResponseBodyCsrList = exports.ListContactResponseBodyContactList = exports.ListCloudResourcesResponseBodyData = exports.ListCloudAccessResponseBodyCloudAccessList = exports.ListCertWarehouseResponseBodyCertWarehouseList = exports.ListCertResponseBodyCertList = exports.GetUserCertificateDetailResponseBodyCertChain = exports.DescribeDeploymentJobStatusResponseBodyProductWorkerCount = exports.DescribeDeploymentJobResponseBodyCasContacts = exports.DescribeCloudResourceStatusResponseBodyData = exports.VerifyResponse = exports.VerifyResponseBody = exports.VerifyRequest = exports.UploadUserCertificateResponse = exports.UploadUserCertificateResponseBody = exports.UploadUserCertificateRequest = exports.UploadCsrResponse = exports.UploadCsrResponseBody = exports.UploadCsrRequest = exports.UpdateWorkerResourceStatusResponse = exports.UpdateWorkerResourceStatusResponseBody = exports.UpdateWorkerResourceStatusRequest = exports.UpdateDeploymentJobStatusResponse = exports.UpdateDeploymentJobStatusResponseBody = exports.UpdateDeploymentJobStatusRequest = exports.UpdateDeploymentJobResponse = exports.UpdateDeploymentJobResponseBody = exports.UpdateDeploymentJobRequest = exports.UpdateCsrResponse = exports.UpdateCsrResponseBody = exports.UpdateCsrRequest = exports.SignResponse = exports.SignResponseBody = exports.SignRequest = exports.RenewCertificateOrderForPackageRequestResponse = exports.RenewCertificateOrderForPackageRequestResponseBody = exports.RenewCertificateOrderForPackageRequestRequest = exports.MoveResourceGroupResponse = exports.MoveResourceGroupResponseBody = exports.MoveResourceGroupRequest = exports.ListWorkerResourceResponse = exports.ListWorkerResourceResponseBody = void 0;
|
|
32
32
|
// This file is auto-generated, don't edit it
|
|
33
33
|
/**
|
|
34
34
|
*/
|
|
@@ -1385,6 +1385,8 @@ class GetUserCertificateDetailResponseBody extends $tea.Model {
|
|
|
1385
1385
|
algorithm: 'Algorithm',
|
|
1386
1386
|
buyInAliyun: 'BuyInAliyun',
|
|
1387
1387
|
cert: 'Cert',
|
|
1388
|
+
certChain: 'CertChain',
|
|
1389
|
+
certIdentifier: 'CertIdentifier',
|
|
1388
1390
|
city: 'City',
|
|
1389
1391
|
common: 'Common',
|
|
1390
1392
|
country: 'Country',
|
|
@@ -1416,6 +1418,8 @@ class GetUserCertificateDetailResponseBody extends $tea.Model {
|
|
|
1416
1418
|
algorithm: 'string',
|
|
1417
1419
|
buyInAliyun: 'boolean',
|
|
1418
1420
|
cert: 'string',
|
|
1421
|
+
certChain: { 'type': 'array', 'itemType': GetUserCertificateDetailResponseBodyCertChain },
|
|
1422
|
+
certIdentifier: 'string',
|
|
1419
1423
|
city: 'string',
|
|
1420
1424
|
common: 'string',
|
|
1421
1425
|
country: 'string',
|
|
@@ -2869,6 +2873,30 @@ class DescribeDeploymentJobStatusResponseBodyProductWorkerCount extends $tea.Mod
|
|
|
2869
2873
|
}
|
|
2870
2874
|
}
|
|
2871
2875
|
exports.DescribeDeploymentJobStatusResponseBodyProductWorkerCount = DescribeDeploymentJobStatusResponseBodyProductWorkerCount;
|
|
2876
|
+
class GetUserCertificateDetailResponseBodyCertChain extends $tea.Model {
|
|
2877
|
+
static names() {
|
|
2878
|
+
return {
|
|
2879
|
+
commonName: 'CommonName',
|
|
2880
|
+
issuerCommonName: 'IssuerCommonName',
|
|
2881
|
+
notAfter: 'NotAfter',
|
|
2882
|
+
notBefore: 'NotBefore',
|
|
2883
|
+
remainDay: 'RemainDay',
|
|
2884
|
+
};
|
|
2885
|
+
}
|
|
2886
|
+
static types() {
|
|
2887
|
+
return {
|
|
2888
|
+
commonName: 'string',
|
|
2889
|
+
issuerCommonName: 'string',
|
|
2890
|
+
notAfter: 'number',
|
|
2891
|
+
notBefore: 'number',
|
|
2892
|
+
remainDay: 'number',
|
|
2893
|
+
};
|
|
2894
|
+
}
|
|
2895
|
+
constructor(map) {
|
|
2896
|
+
super(map);
|
|
2897
|
+
}
|
|
2898
|
+
}
|
|
2899
|
+
exports.GetUserCertificateDetailResponseBodyCertChain = GetUserCertificateDetailResponseBodyCertChain;
|
|
2872
2900
|
class ListCertResponseBodyCertList extends $tea.Model {
|
|
2873
2901
|
static names() {
|
|
2874
2902
|
return {
|
|
@@ -4038,6 +4066,13 @@ class Client extends openapi_client_1.default {
|
|
|
4038
4066
|
return await this.deleteDeploymentJobWithOptions(request, runtime);
|
|
4039
4067
|
}
|
|
4040
4068
|
/**
|
|
4069
|
+
* Deletes a private certificate from a certificate application repository.
|
|
4070
|
+
*
|
|
4071
|
+
* @remarks
|
|
4072
|
+
* You can call the DeletePCACert operation to delete a private certificate from a certificate application repository.
|
|
4073
|
+
* ### Limits
|
|
4074
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4075
|
+
*
|
|
4041
4076
|
* @param request - DeletePCACertRequest
|
|
4042
4077
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4043
4078
|
* @returns DeletePCACertResponse
|
|
@@ -4065,6 +4100,13 @@ class Client extends openapi_client_1.default {
|
|
|
4065
4100
|
return $tea.cast(await this.callApi(params, req, runtime), new DeletePCACertResponse({}));
|
|
4066
4101
|
}
|
|
4067
4102
|
/**
|
|
4103
|
+
* Deletes a private certificate from a certificate application repository.
|
|
4104
|
+
*
|
|
4105
|
+
* @remarks
|
|
4106
|
+
* You can call the DeletePCACert operation to delete a private certificate from a certificate application repository.
|
|
4107
|
+
* ### Limits
|
|
4108
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4109
|
+
*
|
|
4068
4110
|
* @param request - DeletePCACertRequest
|
|
4069
4111
|
* @returns DeletePCACertResponse
|
|
4070
4112
|
*/
|