/*
* 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.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class SecurityGroupLimitSet : AbstractModel
{
///
/// 每个项目每个地域可创建安全组数
///
[JsonProperty("SecurityGroupLimit")]
public ulong? SecurityGroupLimit{ get; set; }
///
/// 安全组下的最大规则数
///
[JsonProperty("SecurityGroupPolicyLimit")]
public ulong? SecurityGroupPolicyLimit{ get; set; }
///
/// 安全组下嵌套安全组规则数
///
[JsonProperty("ReferedSecurityGroupLimit")]
public ulong? ReferedSecurityGroupLimit{ get; set; }
///
/// 单安全组关联实例数
///
[JsonProperty("SecurityGroupInstanceLimit")]
public ulong? SecurityGroupInstanceLimit{ get; set; }
///
/// 实例关联安全组数
///
[JsonProperty("InstanceSecurityGroupLimit")]
public ulong? InstanceSecurityGroupLimit{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "SecurityGroupLimit", this.SecurityGroupLimit);
this.SetParamSimple(map, prefix + "SecurityGroupPolicyLimit", this.SecurityGroupPolicyLimit);
this.SetParamSimple(map, prefix + "ReferedSecurityGroupLimit", this.ReferedSecurityGroupLimit);
this.SetParamSimple(map, prefix + "SecurityGroupInstanceLimit", this.SecurityGroupInstanceLimit);
this.SetParamSimple(map, prefix + "InstanceSecurityGroupLimit", this.InstanceSecurityGroupLimit);
}
}
}