Class SecGroupRuleArgs
Inheritance
System.Object
SecGroupRuleArgs
Inherited Members
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()
Assembly: Pulumi.OpenStack.dll
public sealed class SecGroupRuleArgs : ResourceArgs
Constructors
View Source
Declaration
public SecGroupRuleArgs()
Properties
View Source
Required if from_group_id or self is empty. The IP range
that will be the source of network traffic to the security group. Use 0.0.0.0/0
to allow all IP addresses. Changing this creates a new security group rule. Cannot
be combined with from_group_id or self.
Declaration
public Input<string> Cidr { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Required if cidr or self is empty. The ID of a
group from which to forward traffic to the parent group. Changing this creates a
new security group rule. Cannot be combined with cidr or self.
Declaration
public Input<string> FromGroupId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
An integer representing the lower bound of the port
range to open. Changing this creates a new security group rule.
Declaration
public Input<int> FromPort { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
Declaration
public Input<string> Id { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
The protocol type that will be allowed. Changing
this creates a new security group rule.
Declaration
public Input<string> IpProtocol { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Required if cidr and from_group_id is empty. If true,
the security group itself will be added as a source to this ingress rule. Cannot
be combined with cidr or from_group_id.
Declaration
public Input<bool> Self { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
An integer representing the upper bound of the port
range to open. Changing this creates a new security group rule.
Declaration
public Input<int> ToPort { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|