|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dasein.cloud.network.AbstractFirewallSupport
org.dasein.cloud.google.network.FirewallSupport
public class FirewallSupport
Implements the firewall services supported in the Google API.
| Field Summary |
|---|
| Fields inherited from interface org.dasein.cloud.network.FirewallSupport |
|---|
ANY, AUTHORIZE, CREATE_FIREWALL, GET_FIREWALL, LIST_FIREWALL, REMOVE_FIREWALL, REVOKE |
| Method Summary | |
|---|---|
String |
authorize(String firewallId,
org.dasein.cloud.network.Direction direction,
org.dasein.cloud.network.Permission permission,
org.dasein.cloud.network.RuleTarget sourceEndpoint,
org.dasein.cloud.network.Protocol protocol,
org.dasein.cloud.network.RuleTarget destinationEndpoint,
int beginPort,
int endPort,
int precedence)
|
String |
create(org.dasein.cloud.network.FirewallCreateOptions options)
|
void |
delete(String s)
|
Map<org.dasein.cloud.network.FirewallConstraints.Constraint,Object> |
getActiveConstraintsForFirewall(String firewallId)
|
GCEFirewallCapabilities |
getCapabilities()
|
org.dasein.cloud.network.Firewall |
getFirewall(String firewallId)
|
String |
getProviderTermForFirewall(Locale locale)
Deprecated. |
Collection<org.dasein.cloud.network.FirewallRule> |
getRules(String firewallId)
|
boolean |
isSubscribed()
|
Collection<org.dasein.cloud.network.Firewall> |
list()
|
Iterable<org.dasein.cloud.ResourceStatus> |
listFirewallStatus()
|
Iterable<org.dasein.cloud.network.RuleTargetType> |
listSupportedDestinationTypes(boolean inVlan)
Deprecated. |
Iterable<org.dasein.cloud.network.Direction> |
listSupportedDirections(boolean inVlan)
Deprecated. |
Iterable<org.dasein.cloud.network.Permission> |
listSupportedPermissions(boolean inVlan)
Deprecated. |
Iterable<org.dasein.cloud.network.RuleTargetType> |
listSupportedSourceTypes(boolean inVlan)
Deprecated. |
void |
revoke(String providerFirewallRuleId)
|
void |
revoke(String firewallId,
org.dasein.cloud.network.Direction direction,
org.dasein.cloud.network.Permission permission,
String source,
org.dasein.cloud.network.Protocol protocol,
int beginPort,
int endPort)
|
void |
revoke(String firewallId,
org.dasein.cloud.network.Direction direction,
org.dasein.cloud.network.Permission permission,
String source,
org.dasein.cloud.network.Protocol protocol,
org.dasein.cloud.network.RuleTarget target,
int beginPort,
int endPort)
|
void |
revoke(String firewallId,
org.dasein.cloud.network.Direction direction,
String source,
org.dasein.cloud.network.Protocol protocol,
int beginPort,
int endPort)
|
void |
revoke(String firewallId,
String source,
org.dasein.cloud.network.Protocol protocol,
int beginPort,
int endPort)
|
| Methods inherited from class org.dasein.cloud.network.AbstractFirewallSupport |
|---|
authorize, authorize, authorize, authorize, authorize, create, createInVLAN, getContext, getFirewallConstraintsForCloud, getProvider, identifyPrecedenceRequirement, isZeroPrecedenceHighest, mapServiceAction, removeTags, removeTags, requiresRulesOnCreation, supportsFirewallCreation, supportsFirewallDeletion, supportsFirewallSources, supportsRules, updateTags, updateTags |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
@Nonnull
public String authorize(@Nonnull
String firewallId,
@Nonnull
org.dasein.cloud.network.Direction direction,
@Nonnull
org.dasein.cloud.network.Permission permission,
@Nonnull
org.dasein.cloud.network.RuleTarget sourceEndpoint,
@Nonnull
org.dasein.cloud.network.Protocol protocol,
@Nonnull
org.dasein.cloud.network.RuleTarget destinationEndpoint,
int beginPort,
int endPort,
int precedence)
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
authorize in interface org.dasein.cloud.network.FirewallSupportauthorize in class org.dasein.cloud.network.AbstractFirewallSupportorg.dasein.cloud.CloudException
org.dasein.cloud.InternalException
@Nonnull
public String create(@Nonnull
org.dasein.cloud.network.FirewallCreateOptions options)
throws org.dasein.cloud.InternalException,
org.dasein.cloud.CloudException
create in interface org.dasein.cloud.network.FirewallSupportcreate in class org.dasein.cloud.network.AbstractFirewallSupportorg.dasein.cloud.InternalException
org.dasein.cloud.CloudException
@Nonnull
public GCEFirewallCapabilities getCapabilities()
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
public void delete(@Nonnull
String s)
throws org.dasein.cloud.InternalException,
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException
public org.dasein.cloud.network.Firewall getFirewall(@Nonnull
String firewallId)
throws org.dasein.cloud.InternalException,
org.dasein.cloud.CloudException
getFirewall in interface org.dasein.cloud.network.FirewallSupportgetFirewall in class org.dasein.cloud.network.AbstractFirewallSupportorg.dasein.cloud.InternalException
org.dasein.cloud.CloudException
@Nonnull
public Collection<org.dasein.cloud.network.FirewallRule> getRules(@Nonnull
String firewallId)
throws org.dasein.cloud.InternalException,
org.dasein.cloud.CloudException
getRules in interface org.dasein.cloud.network.FirewallSupportgetRules in class org.dasein.cloud.network.AbstractFirewallSupportorg.dasein.cloud.InternalException
org.dasein.cloud.CloudException
public boolean isSubscribed()
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
@Nonnull
public Collection<org.dasein.cloud.network.Firewall> list()
throws org.dasein.cloud.InternalException,
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException
@Nonnull
public Iterable<org.dasein.cloud.ResourceStatus> listFirewallStatus()
throws org.dasein.cloud.InternalException,
org.dasein.cloud.CloudException
listFirewallStatus in interface org.dasein.cloud.network.FirewallSupportlistFirewallStatus in class org.dasein.cloud.network.AbstractFirewallSupportorg.dasein.cloud.InternalException
org.dasein.cloud.CloudException
@Deprecated
@Nonnull
public Iterable<org.dasein.cloud.network.RuleTargetType> listSupportedDestinationTypes(boolean inVlan)
throws org.dasein.cloud.InternalException,
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException
@Deprecated
@Nonnull
public Iterable<org.dasein.cloud.network.Direction> listSupportedDirections(boolean inVlan)
throws org.dasein.cloud.InternalException,
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException
@Deprecated
@Nonnull
public Iterable<org.dasein.cloud.network.Permission> listSupportedPermissions(boolean inVlan)
throws org.dasein.cloud.InternalException,
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException
@Deprecated
@Nonnull
public Iterable<org.dasein.cloud.network.RuleTargetType> listSupportedSourceTypes(boolean inVlan)
throws org.dasein.cloud.InternalException,
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException
public void revoke(@Nonnull
String providerFirewallRuleId)
throws org.dasein.cloud.InternalException,
org.dasein.cloud.CloudException
revoke in interface org.dasein.cloud.network.FirewallSupportrevoke in class org.dasein.cloud.network.AbstractFirewallSupportorg.dasein.cloud.InternalException
org.dasein.cloud.CloudException
public void revoke(@Nonnull
String firewallId,
@Nonnull
String source,
@Nonnull
org.dasein.cloud.network.Protocol protocol,
int beginPort,
int endPort)
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
revoke in interface org.dasein.cloud.network.FirewallSupportrevoke in class org.dasein.cloud.network.AbstractFirewallSupportorg.dasein.cloud.CloudException
org.dasein.cloud.InternalException
public void revoke(@Nonnull
String firewallId,
@Nonnull
org.dasein.cloud.network.Direction direction,
@Nonnull
String source,
@Nonnull
org.dasein.cloud.network.Protocol protocol,
int beginPort,
int endPort)
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
revoke in interface org.dasein.cloud.network.FirewallSupportrevoke in class org.dasein.cloud.network.AbstractFirewallSupportorg.dasein.cloud.CloudException
org.dasein.cloud.InternalException
public void revoke(@Nonnull
String firewallId,
@Nonnull
org.dasein.cloud.network.Direction direction,
@Nonnull
org.dasein.cloud.network.Permission permission,
@Nonnull
String source,
@Nonnull
org.dasein.cloud.network.Protocol protocol,
int beginPort,
int endPort)
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
revoke in interface org.dasein.cloud.network.FirewallSupportrevoke in class org.dasein.cloud.network.AbstractFirewallSupportorg.dasein.cloud.CloudException
org.dasein.cloud.InternalException
public void revoke(@Nonnull
String firewallId,
@Nonnull
org.dasein.cloud.network.Direction direction,
@Nonnull
org.dasein.cloud.network.Permission permission,
@Nonnull
String source,
@Nonnull
org.dasein.cloud.network.Protocol protocol,
@Nonnull
org.dasein.cloud.network.RuleTarget target,
int beginPort,
int endPort)
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
revoke in interface org.dasein.cloud.network.FirewallSupportrevoke in class org.dasein.cloud.network.AbstractFirewallSupportorg.dasein.cloud.CloudException
org.dasein.cloud.InternalException
@Nonnull
public Map<org.dasein.cloud.network.FirewallConstraints.Constraint,Object> getActiveConstraintsForFirewall(@Nonnull
String firewallId)
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
getActiveConstraintsForFirewall in interface org.dasein.cloud.network.FirewallSupportgetActiveConstraintsForFirewall in class org.dasein.cloud.network.AbstractFirewallSupportorg.dasein.cloud.CloudException
org.dasein.cloud.InternalException
@Deprecated
@Nonnull
public String getProviderTermForFirewall(@Nonnull
Locale locale)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||