Get the App
SLTechnology News&Howtos  ›  Servers  › 

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

Shulou Source: shulou.com Published: 2022-06-02 01:37:37 09月21日 Update

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!

Tags: Security direction parameters permissions rules errors examples articles more format value content at the same time address interface data data transfer method friend traffic Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple vpn Microsoft Xiaomi Huawei