Class Firewall
NOTICE: The Firewall feature is currently available through early access.
Manages a Linode Firewall.
Inherited Members
Namespace: Pulumi.Linode
Assembly: Pulumi.Linode.dll
Syntax
public class Firewall : CustomResource
Constructors
View SourceFirewall(String, FirewallArgs, CustomResourceOptions)
Create a Firewall resource with the given unique name, arguments, and options.
Declaration
public Firewall(string name, FirewallArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| FirewallArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceDevices
The devices associated with this firewall.
Declaration
public Output<ImmutableArray<FirewallDevice>> Devices { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<FirewallDevice>> |
Disabled
If true, the Firewall's rules are not enforced (defaults to false).
Declaration
public Output<bool?> Disabled { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
Inbounds
A firewall rule that specifies what inbound network traffic is allowed.
Declaration
public Output<ImmutableArray<FirewallInbound>> Inbounds { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<FirewallInbound>> |
Label
This Firewall's unique label.
Declaration
public Output<string> Label { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Linodes
A list of IDs of Linodes this Firewall should govern it's network traffic for.
Declaration
public Output<ImmutableArray<int>> Linodes { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.Int32>> |
Outbounds
A firewall rule that specifies what outbound network traffic is allowed.
Declaration
public Output<ImmutableArray<FirewallOutbound>> Outbounds { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<FirewallOutbound>> |
Status
The status of the Firewall.
Declaration
public Output<string> Status { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Tags
A list of tags applied to the Kubernetes cluster. Tags are for organizational purposes only.
Declaration
public Output<ImmutableArray<string>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
Methods
View SourceGet(String, Input<String>, FirewallState, CustomResourceOptions)
Get an existing Firewall resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Firewall Get(string name, Input<string> id, FirewallState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| FirewallState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Firewall |