public class RevokeSecurityGroupRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
RevokeSecurityGroupRequest.RevokeSecurityGroupRequestPermissions |
限定符和类型 | 字段和说明 |
---|---|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
description
已过时。
|
String |
destCidrIp
已过时。
|
String |
ipProtocol
已过时。
|
String |
ipv6DestCidrIp
已过时。
|
String |
ipv6SourceCidrIp
已过时。
|
String |
nicType
已过时。
|
String |
ownerAccount |
Long |
ownerId |
List<RevokeSecurityGroupRequest.RevokeSecurityGroupRequestPermissions> |
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 IDs of the security group rules.
|
String |
sourceCidrIp
已过时。
|
String |
sourceGroupId
已过时。
|
String |
sourceGroupOwnerAccount
已过时。
|
Long |
sourceGroupOwnerId
已过时。
|
String |
sourcePortRange
已过时。
|
String |
sourcePrefixListId
已过时。
|
构造器和说明 |
---|
RevokeSecurityGroupRequest() |
@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 ClientToken value can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see How to ensure idempotence.
example:123e4567-e89b-12d3-a456-426655440000
@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="IpProtocol") @Deprecated public String ipProtocol
This parameter is deprecated. Use Permissions.N.IpProtocol
to specify the protocol.
ALL
@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<RevokeSecurityGroupRequest.RevokeSecurityGroupRequestPermissions> 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 inbound access.
accept
@NameInMap(value="PortRange") @Deprecated public String portRange
This parameter is deprecated. Use Permissions.N.PortRange
to specify the range of destination ports.
1/200
@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 IDs of the security group rules. 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="SourceGroupId") @Deprecated public String sourceGroupId
This parameter is deprecated. Use Permissions.N.SourceGroupId
to specify the ID of the source security group.
sg-bp67acfmxa123b****
@NameInMap(value="SourceGroupOwnerAccount") @Deprecated public String sourceGroupOwnerAccount
This parameter is deprecated. Use Permissions.N.SourceGroupOwnerAccount
to specify the Alibaba Cloud account that manages the source security group.
@NameInMap(value="SourceGroupOwnerId") @Deprecated public Long sourceGroupOwnerId
This parameter is deprecated. Use Permissions.N.SourceGroupOwnerId
to specify the ID of the Alibaba Cloud account that manages the source security group.
12345678910
@NameInMap(value="SourcePortRange") @Deprecated public String sourcePortRange
This parameter is deprecated. Use Permissions.N.SourcePortRange
to specify the range of source ports.
80/80
@NameInMap(value="SourcePrefixListId") @Deprecated public String sourcePrefixListId
This parameter is deprecated. Use Permissions.N.SourcePrefixListId
to specify the ID of the source prefix list.
pl-x1j1k5ykzqlixdcy****
public static RevokeSecurityGroupRequest build(Map<String,?> map) throws Exception
Exception
public RevokeSecurityGroupRequest setClientToken(String clientToken)
public String getClientToken()
public RevokeSecurityGroupRequest setDescription(String description)
public String getDescription()
public RevokeSecurityGroupRequest setDestCidrIp(String destCidrIp)
public String getDestCidrIp()
public RevokeSecurityGroupRequest setIpProtocol(String ipProtocol)
public String getIpProtocol()
public RevokeSecurityGroupRequest setIpv6DestCidrIp(String ipv6DestCidrIp)
public String getIpv6DestCidrIp()
public RevokeSecurityGroupRequest setIpv6SourceCidrIp(String ipv6SourceCidrIp)
public String getIpv6SourceCidrIp()
public RevokeSecurityGroupRequest setNicType(String nicType)
public String getNicType()
public RevokeSecurityGroupRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public RevokeSecurityGroupRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public RevokeSecurityGroupRequest setPermissions(List<RevokeSecurityGroupRequest.RevokeSecurityGroupRequestPermissions> permissions)
public List<RevokeSecurityGroupRequest.RevokeSecurityGroupRequestPermissions> getPermissions()
public RevokeSecurityGroupRequest setPolicy(String policy)
public String getPolicy()
public RevokeSecurityGroupRequest setPortRange(String portRange)
public String getPortRange()
public RevokeSecurityGroupRequest setPriority(String priority)
public String getPriority()
public RevokeSecurityGroupRequest setRegionId(String regionId)
public String getRegionId()
public RevokeSecurityGroupRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public RevokeSecurityGroupRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public RevokeSecurityGroupRequest setSecurityGroupId(String securityGroupId)
public String getSecurityGroupId()
public RevokeSecurityGroupRequest setSecurityGroupRuleId(List<String> securityGroupRuleId)
public RevokeSecurityGroupRequest setSourceCidrIp(String sourceCidrIp)
public String getSourceCidrIp()
public RevokeSecurityGroupRequest setSourceGroupId(String sourceGroupId)
public String getSourceGroupId()
public RevokeSecurityGroupRequest setSourceGroupOwnerAccount(String sourceGroupOwnerAccount)
public String getSourceGroupOwnerAccount()
public RevokeSecurityGroupRequest setSourceGroupOwnerId(Long sourceGroupOwnerId)
public Long getSourceGroupOwnerId()
public RevokeSecurityGroupRequest setSourcePortRange(String sourcePortRange)
public String getSourcePortRange()
public RevokeSecurityGroupRequest setSourcePrefixListId(String sourcePrefixListId)
public String getSourcePrefixListId()
Copyright © 2024. All rights reserved.