public class RevokeSecurityGroupEgressRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
RevokeSecurityGroupEgressRequest.RevokeSecurityGroupEgressRequestPermissions |
限定符和类型 | 字段和说明 |
---|---|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
description
已过时。
|
String |
destCidrIp
已过时。
|
String |
destGroupId
已过时。
|
String |
destGroupOwnerAccount
已过时。
|
Long |
destGroupOwnerId
已过时。
|
String |
destPrefixListId
已过时。
|
String |
ipProtocol
已过时。
|
String |
ipv6DestCidrIp
已过时。
|
String |
ipv6SourceCidrIp
已过时。
|
String |
nicType
已过时。
|
String |
ownerAccount |
Long |
ownerId |
List<RevokeSecurityGroupEgressRequest.RevokeSecurityGroupEgressRequestPermissions> |
permissions
Security group rule N.
|
String |
policy
已过时。
|
String |
portRange
已过时。
|
String |
priority
已过时。
|
String |
regionId
The region ID of the security group.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
securityGroupId
The ID of the security group.
|
List<String> |
securityGroupRuleId
The ID of security group rule N.
|
String |
sourceCidrIp
已过时。
|
String |
sourcePortRange
已过时。
|
构造器和说明 |
---|
RevokeSecurityGroupEgressRequest() |
@NameInMap(value="ClientToken") public String clientToken
The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see How to ensure idempotence.
example:473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
@NameInMap(value="Description") @Deprecated public String description
This parameter is deprecated. Use Permissions.N.Description
to specify the rule description.
This is description.
@NameInMap(value="DestCidrIp") @Deprecated public String destCidrIp
This parameter is deprecated. Use Permissions.N.DestCidrIp
to specify the destination IPv4 CIDR block.
10.0.0.0/8
@NameInMap(value="DestGroupId") @Deprecated public String destGroupId
This parameter is deprecated. Use Permissions.N.DestGroupId
to specify the ID of the destination security group.
sg-bp67acfmxa123b****
@NameInMap(value="DestGroupOwnerAccount") @Deprecated public String destGroupOwnerAccount
This parameter is deprecated. Use Permissions.N.DestGroupOwnerAccount
to specify the Alibaba Cloud account that manages the destination security group.
@NameInMap(value="DestGroupOwnerId") @Deprecated public Long destGroupOwnerId
This parameter is deprecated. Use Permissions.N.DestGroupOwnerId
to specify the ID of the Alibaba Cloud account that manages the destination security group.
12345678910
@NameInMap(value="DestPrefixListId") @Deprecated public String destPrefixListId
This parameter is deprecated. Use Permissions.N.DestPrefixListId
to specify the ID of the destination prefix list.
pl-x1j1k5ykzqlixdcy****
@NameInMap(value="IpProtocol") @Deprecated public String ipProtocol
This parameter is deprecated. Use Permissions.N.IpProtocol
to specify the protocol.
TCP
@NameInMap(value="Ipv6DestCidrIp") @Deprecated public String ipv6DestCidrIp
This parameter is deprecated. Use Permissions.N.Ipv6DestCidrIp
to specify the destination IPv6 CIDR block.
2001:db8:1233:1a00::***
@NameInMap(value="Ipv6SourceCidrIp") @Deprecated public String ipv6SourceCidrIp
This parameter is deprecated. Use Permissions.N.Ipv6SourceCidrIp
to specify the source IPv6 CIDR block.
2001:db8:1234:1a00::***
@NameInMap(value="NicType") @Deprecated public String nicType
This parameter is deprecated. Use Permissions.N.NicType
to specify the network interface type.
intranet
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="Permissions") public List<RevokeSecurityGroupEgressRequest.RevokeSecurityGroupEgressRequestPermissions> permissions
Security group rule N. Valid values of N: 1 to 100.
@NameInMap(value="Policy") @Deprecated public String policy
This parameter is deprecated. Use Permissions.N.Policy
to specify whether to allow outbound access.
accept
@NameInMap(value="PortRange") @Deprecated public String portRange
This parameter is deprecated. Use Permissions.N.PortRange
to specify the range of destination ports.
22/22
@NameInMap(value="Priority") @Deprecated public String priority
This parameter is deprecated. Use Permissions.N.Priority
to specify the rule priority.
1
@NameInMap(value="RegionId") public String regionId
The region ID of the security group. You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="SecurityGroupId") public String securityGroupId
The ID of the security group.
This parameter is required.
example:sg-bp67acfmxazb4p****
@NameInMap(value="SecurityGroupRuleId") public List<String> securityGroupRuleId
The ID of security group rule N. Valid values of N: 1 to 100.
@NameInMap(value="SourceCidrIp") @Deprecated public String sourceCidrIp
This parameter is deprecated. Use Permissions.N.SourceCidrIp
to specify the source IPv4 CIDR block.
10.0.0.0/8
@NameInMap(value="SourcePortRange") @Deprecated public String sourcePortRange
This parameter is deprecated. Use Permissions.N.SourcePortRange
to specify the range of source ports.
22/22
public static RevokeSecurityGroupEgressRequest build(Map<String,?> map) throws Exception
Exception
public RevokeSecurityGroupEgressRequest setClientToken(String clientToken)
public String getClientToken()
public RevokeSecurityGroupEgressRequest setDescription(String description)
public String getDescription()
public RevokeSecurityGroupEgressRequest setDestCidrIp(String destCidrIp)
public String getDestCidrIp()
public RevokeSecurityGroupEgressRequest setDestGroupId(String destGroupId)
public String getDestGroupId()
public RevokeSecurityGroupEgressRequest setDestGroupOwnerAccount(String destGroupOwnerAccount)
public String getDestGroupOwnerAccount()
public RevokeSecurityGroupEgressRequest setDestGroupOwnerId(Long destGroupOwnerId)
public Long getDestGroupOwnerId()
public RevokeSecurityGroupEgressRequest setDestPrefixListId(String destPrefixListId)
public String getDestPrefixListId()
public RevokeSecurityGroupEgressRequest setIpProtocol(String ipProtocol)
public String getIpProtocol()
public RevokeSecurityGroupEgressRequest setIpv6DestCidrIp(String ipv6DestCidrIp)
public String getIpv6DestCidrIp()
public RevokeSecurityGroupEgressRequest setIpv6SourceCidrIp(String ipv6SourceCidrIp)
public String getIpv6SourceCidrIp()
public RevokeSecurityGroupEgressRequest setNicType(String nicType)
public String getNicType()
public RevokeSecurityGroupEgressRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public RevokeSecurityGroupEgressRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public RevokeSecurityGroupEgressRequest setPermissions(List<RevokeSecurityGroupEgressRequest.RevokeSecurityGroupEgressRequestPermissions> permissions)
public List<RevokeSecurityGroupEgressRequest.RevokeSecurityGroupEgressRequestPermissions> getPermissions()
public RevokeSecurityGroupEgressRequest setPolicy(String policy)
public String getPolicy()
public RevokeSecurityGroupEgressRequest setPortRange(String portRange)
public String getPortRange()
public RevokeSecurityGroupEgressRequest setPriority(String priority)
public String getPriority()
public RevokeSecurityGroupEgressRequest setRegionId(String regionId)
public String getRegionId()
public RevokeSecurityGroupEgressRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public RevokeSecurityGroupEgressRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public RevokeSecurityGroupEgressRequest setSecurityGroupId(String securityGroupId)
public String getSecurityGroupId()
public RevokeSecurityGroupEgressRequest setSecurityGroupRuleId(List<String> securityGroupRuleId)
public RevokeSecurityGroupEgressRequest setSourceCidrIp(String sourceCidrIp)
public String getSourceCidrIp()
public RevokeSecurityGroupEgressRequest setSourcePortRange(String sourcePortRange)
public String getSourcePortRange()
Copyright © 2024. All rights reserved.