Files
g.hnyhua.cn/TencentCloud/Ecdn/V20191012/Models/Https.cs
2026-02-07 15:48:27 +08:00

101 lines
3.8 KiB
C#
Raw 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.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>
/// 是否开启http2on或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>
/// 是否开启Spdyon或off。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Spdy")]
public string Spdy{ get; set; }
/// <summary>
/// https证书部署状态closeddeployingdeployedfailed分别表示已关闭部署中部署成功部署失败。不可作为入参使用。
/// 注意:此字段可能返回 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);
}
}
}