101 lines
3.8 KiB
C#
101 lines
3.8 KiB
C#
/*
|
||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||
*
|
||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||
* you may not use this file except in compliance with the License.
|
||
* You may obtain a copy of the License at
|
||
*
|
||
* http://www.apache.org/licenses/LICENSE-2.0
|
||
*
|
||
* Unless required by applicable law or agreed to in writing,
|
||
* software distributed under the License is distributed on an
|
||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||
* KIND, either express or implied. See the License for the
|
||
* specific language governing permissions and limitations
|
||
* under the License.
|
||
*/
|
||
|
||
namespace TencentCloud.Ecdn.V20191012.Models
|
||
{
|
||
using Newtonsoft.Json;
|
||
using System.Collections.Generic;
|
||
using TencentCloud.Common;
|
||
|
||
public class Https : AbstractModel
|
||
{
|
||
|
||
/// <summary>
|
||
/// https配置开关,on或off。开启https配置的域名在部署中状态,开关保持off。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("Switch")]
|
||
public string Switch{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 是否开启http2,on或off。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("Http2")]
|
||
public string Http2{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 是否开启OCSP功能,on或off。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("OcspStapling")]
|
||
public string OcspStapling{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 是否开启客户端证书校验功能,on或off,开启时必选上传客户端证书信息。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("VerifyClient")]
|
||
public string VerifyClient{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 服务器证书配置信息。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("CertInfo")]
|
||
public ServerCert CertInfo{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 客户端证书配置信息。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("ClientCertInfo")]
|
||
public ClientCert ClientCertInfo{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 是否开启Spdy,on或off。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("Spdy")]
|
||
public string Spdy{ get; set; }
|
||
|
||
/// <summary>
|
||
/// https证书部署状态,closed,deploying,deployed,failed分别表示已关闭,部署中,部署成功,部署失败。不可作为入参使用。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("SslStatus")]
|
||
public string SslStatus{ get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// For internal usage only. DO NOT USE IT.
|
||
/// </summary>
|
||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||
{
|
||
this.SetParamSimple(map, prefix + "Switch", this.Switch);
|
||
this.SetParamSimple(map, prefix + "Http2", this.Http2);
|
||
this.SetParamSimple(map, prefix + "OcspStapling", this.OcspStapling);
|
||
this.SetParamSimple(map, prefix + "VerifyClient", this.VerifyClient);
|
||
this.SetParamObj(map, prefix + "CertInfo.", this.CertInfo);
|
||
this.SetParamObj(map, prefix + "ClientCertInfo.", this.ClientCertInfo);
|
||
this.SetParamSimple(map, prefix + "Spdy", this.Spdy);
|
||
this.SetParamSimple(map, prefix + "SslStatus", this.SslStatus);
|
||
}
|
||
}
|
||
}
|
||
|