Show / Hide Table of Contents

Class RuleArgs

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

Constructors

View Source

RuleArgs()

Declaration
public RuleArgs()

Properties

View Source

Action

Action to be taken ( must be "allow" or "deny") when the firewall rule matches. Changing this updates the action of an existing firewall rule.

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

Description

A description for the firewall rule. Changing this updates the description of an existing firewall rule.

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

DestinationIpAddress

The destination IP address on which the firewall rule operates. Changing this updates the destination_ip_address of an existing firewall rule.

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

DestinationPort

The destination port on which the firewall rule operates. Changing this updates the destination_port of an existing firewall rule.

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

Enabled

Enabled status for the firewall rule (must be "true" or "false" if provided - defaults to "true"). Changing this updates the enabled status of an existing firewall rule.

Declaration
public Input<bool> Enabled { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

IpVersion

IP version, either 4 (default) or 6. Changing this updates the ip_version of an existing firewall rule.

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

Name

A unique name for the firewall rule. Changing this updates the name of an existing firewall rule.

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

Protocol

The protocol type on which the firewall rule operates. Valid values are: tcp, udp, icmp, and any. Changing this updates the protocol of an existing firewall rule.

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

Region

The region in which to obtain the v1 Compute client. A Compute client is needed to create a firewall rule. If omitted, the region argument of the provider is used. Changing this creates a new firewall rule.

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

SourceIpAddress

The source IP address on which the firewall rule operates. Changing this updates the source_ip_address of an existing firewall rule.

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

SourcePort

The source port on which the firewall rule operates. Changing this updates the source_port of an existing firewall rule.

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

TenantId

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

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

ValueSpecs

Map of additional options.

Declaration
public InputMap<object> ValueSpecs { get; set; }
Property Value
Type Description
InputMap<System.Object>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.