Show / Hide Table of Contents

Class SecurityGroupRuleState

Inheritance
System.Object
InputArgs
ResourceArgs
SecurityGroupRuleState
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Ecs
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class SecurityGroupRuleState : ResourceArgs

Constructors

View Source

SecurityGroupRuleState()

Declaration
public SecurityGroupRuleState()

Properties

View Source

CidrIp

The target IP address range. The default value is 0.0.0.0/0 (which means no restriction will be applied). Other supported formats include 10.159.6.18/12. Only IPv4 is supported.

Declaration
public Input<string> CidrIp { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Description

The description of the security group rule. The description can be up to 1 to 512 characters in length. Defaults to null.

Declaration
public Input<string> Description { get; set; }
Property Value
Type Description
Input<System.String>
View Source

IpProtocol

The protocol. Can be tcp, udp, icmp, gre or all.

Declaration
public Input<string> IpProtocol { get; set; }
Property Value
Type Description
Input<System.String>
View Source

NicType

Network type, can be either internet or intranet, the default value is internet.

Declaration
public Input<string> NicType { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Policy

Authorization policy, can be either accept or drop, the default value is accept.

Declaration
public Input<string> Policy { get; set; }
Property Value
Type Description
Input<System.String>
View Source

PortRange

The range of port numbers relevant to the IP protocol. Default to "-1/-1". When the protocol is tcp or udp, each side port number range from 1 to 65535 and '-1/-1' will be invalid. For example, 1/200 means that the range of the port numbers is 1-200. Other protocols' 'port_range' can only be "-1/-1", and other values will be invalid.

Declaration
public Input<string> PortRange { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Priority

Authorization policy priority, with parameter values: 1-100, default value: 1.

Declaration
public Input<int> Priority { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

SecurityGroupId

The security group to apply this rule to.

Declaration
public Input<string> SecurityGroupId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

SourceGroupOwnerAccount

The Alibaba Cloud user account Id of the target security group when security groups are authorized across accounts. This parameter is invalid if cidr_ip has already been set.

Declaration
public Input<string> SourceGroupOwnerAccount { get; set; }
Property Value
Type Description
Input<System.String>
View Source

SourceSecurityGroupId

The target security group ID within the same region. If this field is specified, the nic_type can only select intranet.

Declaration
public Input<string> SourceSecurityGroupId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Type

The type of rule being created. Valid options are ingress (inbound) or egress (outbound).

Declaration
public Input<string> Type { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.