public static class RevokeSecurityGroupEgressRequest.RevokeSecurityGroupEgressRequestPermissions
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
description
The description of the security group rule.
|
String |
destCidrIp
The destination IPv4 CIDR block of the security group rule.
|
String |
destGroupId
The ID of the destination security group from which you want to remove access control configurations.
|
String |
destGroupOwnerAccount
The Alibaba Cloud account that manages the destination security group specified in the security group rule.
|
String |
destGroupOwnerId
The ID of the Alibaba Cloud account that manages the destination security group specified in the security group rule.
|
String |
destPrefixListId
The ID of the destination prefix list of the security group rule.
|
String |
ipProtocol
The protocol.
|
String |
ipv6DestCidrIp
The destination IPv6 CIDR block of the security group rule.
|
String |
ipv6SourceCidrIp
The source IPv6 CIDR block.
|
String |
nicType
The network interface controller (NIC) type of the security group rule if the security group resides in the classic network.
|
String |
policy
The action of the security group rule.
|
String |
portRange
The range of destination port numbers for the protocols specified in the security group rule.
|
String |
priority
The priority of the security group rule.
|
String |
sourceCidrIp
The source IPv4 CIDR block.
|
String |
sourcePortRange
The range of source port numbers for the protocols specified in the security group rule.
|
构造器和说明 |
---|
RevokeSecurityGroupEgressRequestPermissions() |
@NameInMap(value="Description") public String description
The description of the security group rule. The description must be 1 to 512 characters in length.
Valid values of N: 1 to 100.
example:This is description.
@NameInMap(value="DestCidrIp") public String destCidrIp
The destination IPv4 CIDR block of the security group rule. IPv4 CIDR blocks and IPv4 addresses are supported.
Valid values of N: 1 to 100.
example:10.0.0.0/8
@NameInMap(value="DestGroupId") public String destGroupId
The ID of the destination security group from which you want to remove access control configurations.
DestGroupId
, DestCidrIp
, Ipv6DestCidrIp
, and DestPrefixListId
.DestGroupId
but do not specify DestCidrIp
, you must set NicType
to intranet.DestGroupId
and DestCidrIp
, DestCidrIp
takes precedence.When you specify this parameter, take note of the following items:
Valid values of N: 1 to 100.
example:sg-bp67acfmxa123b****
@NameInMap(value="DestGroupOwnerAccount") public String destGroupOwnerAccount
The Alibaba Cloud account that manages the destination security group specified in the security group rule.
DestGroupOwnerAccount
and DestGroupOwnerId
are empty, access control configurations are removed from another security group managed by your Alibaba Cloud account.DestCidrIp
, DestGroupOwnerAccount
is ignored.Valid values of N: 1 to 100.
example:@NameInMap(value="DestGroupOwnerId") public String destGroupOwnerId
The ID of the Alibaba Cloud account that manages the destination security group specified in the security group rule.
DestGroupOwnerId
and DestGroupOwnerAccount
are empty, access control configurations are removed from another security group managed by your Alibaba Cloud account.DestCidrIp
, DestGroupOwnerId
is invalid.Valid values of N: 1 to 100.
example:12345678910
@NameInMap(value="DestPrefixListId") public String destPrefixListId
The ID of the destination prefix list of the security group rule. You can call the DescribePrefixLists operation to query the IDs of available prefix lists.
When you specify this parameter, take note of the following items:
DestCidrIp
, Ipv6DestCidrIp
, or DestGroupId
, this parameter is ignored.Valid values of N: 1 to 100.
example:pl-x1j1k5ykzqlixdcy****
@NameInMap(value="IpProtocol") public String ipProtocol
The protocol. The values of this parameter are case-insensitive. Valid values:
Valid values of N: 1 to 100.
example:TCP
@NameInMap(value="Ipv6DestCidrIp") public String ipv6DestCidrIp
The destination IPv6 CIDR block of the security group rule. IPv6 CIDR blocks and IPv6 addresses are supported.
Valid values of N: 1 to 100.
example:This parameter is valid only for Elastic Compute Service (ECS) instances that reside in virtual private clouds (VPCs) and support IPv6 CIDR blocks. You cannot specify both this parameter and
DestCidrIp
in the same request.
2001:db8:1233:1a00::***
@NameInMap(value="Ipv6SourceCidrIp") public String ipv6SourceCidrIp
The source IPv6 CIDR block. IPv6 CIDR blocks and IPv6 addresses are supported.
This parameter is used to support quintuple rules. For more information, see Security group quintuple rules.
Valid values of N: 1 to 100.
example:This parameter is valid only for ECS instances that reside in VPCs and support IPv6 CIDR blocks. You cannot specify both this parameter and
DestCidrIp
in the same request.
2001:db8:1234:1a00::***
@NameInMap(value="NicType") public String nicType
The network interface controller (NIC) type of the security group rule if the security group resides in the classic network. Valid values:
If the security group resides in a VPC, this parameter is set to intranet by default and cannot be modified.
If you specify only SourceGroupId
when you remove access control configurations between security groups, you must set this parameter to intranet.
Default value: internet.
Valid values of N: 1 to 100.
example:intranet
@NameInMap(value="Policy") public String policy
The action of the security group rule. Valid values:
Default value: accept.
Valid values of N: 1 to 100.
example:accept
@NameInMap(value="PortRange") public String portRange
The range of destination port numbers for the protocols specified in the security group rule. Valid values:
Valid values of N: 1 to 100.
example:22/22
@NameInMap(value="Priority") public String priority
The priority of the security group rule. A smaller value specifies a higher priority. Valid values: 1 to 100.
Default value: 1.
Valid values of N: 1 to 100.
example:1
@NameInMap(value="SourceCidrIp") public String sourceCidrIp
The source IPv4 CIDR block. IPv4 CIDR blocks and IPv4 addresses are supported.
This parameter is used to support quintuple rules. For more information, see Security group quintuple rules.
Valid values of N: 1 to 100.
example:10.0.0.0/8
@NameInMap(value="SourcePortRange") public String sourcePortRange
The range of source port numbers for the protocols specified in the security group rule. Valid values:
This parameter is used to support quintuple rules. For more information, see Security group quintuple rules.
Valid values of N: 1 to 100.
example:22/22
public RevokeSecurityGroupEgressRequestPermissions()
public static RevokeSecurityGroupEgressRequest.RevokeSecurityGroupEgressRequestPermissions build(Map<String,?> map) throws Exception
Exception
public RevokeSecurityGroupEgressRequest.RevokeSecurityGroupEgressRequestPermissions setDescription(String description)
public String getDescription()
public RevokeSecurityGroupEgressRequest.RevokeSecurityGroupEgressRequestPermissions setDestCidrIp(String destCidrIp)
public String getDestCidrIp()
public RevokeSecurityGroupEgressRequest.RevokeSecurityGroupEgressRequestPermissions setDestGroupId(String destGroupId)
public String getDestGroupId()
public RevokeSecurityGroupEgressRequest.RevokeSecurityGroupEgressRequestPermissions setDestGroupOwnerAccount(String destGroupOwnerAccount)
public String getDestGroupOwnerAccount()
public RevokeSecurityGroupEgressRequest.RevokeSecurityGroupEgressRequestPermissions setDestGroupOwnerId(String destGroupOwnerId)
public String getDestGroupOwnerId()
public RevokeSecurityGroupEgressRequest.RevokeSecurityGroupEgressRequestPermissions setDestPrefixListId(String destPrefixListId)
public String getDestPrefixListId()
public RevokeSecurityGroupEgressRequest.RevokeSecurityGroupEgressRequestPermissions setIpProtocol(String ipProtocol)
public String getIpProtocol()
public RevokeSecurityGroupEgressRequest.RevokeSecurityGroupEgressRequestPermissions setIpv6DestCidrIp(String ipv6DestCidrIp)
public String getIpv6DestCidrIp()
public RevokeSecurityGroupEgressRequest.RevokeSecurityGroupEgressRequestPermissions setIpv6SourceCidrIp(String ipv6SourceCidrIp)
public String getIpv6SourceCidrIp()
public RevokeSecurityGroupEgressRequest.RevokeSecurityGroupEgressRequestPermissions setNicType(String nicType)
public String getNicType()
public RevokeSecurityGroupEgressRequest.RevokeSecurityGroupEgressRequestPermissions setPolicy(String policy)
public String getPolicy()
public RevokeSecurityGroupEgressRequest.RevokeSecurityGroupEgressRequestPermissions setPortRange(String portRange)
public String getPortRange()
public RevokeSecurityGroupEgressRequest.RevokeSecurityGroupEgressRequestPermissions setPriority(String priority)
public String getPriority()
public RevokeSecurityGroupEgressRequest.RevokeSecurityGroupEgressRequestPermissions setSourceCidrIp(String sourceCidrIp)
public String getSourceCidrIp()
public RevokeSecurityGroupEgressRequest.RevokeSecurityGroupEgressRequestPermissions setSourcePortRange(String sourcePortRange)
public String getSourcePortRange()
Copyright © 2024. All rights reserved.