Show / Hide Table of Contents

Class SecGroupRule

Inheritance
System.Object
SecGroupRule
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()
Namespace: Pulumi.OpenStack.Compute.Outputs
Assembly: Pulumi.OpenStack.dll
Syntax
public sealed class SecGroupRule

Fields

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 readonly string Cidr
Field Value
Type Description
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 readonly string FromGroupId
Field Value
Type Description
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 readonly int FromPort
Field Value
Type Description
System.Int32
View Source

Id

Declaration
public readonly string Id
Field Value
Type Description
System.String
View Source

IpProtocol

The protocol type that will be allowed. Changing this creates a new security group rule.

Declaration
public readonly string IpProtocol
Field Value
Type Description
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 readonly bool? Self
Field Value
Type Description
System.Nullable<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 readonly int ToPort
Field Value
Type Description
System.Int32
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.