Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to delete a security group entry direction rule and revoke the permission of the security group exit direction?

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces how to delete a security group entry direction rule and revoke the security group exit direction permission setting, has a certain reference value, friends in need can refer to. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.

RevokeSecurityGroup

Delete a security group entry direction rule and revoke the permission setting of the security group exit direction.

Description

We define the originating end of directional traffic as the source (Source) and the receiving end of data transmission as the destination (Destination). See AuthorizeSecurityGroupEgress for more details.

Any of the following sets of parameters can determine a security group entry direction rule, and specifying only one parameter cannot determine a security group rule.

Revoke the permission settings for the specified IP address range: IpProtocol, PortRange, (optional) SourcePortRange, NicType, Policy, DestCiderIp, and (optional) SourceCidrIp

Revoke permission settings for other security groups: IpProtocol, PortRange, (optional) SourcePortRange, NicType, Policy, (optional) DestCiderIp, DestGroupOwnerAccount, and DestGroupId

Request parameter

Return parameters

All are common return parameters. See common 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 the example

XML format

CEF72CEB-54B6-4AE8-B225-F876FF7BA984

JSON format

{"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984"}

Error code

The following are the error codes specific to this API. For more error codes, please visit the API error Center.

Thank you for reading this article carefully. I hope the editor can share how to delete a security group entry direction rule and revoke the security group exit direction permission to set the content is helpful to everyone. At the same time, I also hope that you can support it and pay attention to the industry information channel. If you encounter problems, look for detailed solutions waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report