me
.
jeffshaw
.
digitalocean
Firewall
Related Docs:
class Firewall
|
package digitalocean
object
Firewall
extends
Path
with
Listable
[
Firewall
,
Firewalls
] with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Listable
[
Firewall
,
Firewalls
],
Path
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
Firewall
Serializable
Serializable
Listable
Path
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Type Members
type
Destination
=
Source
case class
InboundRule
(
protocol:
Protocol
,
sources:
Source
)
extends
Product
with
Serializable
case class
OutboundRule
(
protocol:
Protocol
,
destinations:
Destination
)
extends
Product
with
Serializable
case class
PendingChange
(
dropletId:
BigInt
,
removing:
Boolean
,
status:
Status
)
extends
Product
with
Serializable
sealed
trait
Port
extends
AnyRef
sealed
trait
Protocol
extends
AnyRef
case class
Source
(
addresses:
Seq
[
Address
] =
Seq()
,
dropletIds:
Seq
[
BigInt
] =
Seq()
,
loadBalancerUids:
Seq
[
String
] =
Seq()
,
tags:
Seq
[
String
] =
Seq()
)
extends
Product
with
Serializable
sealed
trait
Status
extends
AnyRef
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
val
Destination
:
Source
.type
object
Port
object
Protocol
object
Source
extends
Serializable
object
Status
def
addDroplets
(
firewallId:
String
,
dropletIds:
Seq
[
BigInt
]
)
(
implicit
client:
DigitalOceanClient
,
ec:
ExecutionContext
)
:
Future
[
Unit
]
def
addRules
(
firewallId:
String
,
inboundRules:
Seq
[
InboundRule
] =
Seq()
,
outboundRules:
Seq
[
OutboundRule
] =
Seq()
)
(
implicit
client:
DigitalOceanClient
,
ec:
ExecutionContext
)
:
Future
[
Unit
]
def
addTags
(
firewallId:
String
,
tags:
Seq
[
String
]
)
(
implicit
client:
DigitalOceanClient
,
ec:
ExecutionContext
)
:
Future
[
Unit
]
def
apply
(
id:
BigInt
)
(
implicit
client:
DigitalOceanClient
,
ec:
ExecutionContext
)
:
Future
[
Firewall
]
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
create
(
name:
String
,
inboundRules:
Seq
[
InboundRule
]
,
outboundRules:
Seq
[
OutboundRule
]
,
dropletIds:
Seq
[
BigInt
] =
Seq()
,
tags:
Seq
[
String
] =
Seq()
)
(
implicit
client:
DigitalOceanClient
,
ec:
ExecutionContext
)
:
Future
[
Firewall
]
def
delete
(
id:
String
)
(
implicit
client:
DigitalOceanClient
,
ec:
ExecutionContext
)
:
Future
[
Unit
]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
list
()
(
implicit
client:
DigitalOceanClient
,
ec:
ExecutionContext
,
mf:
Manifest
[
Firewalls
]
)
:
Future
[
Iterator
[
Firewall
]]
Definition Classes
Listable
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
path
:
Seq
[
String
]
Attributes
protected
Definition Classes
Firewall
→ Path
val
queryParameters
:
Map
[
String
,
Seq
[
String
]]
Attributes
protected
Definition Classes
Path
def
removeDroplets
(
firewallId:
String
,
dropletIds:
Seq
[
BigInt
]
)
(
implicit
client:
DigitalOceanClient
,
ec:
ExecutionContext
)
:
Future
[
Unit
]
def
removeRules
(
firewallId:
String
,
inboundRules:
Seq
[
InboundRule
] =
Seq()
,
outboundRules:
Seq
[
OutboundRule
] =
Seq()
)
(
implicit
client:
DigitalOceanClient
,
ec:
ExecutionContext
)
:
Future
[
Unit
]
def
removeTags
(
firewallId:
String
,
tags:
Seq
[
String
]
)
(
implicit
client:
DigitalOceanClient
,
ec:
ExecutionContext
)
:
Future
[
Unit
]
def
size
()
(
implicit
client:
DigitalOceanClient
,
ec:
ExecutionContext
,
mf:
Manifest
[
Firewalls
]
)
:
Future
[
BigInt
]
Definition Classes
Listable
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
update
(
id:
String
,
name:
String
,
inboundRules:
Seq
[
InboundRule
]
,
outboundRules:
Seq
[
OutboundRule
]
,
dropletIds:
Seq
[
BigInt
]
,
tags:
Seq
[
String
]
)
(
implicit
client:
DigitalOceanClient
,
ec:
ExecutionContext
)
:
Future
[
Firewall
]
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Listable
[
Firewall
,
Firewalls
]
Inherited from
Path
Inherited from
AnyRef
Inherited from
Any
Ungrouped