Files
2026-02-07 15:48:27 +08:00

119 lines
4.1 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* 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.Cdn.V20180606.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class Https : AbstractModel
{
/// <summary>
/// https 配置开关
/// on开启
/// off关闭
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Switch")]
public string Switch{ get; set; }
/// <summary>
/// http2 配置开关
/// on开启
/// off关闭
/// 初次启用 https 加速会默认开启 http2 配置
/// 注意:此字段可能返回 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);
}
}
}