Show / Hide Table of Contents

Class SecGroupRuleArgs

Inheritance
System.Object
InputArgs
ResourceArgs
SecGroupRuleArgs
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.OpenStack.Compute.Inputs
Assembly: Pulumi.OpenStack.dll
Syntax
public sealed class SecGroupRuleArgs : ResourceArgs

Constructors

View Source

SecGroupRuleArgs()

Declaration
public SecGroupRuleArgs()

Properties

View Source

Cidr

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

FromGroupId

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

FromPort

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

Id

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

IpProtocol

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

Self

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

ToPort

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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.