Class SecGroupRuleArgs
Inherited Members
Namespace: Pulumi.OpenStack.Networking
Assembly: Pulumi.OpenStack.dll
Syntax
public sealed class SecGroupRuleArgs : ResourceArgs
Constructors
View SourceSecGroupRuleArgs()
Declaration
public SecGroupRuleArgs()
Properties
View SourceDescription
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |