Package | Description |
---|---|
com.tencentcloudapi.vpc.v20170312 | |
com.tencentcloudapi.vpc.v20170312.models |
Modifier and Type | Method and Description |
---|---|
CreateSecurityGroupResponse |
VpcClient.CreateSecurityGroup(CreateSecurityGroupRequest req)
本接口(CreateSecurityGroup)用于创建新的安全组(SecurityGroup)。
每个账户下每个地域的每个项目的安全组数量限制。
新建的安全组的入站和出站规则默认都是全部拒绝,在创建后通常您需要再调用CreateSecurityGroupPolicies将安全组的规则设置为需要的规则。
创建安全组同时可以绑定标签, 应答里的标签列表代表添加成功的标签。
|
Constructor and Description |
---|
CreateSecurityGroupRequest(CreateSecurityGroupRequest 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 © 2025. All rights reserved.