|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SecurityGroupClient
Provides synchronous access to CloudStack security group features.
SecurityGroupAsyncClient,
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
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 associated
String 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
authorize
String 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 associated
String 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
authorize
String revokeIngressRule(String id,
AccountInDomainOptions... options)
id - The ID of the ingress ruleoptions - scope of the rule.SecurityGroup getSecurityGroup(String id)
id - group to get
SecurityGroup createSecurityGroup(String name)
name - name of the security group
void deleteSecurityGroup(String id)
id - group to delete
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||