Home >Operation and Maintenance >Linux Operation and Maintenance >About deleting a security group inbound rule and revoking the security group outbound permission settings
The content of this article is about deleting a security group inbound direction rule and revoking the security group outbound direction permission settings. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you. help.
RevokeSecurityGroup
Delete a security group inbound rule and revoke the security group's outbound permission settings.
Description
We define the initiator of outbound traffic as the source (Source), and the receiving end of data transmission as the destination (Destination) ). See AuthorizeSecurityGroupEgress for more details.
Any set of parameters below can determine a security group inbound direction rule. Specifying only one parameter cannot determine a security group rule.
Revoke the permission settings of the specified IP address segment: IpProtocol, PortRange, (optional) SourcePortRange, NicType, Policy, DestCiderIp and (optional) SourceCidrIp
Revoke the permission settings of other security groups: IpProtocol, PortRange, (optional) SourcePortRange, NicType, Policy, (optional) DestCiderIp, DestGroupOwnerAccount and DestGroupId
Request Parameters
Return Parameters
Full is a public return parameter. See Public Parameters.
Example
Request example
https://ecs.aliyuncs.com/?Action=RevokeSecurityGroup &SecurityGroupId=C0003E8B-B930-4F59-ADC0-0E209A9012B0 &SourceGroupId=sg-F876FF7BA &SourceGroupOwnerAccount=test@aliyun.com &IpProtocol=tcp &PortRange=1/65535 &Priority=1 &<公共请求参数>
Return example
XML format
<RevokeSecurityGroupResponse> <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId> </RevokeSecurityGroupResponse>
JSON format
{ "RequestId":"CEF72CEB-54B6-4AE8-B225-F876FF7BA984" }
Error code
The following are error codes unique to this interface. For more error codes, please visit the API Error Center.
The above is the detailed content of About deleting a security group inbound rule and revoking the security group outbound permission settings. For more information, please follow other related articles on the PHP Chinese website!