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