public interface SecurityGroupClient
SecurityGroupAsyncClient
,
Modifier and Type | Method and Description |
---|---|
String |
authorizeIngressICMPToCIDRs(String securityGroupId,
int ICMPCode,
int ICMPType,
Iterable<String> cidrList,
AccountInDomainOptions... options)
Authorizes a particular ICMP ingress rule for this security group
|
String |
authorizeIngressICMPToSecurityGroups(String 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
|
String |
authorizeIngressPortsToCIDRs(String securityGroupId,
String protocol,
int startPort,
int endPort,
Iterable<String> cidrList,
AccountInDomainOptions... options)
Authorizes a particular TCP or UDP ingress rule for this security group
|
String |
authorizeIngressPortsToSecurityGroups(String 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(String id)
delete a specific security group by id
|
SecurityGroup |
getSecurityGroup(String id)
get a specific security group by id
|
Set<SecurityGroup> |
listSecurityGroups(ListSecurityGroupsOptions... options)
Lists security groups
|
String |
revokeIngressRule(String 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.String authorizeIngressPortsToCIDRs(String 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 associatedString authorizeIngressPortsToSecurityGroups(String 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
authorizeString authorizeIngressICMPToCIDRs(String 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 associatedString authorizeIngressICMPToSecurityGroups(String 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
authorizeString revokeIngressRule(String id, AccountInDomainOptions... options)
id
- The ID of the ingress ruleoptions
- scope of the rule.SecurityGroup getSecurityGroup(String id)
id
- group to getSecurityGroup createSecurityGroup(String name)
name
- name of the security groupvoid deleteSecurityGroup(String id)
id
- group to deleteCopyright © 2009-2013 jclouds. All Rights Reserved.