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

Modify the description of the security group entry direction rule after adding the security group rule

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article shows you the description of modifying the security group orientation rules after adding the security group rules. The code is concise and easy to understand, which can definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

ModifySecurityGroupRule

Modify the description information of the security group entry direction rule. If you haven't added security group rules, you can call AuthorizeSecurityGroup add.

Description

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.

Authorize access to the specified IP address range: IpProtocol, PortRange, (optional) SourcePortRange, NicType, Policy, DestCiderIp, and (optional) SourceCidrIp

Authorize access to 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=ModifySecurityGroupRule&SecurityGroupId=sg-F876FF7BA&SourceGroupId=sg-1651FBB64&SourceGroupOwnerAccount=test@aliyun.com&IpProtocol=tcp&PortRange=80/80&Policy=allow&Description=This is a new security group rule.&

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.

The above content is to modify the description of the security group entry direction rules after adding the security group rules. have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

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