public interface SecurityGroupClient
SecurityGroupAsyncClient,
| Modifier and Type | Method and Description |
|---|---|
long |
authorizeIngressICMPToCIDRs(long securityGroupId,
int ICMPCode,
int ICMPType,
Iterable<String> cidrList,
AccountInDomainOptions... options)
Authorizes a particular ICMP ingress rule for this security group
|
long |
authorizeIngressICMPToSecurityGroups(long securityGroupId,
int ICMPCode,
int ICMPType,
com.google.common.collect.Multimap<String,String> accountToGroup,
AccountInDomainOptions... options)
Authorizes a particular ICMP ingress rule for this security group
|
long |
authorizeIngressPortsToCIDRs(long securityGroupId,
String protocol,
int startPort,
int endPort,
Iterable<String> cidrList,
AccountInDomainOptions... options)
Authorizes a particular TCP or UDP ingress rule for this security group
|
long |
authorizeIngressPortsToSecurityGroups(long securityGroupId,
String protocol,
int startPort,
int endPort,
com.google.common.collect.Multimap<String,String> accountToGroup,
AccountInDomainOptions... options)
Authorizes a particular TCP or UDP ingress rule for this security group
|
SecurityGroup |
createSecurityGroup(String name)
Creates a security group
|
void |
deleteSecurityGroup(long id)
delete a specific security group by id
|
SecurityGroup |
getSecurityGroup(long id)
get a specific security group by id
|
Set<SecurityGroup> |
listSecurityGroups(ListSecurityGroupsOptions... options)
Lists security groups
|
long |
revokeIngressRule(long id,
AccountInDomainOptions... options)
Deletes a particular ingress rule from this security group
|
Set<SecurityGroup> listSecurityGroups(ListSecurityGroupsOptions... options)
options - if present, how to constrain the list.long authorizeIngressPortsToCIDRs(long securityGroupId,
String protocol,
int startPort,
int endPort,
Iterable<String> cidrList,
AccountInDomainOptions... options)
securityGroupId - The ID of the security groupprotocol - tcp or udpstartPort - start port for this ingress ruleendPort - end port for this ingress rulecidrList - the cidr list associatedlong authorizeIngressPortsToSecurityGroups(long securityGroupId,
String protocol,
int startPort,
int endPort,
com.google.common.collect.Multimap<String,String> accountToGroup,
AccountInDomainOptions... options)
securityGroupId - The ID of the security groupprotocol - tcp or udpstartPort - start port for this ingress ruleendPort - end port for this ingress ruleaccountToGroup - mapping of account names to security groups you wish to
authorizelong authorizeIngressICMPToCIDRs(long securityGroupId,
int ICMPCode,
int ICMPType,
Iterable<String> cidrList,
AccountInDomainOptions... options)
securityGroupId - The ID of the security groupICMPCode - type of the icmp message being sentICMPType - error code for this icmp messagecidrList - the cidr list associatedlong authorizeIngressICMPToSecurityGroups(long securityGroupId,
int ICMPCode,
int ICMPType,
com.google.common.collect.Multimap<String,String> accountToGroup,
AccountInDomainOptions... options)
securityGroupId - The ID of the security groupICMPCode - type of the icmp message being sentICMPType - error code for this icmp messageaccountToGroup - mapping of account names to security groups you wish to
authorizelong revokeIngressRule(long id,
AccountInDomainOptions... options)
id - The ID of the ingress ruleoptions - scope of the rule.SecurityGroup getSecurityGroup(long id)
id - group to getSecurityGroup createSecurityGroup(String name)
name - name of the security groupvoid deleteSecurityGroup(long id)
id - group to deleteCopyright © 2009-2012 jclouds. All Rights Reserved.