Show / Hide Table of Contents

Class SecGroupRuleState

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

Constructors

View Source

SecGroupRuleState()

Declaration
public SecGroupRuleState()

Properties

View Source

Description

A description of the rule. Changing this creates a new security group rule.

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

Direction

The direction of the rule, valid values are ingress or egress. Changing this creates a new security group rule.

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

Ethertype

The layer 3 protocol type, valid values are IPv4 or IPv6. Changing this creates a new security group rule.

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

PortRangeMax

The higher part of the allowed port range, valid integer value needs to be between 1 and 65535. Changing this creates a new security group rule.

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

PortRangeMin

The lower part of the allowed port range, valid integer value needs to be between 1 and 65535. Changing this creates a new security group rule.

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

Protocol

The layer 4 protocol type, valid values are following. Changing this creates a new security group rule. This is required if you want to specify a port range.

  • tcp
  • udp
  • icmp
  • ah
  • dccp
  • egp
  • esp
  • gre
  • igmp
  • ipv6-encap
  • ipv6-frag
  • ipv6-icmp
  • ipv6-nonxt
  • ipv6-opts
  • ipv6-route
  • ospf
  • pgm
  • rsvp
  • sctp
  • udplite
  • vrrp
Declaration
public Input<string> Protocol { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Region

The region in which to obtain the V2 networking client. A networking client is needed to create a port. If omitted, the region argument of the provider is used. Changing this creates a new security group rule.

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

RemoteGroupId

The remote group id, the value needs to be an Openstack ID of a security group in the same tenant. Changing this creates a new security group rule.

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

RemoteIpPrefix

The remote CIDR, the value needs to be a valid CIDR (i.e. 192.168.0.0/16). Changing this creates a new security group rule.

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

SecurityGroupId

The security group id the rule should belong to, the value needs to be an Openstack ID of a security group in the same tenant. Changing this creates a new security group rule.

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

TenantId

The owner of the security group. Required if admin wants to create a port for another tenant. Changing this creates a new security group rule.

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