Amazon.RDS.AmazonRDSClient.AuthorizeDBSecurityGroupIngress C# (CSharp) 메소드

AuthorizeDBSecurityGroupIngress() 공개 메소드

Enables ingress to a DBSecurityGroup using one of two forms of authorization. First, EC2 or VPC security groups can be added to the DBSecurityGroup if the application using the database is running on EC2 or VPC instances. Second, IP ranges are available if the application accessing your database is running on the Internet. Required parameters for this API are one of CIDR range, EC2SecurityGroupId for VPC, or (EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId for non-VPC).

You cannot authorize ingress from an EC2 security group in one region to an Amazon RDS DB instance in another. You cannot authorize ingress from a VPC security group in one VPC to an Amazon RDS DB instance in another.

For an overview of CIDR ranges, go to the Wikipedia Tutorial.

/// The specified CIDRIP or EC2 security group is already authorized for the specified /// DB security group. /// /// DB security group authorization quota has been reached. /// /// DBSecurityGroupName does not refer to an existing DB security group. /// /// The state of the DB security group does not allow deletion. ///
public AuthorizeDBSecurityGroupIngress ( AuthorizeDBSecurityGroupIngressRequest request ) : AuthorizeDBSecurityGroupIngressResponse
request Amazon.RDS.Model.AuthorizeDBSecurityGroupIngressRequest Container for the necessary parameters to execute the AuthorizeDBSecurityGroupIngress service method.
리턴 Amazon.RDS.Model.AuthorizeDBSecurityGroupIngressResponse
        public AuthorizeDBSecurityGroupIngressResponse AuthorizeDBSecurityGroupIngress(AuthorizeDBSecurityGroupIngressRequest request)
        {
            var marshaller = new AuthorizeDBSecurityGroupIngressRequestMarshaller();
            var unmarshaller = AuthorizeDBSecurityGroupIngressResponseUnmarshaller.Instance;

            return Invoke<AuthorizeDBSecurityGroupIngressRequest,AuthorizeDBSecurityGroupIngressResponse>(request, marshaller, unmarshaller);
        }
AmazonRDSClient