Package | Description |
---|---|
com.tencentcloudapi.vpc.v20170312 | |
com.tencentcloudapi.vpc.v20170312.models |
Modifier and Type | Method and Description |
---|---|
CreateDefaultSecurityGroupResponse |
VpcClient.CreateDefaultSecurityGroup(CreateDefaultSecurityGroupRequest req)
本接口(CreateDefaultSecurityGroup)用于创建(如果项目下未存在默认安全组,则创建;已存在则获取。)默认安全组(SecurityGroup)。
每个账户下每个地域的每个项目的安全组数量限制。
默认安全组会放通所有IPv4规则,在创建后通常您需要再调用CreateSecurityGroupPolicies将安全组的规则设置为需要的规则。
创建安全组同时可以绑定标签, 应答里的标签列表代表添加成功的标签。
|
Constructor and Description |
---|
CreateDefaultSecurityGroupRequest(CreateDefaultSecurityGroupRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Copyright © 2023. All rights reserved.