Modify the description information of the security group inbound direction rule after adding the security group rule.

坏嘻嘻
Release: 2018-09-25 14:58:13
Original
2735 people have browsed it

This article introduces the description information of modifying the security group inbound direction rule after adding the security group rule, and focuses on the specific steps. The content of this article is compact, and I hope everyone can gain something.

ModifySecurityGroupRule

Modify the description information of the security group inbound direction rule. If you have not added security group rules, you can call AuthorizeSecurityGroup to add them.

Description

Any of the following set of parameters can determine a security group inbound direction rule. Specifying only one parameter cannot determine a security group rule.

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

Grant access to other security groups: IpProtocol, PortRange, (optional) SourcePortRange, NicType, Policy, (optional) DestCiderIp, DestGroupOwnerAccount and DestGroupId

Request Parameters

Modify the description information of the security group inbound direction rule after adding the security group rule.Modify the description information of the security group inbound direction rule after adding the security group rule.

Return parameters

are all public return parameters. See Public 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.
&<公共请求参数>
Copy after login

Return example

XML format

<ModifySecurityGroupRuleResponse>
    <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>
</ModifySecurityGroupRuleResponse>
Copy after login

JSON format

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

Error code

The following are error codes unique to this interface. For more error codes, please visit the API Error Center. Modify the description information of the security group inbound direction rule after adding the security group rule.

The above is the detailed content of Modify the description information of the security group inbound direction rule after adding the security group rule.. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template