Show / Hide Table of Contents

Class Firewall

Provides a DigitalOcean Cloud Firewall resource. This can be used to create, modify, and delete Firewalls.

Inheritance
System.Object
Resource
CustomResource
Firewall
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
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.DigitalOcean
Assembly: Pulumi.DigitalOcean.dll
Syntax
public class Firewall : CustomResource

Constructors

View Source

Firewall(String, FirewallArgs, CustomResourceOptions)

Create a Firewall resource with the given unique name, arguments, and options.

Declaration
public Firewall(string name, FirewallArgs args = null, 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 Source

CreatedAt

A time value given in ISO8601 combined date and time format that represents when the Firewall was created.

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

DropletIds

The list of the IDs of the Droplets assigned to the Firewall.

Declaration
public Output<ImmutableArray<int>> DropletIds { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.Int32>>
View Source

InboundRules

The inbound access rule block for the Firewall. The inbound_rule block is documented below.

Declaration
public Output<ImmutableArray<FirewallInboundRule>> InboundRules { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<FirewallInboundRule>>
View Source

Name

The Firewall name

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

OutboundRules

The outbound access rule block for the Firewall. The outbound_rule block is documented below.

Declaration
public Output<ImmutableArray<FirewallOutboundRule>> OutboundRules { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<FirewallOutboundRule>>
View Source

PendingChanges

An list of object containing the fields, "droplet_id", "removing", and "status". It is provided to detail exactly which Droplets are having their security policies updated. When empty, all changes have been successfully applied.

Declaration
public Output<ImmutableArray<FirewallPendingChange>> PendingChanges { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<FirewallPendingChange>>
View Source

Status

A status string indicating the current state of the Firewall. This can be "waiting", "succeeded", or "failed".

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

Tags

The names of the Tags assigned to the Firewall.

Declaration
public Output<ImmutableArray<string>> Tags { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>

Methods

View Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.