@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 CHANGED
@@ -202,6 +202,7 @@ export declare class CreateCertificateForPackageRequestRequest extends $tea.Mode
202
202
  * symantec-free-1-free
203
203
  */
204
204
  productCode?: string;
205
+ tags?: CreateCertificateForPackageRequestRequestTags[];
205
206
  /**
206
207
  * @remarks
207
208
  * The name of the applicant.
@@ -329,6 +330,7 @@ export declare class CreateCertificateRequestRequest extends $tea.Model {
329
330
  * symantec-free-1-free
330
331
  */
331
332
  productCode?: string;
333
+ tags?: CreateCertificateRequestRequestTags[];
332
334
  /**
333
335
  * @remarks
334
336
  * The name of the applicant.
@@ -460,6 +462,7 @@ export declare class CreateCertificateWithCsrRequestRequest extends $tea.Model {
460
462
  * symantec-free-1-free
461
463
  */
462
464
  productCode?: string;
465
+ tags?: CreateCertificateWithCsrRequestRequestTags[];
463
466
  /**
464
467
  * @remarks
465
468
  * The name of the applicant.
@@ -2300,6 +2303,11 @@ export declare class GetUserCertificateDetailResponseBody extends $tea.Model {
2300
2303
  * ---BEGIN CERTIFICATE----- MIIF...... -----END CERTIFICATE-----
2301
2304
  */
2302
2305
  cert?: string;
2306
+ /**
2307
+ * @remarks
2308
+ * The certificate chain.
2309
+ */
2310
+ certChain?: GetUserCertificateDetailResponseBodyCertChain[];
2303
2311
  /**
2304
2312
  * @remarks
2305
2313
  * The unique identifier of the certificate. The value of this parameter must be in the {Certificate ID}-cn-hangzhou format.
@@ -2389,7 +2397,7 @@ export declare class GetUserCertificateDetailResponseBody extends $tea.Model {
2389
2397
  id?: number;
2390
2398
  /**
2391
2399
  * @remarks
2392
- * The instance ID.
2400
+ * The instance ID of the resource.
2393
2401
  *
2394
2402
  * @example
2395
2403
  * cas-upload-50yf1q
@@ -2469,7 +2477,7 @@ export declare class GetUserCertificateDetailResponseBody extends $tea.Model {
2469
2477
  sans?: string;
2470
2478
  /**
2471
2479
  * @remarks
2472
- * The certificate serial No.
2480
+ * The serial number of the certificate.
2473
2481
  *
2474
2482
  * @example
2475
2483
  * 06ea4879591ddf84e6c8b6ba43607ccf
@@ -2477,7 +2485,7 @@ export declare class GetUserCertificateDetailResponseBody extends $tea.Model {
2477
2485
  serialNo?: string;
2478
2486
  /**
2479
2487
  * @remarks
2480
- * The certificate sha2 value.
2488
+ * The SHA-2 value of the certificate.
2481
2489
  *
2482
2490
  * @example
2483
2491
  * 840707695D5EE41323102DDC2CB4924AA561012FBDC4E1A6324147119ED3C339
@@ -2906,6 +2914,10 @@ export declare class ListCloudAccessResponse extends $tea.Model {
2906
2914
  });
2907
2915
  }
2908
2916
  export declare class ListCloudResourcesRequest extends $tea.Model {
2917
+ /**
2918
+ * @remarks
2919
+ * The certificate IDs.
2920
+ */
2909
2921
  certIds?: number[];
2910
2922
  /**
2911
2923
  * @remarks
@@ -2913,8 +2925,10 @@ export declare class ListCloudResourcesRequest extends $tea.Model {
2913
2925
  *
2914
2926
  * Valid values:
2915
2927
  *
2916
- * * Tencent: Tencent Cloud
2917
- * * aliyun: Alibaba Cloud
2928
+ * * Tencent
2929
+ * * Huawei
2930
+ * * Aws
2931
+ * * aliyun
2918
2932
  *
2919
2933
  * @example
2920
2934
  * Tencent
@@ -2922,7 +2936,44 @@ export declare class ListCloudResourcesRequest extends $tea.Model {
2922
2936
  cloudName?: string;
2923
2937
  /**
2924
2938
  * @remarks
2925
- * The cloud service. Only Content Delivery Network (CDN) is supported for Tencent Cloud.
2939
+ * The cloud service.
2940
+ *
2941
+ * Valid values when CloudName is set to aliyun:
2942
+ *
2943
+ * * SLB: Classic Load Balancer (CLB). This value is available only on the China site (aliyun.com).
2944
+ * * LIVE: ApsaraVideo Live. This value is available only on the China site (aliyun.com).
2945
+ * * webHosting: Cloud Web Hosting. This value is available only on the China site (aliyun.com).
2946
+ * * VOD: ApsaraVideo VOD. This value is available only on the China site (aliyun.com).
2947
+ * * CR: Container Registry. This value is available only on the China site (aliyun.com).
2948
+ * * DCDN: Dynamic Content Delivery Network (DCDN).
2949
+ * * DDOS: Anti-DDoS.
2950
+ * * CDN: Alibaba Cloud CDN (CDN).
2951
+ * * ALB: Application Load Balancer (ALB).
2952
+ * * APIGateway: API Gateway.
2953
+ * * FC: Function Compute.
2954
+ * * GA: Global Accelerator (GA).
2955
+ * * MSE: Microservices Engine (MSE).
2956
+ * * NLB: Network Load Balancer (NLB).
2957
+ * * OSS: Object Storage Service (OSS).
2958
+ * * SAE: Serverless App Engine (SAE).
2959
+ * * WAF: Web Application Firewall (WAF).
2960
+ *
2961
+ * Valid values when CloudName is set to Tencent:
2962
+ *
2963
+ * * TencentCDN: Content Delivery Network (CDN).
2964
+ * * TencentCLB: CLB.
2965
+ * * TencentWAF: WAF.
2966
+ *
2967
+ * Valid value when CloudName is set to Huawei:
2968
+ *
2969
+ * * HuaweiCDN: CDN.
2970
+ *
2971
+ * Valid values when CloudName is set to Aws:
2972
+ *
2973
+ * * AwsCloudFront: Amazon CloudFront.
2974
+ * * AwsCLB: CLB.
2975
+ * * AwsALB: ALB.
2976
+ * * AwsNLB: NLB.
2926
2977
  *
2927
2978
  * @example
2928
2979
  * SLB
@@ -2938,7 +2989,7 @@ export declare class ListCloudResourcesRequest extends $tea.Model {
2938
2989
  currentPage?: number;
2939
2990
  /**
2940
2991
  * @remarks
2941
- * The domain name bound to the cloud resource.
2992
+ * The keyword of the domain name or instance ID bound to the cloud resource.
2942
2993
  *
2943
2994
  * @example
2944
2995
  * cert-instanceId
@@ -2946,7 +2997,7 @@ export declare class ListCloudResourcesRequest extends $tea.Model {
2946
2997
  keyword?: string;
2947
2998
  /**
2948
2999
  * @remarks
2949
- * The AccessKey ID used to access cloud resources.
3000
+ * The AccessKey ID that is used to access cloud resources.
2950
3001
  *
2951
3002
  * @example
2952
3003
  * 21
@@ -2954,7 +3005,7 @@ export declare class ListCloudResourcesRequest extends $tea.Model {
2954
3005
  secretId?: string;
2955
3006
  /**
2956
3007
  * @remarks
2957
- * The number of revoked certificates per page. Default value: **20**.
3008
+ * The number of entries per page. Default value: **20**.
2958
3009
  *
2959
3010
  * @example
2960
3011
  * 20
@@ -2971,6 +3022,10 @@ export declare class ListCloudResourcesRequest extends $tea.Model {
2971
3022
  });
2972
3023
  }
2973
3024
  export declare class ListCloudResourcesShrinkRequest extends $tea.Model {
3025
+ /**
3026
+ * @remarks
3027
+ * The certificate IDs.
3028
+ */
2974
3029
  certIdsShrink?: string;
2975
3030
  /**
2976
3031
  * @remarks
@@ -2978,8 +3033,10 @@ export declare class ListCloudResourcesShrinkRequest extends $tea.Model {
2978
3033
  *
2979
3034
  * Valid values:
2980
3035
  *
2981
- * * Tencent: Tencent Cloud
2982
- * * aliyun: Alibaba Cloud
3036
+ * * Tencent
3037
+ * * Huawei
3038
+ * * Aws
3039
+ * * aliyun
2983
3040
  *
2984
3041
  * @example
2985
3042
  * Tencent
@@ -2987,7 +3044,44 @@ export declare class ListCloudResourcesShrinkRequest extends $tea.Model {
2987
3044
  cloudName?: string;
2988
3045
  /**
2989
3046
  * @remarks
2990
- * The cloud service. Only Content Delivery Network (CDN) is supported for Tencent Cloud.
3047
+ * The cloud service.
3048
+ *
3049
+ * Valid values when CloudName is set to aliyun:
3050
+ *
3051
+ * * SLB: Classic Load Balancer (CLB). This value is available only on the China site (aliyun.com).
3052
+ * * LIVE: ApsaraVideo Live. This value is available only on the China site (aliyun.com).
3053
+ * * webHosting: Cloud Web Hosting. This value is available only on the China site (aliyun.com).
3054
+ * * VOD: ApsaraVideo VOD. This value is available only on the China site (aliyun.com).
3055
+ * * CR: Container Registry. This value is available only on the China site (aliyun.com).
3056
+ * * DCDN: Dynamic Content Delivery Network (DCDN).
3057
+ * * DDOS: Anti-DDoS.
3058
+ * * CDN: Alibaba Cloud CDN (CDN).
3059
+ * * ALB: Application Load Balancer (ALB).
3060
+ * * APIGateway: API Gateway.
3061
+ * * FC: Function Compute.
3062
+ * * GA: Global Accelerator (GA).
3063
+ * * MSE: Microservices Engine (MSE).
3064
+ * * NLB: Network Load Balancer (NLB).
3065
+ * * OSS: Object Storage Service (OSS).
3066
+ * * SAE: Serverless App Engine (SAE).
3067
+ * * WAF: Web Application Firewall (WAF).
3068
+ *
3069
+ * Valid values when CloudName is set to Tencent:
3070
+ *
3071
+ * * TencentCDN: Content Delivery Network (CDN).
3072
+ * * TencentCLB: CLB.
3073
+ * * TencentWAF: WAF.
3074
+ *
3075
+ * Valid value when CloudName is set to Huawei:
3076
+ *
3077
+ * * HuaweiCDN: CDN.
3078
+ *
3079
+ * Valid values when CloudName is set to Aws:
3080
+ *
3081
+ * * AwsCloudFront: Amazon CloudFront.
3082
+ * * AwsCLB: CLB.
3083
+ * * AwsALB: ALB.
3084
+ * * AwsNLB: NLB.
2991
3085
  *
2992
3086
  * @example
2993
3087
  * SLB
@@ -3003,7 +3097,7 @@ export declare class ListCloudResourcesShrinkRequest extends $tea.Model {
3003
3097
  currentPage?: number;
3004
3098
  /**
3005
3099
  * @remarks
3006
- * The domain name bound to the cloud resource.
3100
+ * The keyword of the domain name or instance ID bound to the cloud resource.
3007
3101
  *
3008
3102
  * @example
3009
3103
  * cert-instanceId
@@ -3011,7 +3105,7 @@ export declare class ListCloudResourcesShrinkRequest extends $tea.Model {
3011
3105
  keyword?: string;
3012
3106
  /**
3013
3107
  * @remarks
3014
- * The AccessKey ID used to access cloud resources.
3108
+ * The AccessKey ID that is used to access cloud resources.
3015
3109
  *
3016
3110
  * @example
3017
3111
  * 21
@@ -3019,7 +3113,7 @@ export declare class ListCloudResourcesShrinkRequest extends $tea.Model {
3019
3113
  secretId?: string;
3020
3114
  /**
3021
3115
  * @remarks
3022
- * The number of revoked certificates per page. Default value: **20**.
3116
+ * The number of entries per page. Default value: **20**.
3023
3117
  *
3024
3118
  * @example
3025
3119
  * 20
@@ -3046,7 +3140,7 @@ export declare class ListCloudResourcesResponseBody extends $tea.Model {
3046
3140
  currentPage?: number;
3047
3141
  /**
3048
3142
  * @remarks
3049
- * The response parameters.
3143
+ * The data returned for the request.
3050
3144
  */
3051
3145
  data?: ListCloudResourcesResponseBodyData[];
3052
3146
  /**
@@ -3059,7 +3153,7 @@ export declare class ListCloudResourcesResponseBody extends $tea.Model {
3059
3153
  requestId?: string;
3060
3154
  /**
3061
3155
  * @remarks
3062
- * The number of certificate authority (CA) certificates per page. Default value: **20**.
3156
+ * The number of entries per page. Default value: **20**.
3063
3157
  *
3064
3158
  * @example
3065
3159
  * 20
@@ -3941,6 +4035,7 @@ export declare class RenewCertificateOrderForPackageRequestRequest extends $tea.
3941
4035
  * 123451222
3942
4036
  */
3943
4037
  orderId?: number;
4038
+ tags?: RenewCertificateOrderForPackageRequestRequestTags[];
3944
4039
  static names(): {
3945
4040
  [key: string]: string;
3946
4041
  };
@@ -4592,6 +4687,7 @@ export declare class UploadUserCertificateRequest extends $tea.Model {
4592
4687
  * -----END EC PRIVATE KEY-----
4593
4688
  */
4594
4689
  signPrivateKey?: string;
4690
+ tags?: UploadUserCertificateRequestTags[];
4595
4691
  static names(): {
4596
4692
  [key: string]: string;
4597
4693
  };
@@ -4767,6 +4863,45 @@ export declare class VerifyResponse extends $tea.Model {
4767
4863
  [key: string]: any;
4768
4864
  });
4769
4865
  }
4866
+ export declare class CreateCertificateForPackageRequestRequestTags extends $tea.Model {
4867
+ key?: string;
4868
+ value?: string;
4869
+ static names(): {
4870
+ [key: string]: string;
4871
+ };
4872
+ static types(): {
4873
+ [key: string]: any;
4874
+ };
4875
+ constructor(map?: {
4876
+ [key: string]: any;
4877
+ });
4878
+ }
4879
+ export declare class CreateCertificateRequestRequestTags extends $tea.Model {
4880
+ key?: string;
4881
+ value?: string;
4882
+ static names(): {
4883
+ [key: string]: string;
4884
+ };
4885
+ static types(): {
4886
+ [key: string]: any;
4887
+ };
4888
+ constructor(map?: {
4889
+ [key: string]: any;
4890
+ });
4891
+ }
4892
+ export declare class CreateCertificateWithCsrRequestRequestTags extends $tea.Model {
4893
+ key?: string;
4894
+ value?: string;
4895
+ static names(): {
4896
+ [key: string]: string;
4897
+ };
4898
+ static types(): {
4899
+ [key: string]: any;
4900
+ };
4901
+ constructor(map?: {
4902
+ [key: string]: any;
4903
+ });
4904
+ }
4770
4905
  export declare class DescribeCloudResourceStatusResponseBodyData extends $tea.Model {
4771
4906
  /**
4772
4907
  * @remarks
@@ -4891,6 +5026,57 @@ export declare class DescribeDeploymentJobStatusResponseBodyProductWorkerCount e
4891
5026
  [key: string]: any;
4892
5027
  });
4893
5028
  }
5029
+ export declare class GetUserCertificateDetailResponseBodyCertChain extends $tea.Model {
5030
+ /**
5031
+ * @remarks
5032
+ * The common name of the certificate.
5033
+ *
5034
+ * @example
5035
+ * test
5036
+ */
5037
+ commonName?: string;
5038
+ /**
5039
+ * @remarks
5040
+ * The common name of the issuer.
5041
+ *
5042
+ * @example
5043
+ * Encryption Everywhere DV TLS CA - G2
5044
+ */
5045
+ issuerCommonName?: string;
5046
+ /**
5047
+ * @remarks
5048
+ * The end of the validity period of the certificate.
5049
+ *
5050
+ * @example
5051
+ * 17322613180000
5052
+ */
5053
+ notAfter?: number;
5054
+ /**
5055
+ * @remarks
5056
+ * The beginning of the validity period of the certificate.
5057
+ *
5058
+ * @example
5059
+ * 17322633180000
5060
+ */
5061
+ notBefore?: number;
5062
+ /**
5063
+ * @remarks
5064
+ * The remaining days of the certificate validity period.
5065
+ *
5066
+ * @example
5067
+ * 1000
5068
+ */
5069
+ remainDay?: number;
5070
+ static names(): {
5071
+ [key: string]: string;
5072
+ };
5073
+ static types(): {
5074
+ [key: string]: any;
5075
+ };
5076
+ constructor(map?: {
5077
+ [key: string]: any;
5078
+ });
5079
+ }
4894
5080
  export declare class ListCertResponseBodyCertList extends $tea.Model {
4895
5081
  /**
4896
5082
  * @remarks
@@ -5172,9 +5358,9 @@ export declare class ListCloudResourcesResponseBodyData extends $tea.Model {
5172
5358
  certStartTime?: string;
5173
5359
  /**
5174
5360
  * @remarks
5175
- * The AccessKey ID used to access cloud resources.
5361
+ * The AccessKey ID that is used to access cloud resources.
5176
5362
  *
5177
- * > This parameter is required only when you deploy certificates to services of multiple clouds.
5363
+ * > This parameter is returned only when you deploy certificates to cloud services of third-party clouds.
5178
5364
  *
5179
5365
  * @example
5180
5366
  * 1234
@@ -5182,10 +5368,14 @@ export declare class ListCloudResourcesResponseBodyData extends $tea.Model {
5182
5368
  cloudAccessId?: string;
5183
5369
  /**
5184
5370
  * @remarks
5185
- * The cloud service provider of the cloud resource. Valid values:
5371
+ * The cloud service provider.
5186
5372
  *
5187
- * * **aliyun**: Alibaba Cloud
5188
- * * **Tencent**: Tencent Cloud
5373
+ * Valid values:
5374
+ *
5375
+ * * Tencent
5376
+ * * Huawei
5377
+ * * Aws
5378
+ * * aliyun
5189
5379
  *
5190
5380
  * @example
5191
5381
  * aliyun
@@ -5232,8 +5422,8 @@ export declare class ListCloudResourcesResponseBodyData extends $tea.Model {
5232
5422
  * @remarks
5233
5423
  * Indicates whether HTTPS is enabled for the cloud resource. Valid values:
5234
5424
  *
5235
- * * **1**: yes
5236
- * * **0**: no
5425
+ * * **1**: yes.
5426
+ * * **0**: no.
5237
5427
  *
5238
5428
  * @example
5239
5429
  * 1
@@ -6617,6 +6807,32 @@ export declare class ListWorkerResourceResponseBodyData extends $tea.Model {
6617
6807
  [key: string]: any;
6618
6808
  });
6619
6809
  }
6810
+ export declare class RenewCertificateOrderForPackageRequestRequestTags extends $tea.Model {
6811
+ key?: string;
6812
+ value?: string;
6813
+ static names(): {
6814
+ [key: string]: string;
6815
+ };
6816
+ static types(): {
6817
+ [key: string]: any;
6818
+ };
6819
+ constructor(map?: {
6820
+ [key: string]: any;
6821
+ });
6822
+ }
6823
+ export declare class UploadUserCertificateRequestTags extends $tea.Model {
6824
+ key?: string;
6825
+ value?: string;
6826
+ static names(): {
6827
+ [key: string]: string;
6828
+ };
6829
+ static types(): {
6830
+ [key: string]: any;
6831
+ };
6832
+ constructor(map?: {
6833
+ [key: string]: any;
6834
+ });
6835
+ }
6620
6836
  export default class Client extends OpenApi {
6621
6837
  constructor(config: $OpenApi.Config);
6622
6838
  getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {