@alicloud/cas20200407 2.0.1 → 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 +170 -24
- package/dist/client.js +27 -1
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +187 -24
package/src/client.ts
CHANGED
|
@@ -3008,6 +3008,11 @@ export class GetUserCertificateDetailResponseBody extends $tea.Model {
|
|
|
3008
3008
|
* ---BEGIN CERTIFICATE----- MIIF...... -----END CERTIFICATE-----
|
|
3009
3009
|
*/
|
|
3010
3010
|
cert?: string;
|
|
3011
|
+
/**
|
|
3012
|
+
* @remarks
|
|
3013
|
+
* The certificate chain.
|
|
3014
|
+
*/
|
|
3015
|
+
certChain?: GetUserCertificateDetailResponseBodyCertChain[];
|
|
3011
3016
|
/**
|
|
3012
3017
|
* @remarks
|
|
3013
3018
|
* The unique identifier of the certificate. The value of this parameter must be in the {Certificate ID}-cn-hangzhou format.
|
|
@@ -3097,7 +3102,7 @@ export class GetUserCertificateDetailResponseBody extends $tea.Model {
|
|
|
3097
3102
|
id?: number;
|
|
3098
3103
|
/**
|
|
3099
3104
|
* @remarks
|
|
3100
|
-
* The instance ID.
|
|
3105
|
+
* The instance ID of the resource.
|
|
3101
3106
|
*
|
|
3102
3107
|
* @example
|
|
3103
3108
|
* cas-upload-50yf1q
|
|
@@ -3177,7 +3182,7 @@ export class GetUserCertificateDetailResponseBody extends $tea.Model {
|
|
|
3177
3182
|
sans?: string;
|
|
3178
3183
|
/**
|
|
3179
3184
|
* @remarks
|
|
3180
|
-
* The
|
|
3185
|
+
* The serial number of the certificate.
|
|
3181
3186
|
*
|
|
3182
3187
|
* @example
|
|
3183
3188
|
* 06ea4879591ddf84e6c8b6ba43607ccf
|
|
@@ -3185,7 +3190,7 @@ export class GetUserCertificateDetailResponseBody extends $tea.Model {
|
|
|
3185
3190
|
serialNo?: string;
|
|
3186
3191
|
/**
|
|
3187
3192
|
* @remarks
|
|
3188
|
-
* The
|
|
3193
|
+
* The SHA-2 value of the certificate.
|
|
3189
3194
|
*
|
|
3190
3195
|
* @example
|
|
3191
3196
|
* 840707695D5EE41323102DDC2CB4924AA561012FBDC4E1A6324147119ED3C339
|
|
@@ -3224,6 +3229,7 @@ export class GetUserCertificateDetailResponseBody extends $tea.Model {
|
|
|
3224
3229
|
algorithm: 'Algorithm',
|
|
3225
3230
|
buyInAliyun: 'BuyInAliyun',
|
|
3226
3231
|
cert: 'Cert',
|
|
3232
|
+
certChain: 'CertChain',
|
|
3227
3233
|
certIdentifier: 'CertIdentifier',
|
|
3228
3234
|
city: 'City',
|
|
3229
3235
|
common: 'Common',
|
|
@@ -3257,6 +3263,7 @@ export class GetUserCertificateDetailResponseBody extends $tea.Model {
|
|
|
3257
3263
|
algorithm: 'string',
|
|
3258
3264
|
buyInAliyun: 'boolean',
|
|
3259
3265
|
cert: 'string',
|
|
3266
|
+
certChain: { 'type': 'array', 'itemType': GetUserCertificateDetailResponseBodyCertChain },
|
|
3260
3267
|
certIdentifier: 'string',
|
|
3261
3268
|
city: 'string',
|
|
3262
3269
|
common: 'string',
|
|
@@ -3803,6 +3810,10 @@ export class ListCloudAccessResponse extends $tea.Model {
|
|
|
3803
3810
|
}
|
|
3804
3811
|
|
|
3805
3812
|
export class ListCloudResourcesRequest extends $tea.Model {
|
|
3813
|
+
/**
|
|
3814
|
+
* @remarks
|
|
3815
|
+
* The certificate IDs.
|
|
3816
|
+
*/
|
|
3806
3817
|
certIds?: number[];
|
|
3807
3818
|
/**
|
|
3808
3819
|
* @remarks
|
|
@@ -3810,8 +3821,10 @@ export class ListCloudResourcesRequest extends $tea.Model {
|
|
|
3810
3821
|
*
|
|
3811
3822
|
* Valid values:
|
|
3812
3823
|
*
|
|
3813
|
-
* * Tencent
|
|
3814
|
-
* *
|
|
3824
|
+
* * Tencent
|
|
3825
|
+
* * Huawei
|
|
3826
|
+
* * Aws
|
|
3827
|
+
* * aliyun
|
|
3815
3828
|
*
|
|
3816
3829
|
* @example
|
|
3817
3830
|
* Tencent
|
|
@@ -3819,7 +3832,44 @@ export class ListCloudResourcesRequest extends $tea.Model {
|
|
|
3819
3832
|
cloudName?: string;
|
|
3820
3833
|
/**
|
|
3821
3834
|
* @remarks
|
|
3822
|
-
* The cloud service.
|
|
3835
|
+
* The cloud service.
|
|
3836
|
+
*
|
|
3837
|
+
* Valid values when CloudName is set to aliyun:
|
|
3838
|
+
*
|
|
3839
|
+
* * SLB: Classic Load Balancer (CLB). This value is available only on the China site (aliyun.com).
|
|
3840
|
+
* * LIVE: ApsaraVideo Live. This value is available only on the China site (aliyun.com).
|
|
3841
|
+
* * webHosting: Cloud Web Hosting. This value is available only on the China site (aliyun.com).
|
|
3842
|
+
* * VOD: ApsaraVideo VOD. This value is available only on the China site (aliyun.com).
|
|
3843
|
+
* * CR: Container Registry. This value is available only on the China site (aliyun.com).
|
|
3844
|
+
* * DCDN: Dynamic Content Delivery Network (DCDN).
|
|
3845
|
+
* * DDOS: Anti-DDoS.
|
|
3846
|
+
* * CDN: Alibaba Cloud CDN (CDN).
|
|
3847
|
+
* * ALB: Application Load Balancer (ALB).
|
|
3848
|
+
* * APIGateway: API Gateway.
|
|
3849
|
+
* * FC: Function Compute.
|
|
3850
|
+
* * GA: Global Accelerator (GA).
|
|
3851
|
+
* * MSE: Microservices Engine (MSE).
|
|
3852
|
+
* * NLB: Network Load Balancer (NLB).
|
|
3853
|
+
* * OSS: Object Storage Service (OSS).
|
|
3854
|
+
* * SAE: Serverless App Engine (SAE).
|
|
3855
|
+
* * WAF: Web Application Firewall (WAF).
|
|
3856
|
+
*
|
|
3857
|
+
* Valid values when CloudName is set to Tencent:
|
|
3858
|
+
*
|
|
3859
|
+
* * TencentCDN: Content Delivery Network (CDN).
|
|
3860
|
+
* * TencentCLB: CLB.
|
|
3861
|
+
* * TencentWAF: WAF.
|
|
3862
|
+
*
|
|
3863
|
+
* Valid value when CloudName is set to Huawei:
|
|
3864
|
+
*
|
|
3865
|
+
* * HuaweiCDN: CDN.
|
|
3866
|
+
*
|
|
3867
|
+
* Valid values when CloudName is set to Aws:
|
|
3868
|
+
*
|
|
3869
|
+
* * AwsCloudFront: Amazon CloudFront.
|
|
3870
|
+
* * AwsCLB: CLB.
|
|
3871
|
+
* * AwsALB: ALB.
|
|
3872
|
+
* * AwsNLB: NLB.
|
|
3823
3873
|
*
|
|
3824
3874
|
* @example
|
|
3825
3875
|
* SLB
|
|
@@ -3835,7 +3885,7 @@ export class ListCloudResourcesRequest extends $tea.Model {
|
|
|
3835
3885
|
currentPage?: number;
|
|
3836
3886
|
/**
|
|
3837
3887
|
* @remarks
|
|
3838
|
-
* The domain name bound to the cloud resource.
|
|
3888
|
+
* The keyword of the domain name or instance ID bound to the cloud resource.
|
|
3839
3889
|
*
|
|
3840
3890
|
* @example
|
|
3841
3891
|
* cert-instanceId
|
|
@@ -3843,7 +3893,7 @@ export class ListCloudResourcesRequest extends $tea.Model {
|
|
|
3843
3893
|
keyword?: string;
|
|
3844
3894
|
/**
|
|
3845
3895
|
* @remarks
|
|
3846
|
-
* The AccessKey ID used to access cloud resources.
|
|
3896
|
+
* The AccessKey ID that is used to access cloud resources.
|
|
3847
3897
|
*
|
|
3848
3898
|
* @example
|
|
3849
3899
|
* 21
|
|
@@ -3851,7 +3901,7 @@ export class ListCloudResourcesRequest extends $tea.Model {
|
|
|
3851
3901
|
secretId?: string;
|
|
3852
3902
|
/**
|
|
3853
3903
|
* @remarks
|
|
3854
|
-
* The number of
|
|
3904
|
+
* The number of entries per page. Default value: **20**.
|
|
3855
3905
|
*
|
|
3856
3906
|
* @example
|
|
3857
3907
|
* 20
|
|
@@ -3887,6 +3937,10 @@ export class ListCloudResourcesRequest extends $tea.Model {
|
|
|
3887
3937
|
}
|
|
3888
3938
|
|
|
3889
3939
|
export class ListCloudResourcesShrinkRequest extends $tea.Model {
|
|
3940
|
+
/**
|
|
3941
|
+
* @remarks
|
|
3942
|
+
* The certificate IDs.
|
|
3943
|
+
*/
|
|
3890
3944
|
certIdsShrink?: string;
|
|
3891
3945
|
/**
|
|
3892
3946
|
* @remarks
|
|
@@ -3894,8 +3948,10 @@ export class ListCloudResourcesShrinkRequest extends $tea.Model {
|
|
|
3894
3948
|
*
|
|
3895
3949
|
* Valid values:
|
|
3896
3950
|
*
|
|
3897
|
-
* * Tencent
|
|
3898
|
-
* *
|
|
3951
|
+
* * Tencent
|
|
3952
|
+
* * Huawei
|
|
3953
|
+
* * Aws
|
|
3954
|
+
* * aliyun
|
|
3899
3955
|
*
|
|
3900
3956
|
* @example
|
|
3901
3957
|
* Tencent
|
|
@@ -3903,7 +3959,44 @@ export class ListCloudResourcesShrinkRequest extends $tea.Model {
|
|
|
3903
3959
|
cloudName?: string;
|
|
3904
3960
|
/**
|
|
3905
3961
|
* @remarks
|
|
3906
|
-
* The cloud service.
|
|
3962
|
+
* The cloud service.
|
|
3963
|
+
*
|
|
3964
|
+
* Valid values when CloudName is set to aliyun:
|
|
3965
|
+
*
|
|
3966
|
+
* * SLB: Classic Load Balancer (CLB). This value is available only on the China site (aliyun.com).
|
|
3967
|
+
* * LIVE: ApsaraVideo Live. This value is available only on the China site (aliyun.com).
|
|
3968
|
+
* * webHosting: Cloud Web Hosting. This value is available only on the China site (aliyun.com).
|
|
3969
|
+
* * VOD: ApsaraVideo VOD. This value is available only on the China site (aliyun.com).
|
|
3970
|
+
* * CR: Container Registry. This value is available only on the China site (aliyun.com).
|
|
3971
|
+
* * DCDN: Dynamic Content Delivery Network (DCDN).
|
|
3972
|
+
* * DDOS: Anti-DDoS.
|
|
3973
|
+
* * CDN: Alibaba Cloud CDN (CDN).
|
|
3974
|
+
* * ALB: Application Load Balancer (ALB).
|
|
3975
|
+
* * APIGateway: API Gateway.
|
|
3976
|
+
* * FC: Function Compute.
|
|
3977
|
+
* * GA: Global Accelerator (GA).
|
|
3978
|
+
* * MSE: Microservices Engine (MSE).
|
|
3979
|
+
* * NLB: Network Load Balancer (NLB).
|
|
3980
|
+
* * OSS: Object Storage Service (OSS).
|
|
3981
|
+
* * SAE: Serverless App Engine (SAE).
|
|
3982
|
+
* * WAF: Web Application Firewall (WAF).
|
|
3983
|
+
*
|
|
3984
|
+
* Valid values when CloudName is set to Tencent:
|
|
3985
|
+
*
|
|
3986
|
+
* * TencentCDN: Content Delivery Network (CDN).
|
|
3987
|
+
* * TencentCLB: CLB.
|
|
3988
|
+
* * TencentWAF: WAF.
|
|
3989
|
+
*
|
|
3990
|
+
* Valid value when CloudName is set to Huawei:
|
|
3991
|
+
*
|
|
3992
|
+
* * HuaweiCDN: CDN.
|
|
3993
|
+
*
|
|
3994
|
+
* Valid values when CloudName is set to Aws:
|
|
3995
|
+
*
|
|
3996
|
+
* * AwsCloudFront: Amazon CloudFront.
|
|
3997
|
+
* * AwsCLB: CLB.
|
|
3998
|
+
* * AwsALB: ALB.
|
|
3999
|
+
* * AwsNLB: NLB.
|
|
3907
4000
|
*
|
|
3908
4001
|
* @example
|
|
3909
4002
|
* SLB
|
|
@@ -3919,7 +4012,7 @@ export class ListCloudResourcesShrinkRequest extends $tea.Model {
|
|
|
3919
4012
|
currentPage?: number;
|
|
3920
4013
|
/**
|
|
3921
4014
|
* @remarks
|
|
3922
|
-
* The domain name bound to the cloud resource.
|
|
4015
|
+
* The keyword of the domain name or instance ID bound to the cloud resource.
|
|
3923
4016
|
*
|
|
3924
4017
|
* @example
|
|
3925
4018
|
* cert-instanceId
|
|
@@ -3927,7 +4020,7 @@ export class ListCloudResourcesShrinkRequest extends $tea.Model {
|
|
|
3927
4020
|
keyword?: string;
|
|
3928
4021
|
/**
|
|
3929
4022
|
* @remarks
|
|
3930
|
-
* The AccessKey ID used to access cloud resources.
|
|
4023
|
+
* The AccessKey ID that is used to access cloud resources.
|
|
3931
4024
|
*
|
|
3932
4025
|
* @example
|
|
3933
4026
|
* 21
|
|
@@ -3935,7 +4028,7 @@ export class ListCloudResourcesShrinkRequest extends $tea.Model {
|
|
|
3935
4028
|
secretId?: string;
|
|
3936
4029
|
/**
|
|
3937
4030
|
* @remarks
|
|
3938
|
-
* The number of
|
|
4031
|
+
* The number of entries per page. Default value: **20**.
|
|
3939
4032
|
*
|
|
3940
4033
|
* @example
|
|
3941
4034
|
* 20
|
|
@@ -3981,7 +4074,7 @@ export class ListCloudResourcesResponseBody extends $tea.Model {
|
|
|
3981
4074
|
currentPage?: number;
|
|
3982
4075
|
/**
|
|
3983
4076
|
* @remarks
|
|
3984
|
-
* The
|
|
4077
|
+
* The data returned for the request.
|
|
3985
4078
|
*/
|
|
3986
4079
|
data?: ListCloudResourcesResponseBodyData[];
|
|
3987
4080
|
/**
|
|
@@ -3994,7 +4087,7 @@ export class ListCloudResourcesResponseBody extends $tea.Model {
|
|
|
3994
4087
|
requestId?: string;
|
|
3995
4088
|
/**
|
|
3996
4089
|
* @remarks
|
|
3997
|
-
* The number of
|
|
4090
|
+
* The number of entries per page. Default value: **20**.
|
|
3998
4091
|
*
|
|
3999
4092
|
* @example
|
|
4000
4093
|
* 20
|
|
@@ -6426,6 +6519,72 @@ export class DescribeDeploymentJobStatusResponseBodyProductWorkerCount extends $
|
|
|
6426
6519
|
}
|
|
6427
6520
|
}
|
|
6428
6521
|
|
|
6522
|
+
export class GetUserCertificateDetailResponseBodyCertChain extends $tea.Model {
|
|
6523
|
+
/**
|
|
6524
|
+
* @remarks
|
|
6525
|
+
* The common name of the certificate.
|
|
6526
|
+
*
|
|
6527
|
+
* @example
|
|
6528
|
+
* test
|
|
6529
|
+
*/
|
|
6530
|
+
commonName?: string;
|
|
6531
|
+
/**
|
|
6532
|
+
* @remarks
|
|
6533
|
+
* The common name of the issuer.
|
|
6534
|
+
*
|
|
6535
|
+
* @example
|
|
6536
|
+
* Encryption Everywhere DV TLS CA - G2
|
|
6537
|
+
*/
|
|
6538
|
+
issuerCommonName?: string;
|
|
6539
|
+
/**
|
|
6540
|
+
* @remarks
|
|
6541
|
+
* The end of the validity period of the certificate.
|
|
6542
|
+
*
|
|
6543
|
+
* @example
|
|
6544
|
+
* 17322613180000
|
|
6545
|
+
*/
|
|
6546
|
+
notAfter?: number;
|
|
6547
|
+
/**
|
|
6548
|
+
* @remarks
|
|
6549
|
+
* The beginning of the validity period of the certificate.
|
|
6550
|
+
*
|
|
6551
|
+
* @example
|
|
6552
|
+
* 17322633180000
|
|
6553
|
+
*/
|
|
6554
|
+
notBefore?: number;
|
|
6555
|
+
/**
|
|
6556
|
+
* @remarks
|
|
6557
|
+
* The remaining days of the certificate validity period.
|
|
6558
|
+
*
|
|
6559
|
+
* @example
|
|
6560
|
+
* 1000
|
|
6561
|
+
*/
|
|
6562
|
+
remainDay?: number;
|
|
6563
|
+
static names(): { [key: string]: string } {
|
|
6564
|
+
return {
|
|
6565
|
+
commonName: 'CommonName',
|
|
6566
|
+
issuerCommonName: 'IssuerCommonName',
|
|
6567
|
+
notAfter: 'NotAfter',
|
|
6568
|
+
notBefore: 'NotBefore',
|
|
6569
|
+
remainDay: 'RemainDay',
|
|
6570
|
+
};
|
|
6571
|
+
}
|
|
6572
|
+
|
|
6573
|
+
static types(): { [key: string]: any } {
|
|
6574
|
+
return {
|
|
6575
|
+
commonName: 'string',
|
|
6576
|
+
issuerCommonName: 'string',
|
|
6577
|
+
notAfter: 'number',
|
|
6578
|
+
notBefore: 'number',
|
|
6579
|
+
remainDay: 'number',
|
|
6580
|
+
};
|
|
6581
|
+
}
|
|
6582
|
+
|
|
6583
|
+
constructor(map?: { [key: string]: any }) {
|
|
6584
|
+
super(map);
|
|
6585
|
+
}
|
|
6586
|
+
}
|
|
6587
|
+
|
|
6429
6588
|
export class ListCertResponseBodyCertList extends $tea.Model {
|
|
6430
6589
|
/**
|
|
6431
6590
|
* @remarks
|
|
@@ -6770,9 +6929,9 @@ export class ListCloudResourcesResponseBodyData extends $tea.Model {
|
|
|
6770
6929
|
certStartTime?: string;
|
|
6771
6930
|
/**
|
|
6772
6931
|
* @remarks
|
|
6773
|
-
* The AccessKey ID used to access cloud resources.
|
|
6932
|
+
* The AccessKey ID that is used to access cloud resources.
|
|
6774
6933
|
*
|
|
6775
|
-
* > This parameter is
|
|
6934
|
+
* > This parameter is returned only when you deploy certificates to cloud services of third-party clouds.
|
|
6776
6935
|
*
|
|
6777
6936
|
* @example
|
|
6778
6937
|
* 1234
|
|
@@ -6780,10 +6939,14 @@ export class ListCloudResourcesResponseBodyData extends $tea.Model {
|
|
|
6780
6939
|
cloudAccessId?: string;
|
|
6781
6940
|
/**
|
|
6782
6941
|
* @remarks
|
|
6783
|
-
* The cloud service provider
|
|
6942
|
+
* The cloud service provider.
|
|
6784
6943
|
*
|
|
6785
|
-
*
|
|
6786
|
-
*
|
|
6944
|
+
* Valid values:
|
|
6945
|
+
*
|
|
6946
|
+
* * Tencent
|
|
6947
|
+
* * Huawei
|
|
6948
|
+
* * Aws
|
|
6949
|
+
* * aliyun
|
|
6787
6950
|
*
|
|
6788
6951
|
* @example
|
|
6789
6952
|
* aliyun
|
|
@@ -6830,8 +6993,8 @@ export class ListCloudResourcesResponseBodyData extends $tea.Model {
|
|
|
6830
6993
|
* @remarks
|
|
6831
6994
|
* Indicates whether HTTPS is enabled for the cloud resource. Valid values:
|
|
6832
6995
|
*
|
|
6833
|
-
* * **1**: yes
|
|
6834
|
-
* * **0**: no
|
|
6996
|
+
* * **1**: yes.
|
|
6997
|
+
* * **0**: no.
|
|
6835
6998
|
*
|
|
6836
6999
|
* @example
|
|
6837
7000
|
* 1
|