@Beta
public interface SecurityGroupApi
Modifier and Type | Method and Description |
---|---|
SecurityGroupRule |
createRuleAllowingCidrBlock(String parentGroup,
Ingress ip_protocol,
String sourceCidr)
Create a Security Group Rule.
|
SecurityGroupRule |
createRuleAllowingSecurityGroupId(String parentGroup,
Ingress ip_protocol,
String groupId)
Create a Security Group Rule.
|
SecurityGroup |
createWithDescription(String name,
String description)
Create a Security Group
|
boolean |
delete(String id)
Delete a Security Group.
|
boolean |
deleteRule(String ruleId)
Delete a Security Group Rule.
|
SecurityGroup |
get(String id)
Get a specific Security Group
|
com.google.common.collect.FluentIterable<SecurityGroup> |
list()
List all Security Groups.
|
@Named(value="securityGroup:list") com.google.common.collect.FluentIterable<SecurityGroup> list()
@Named(value="securityGroup:get") @Nullable SecurityGroup get(String id)
@Named(value="securityGroup:create") @Nullable SecurityGroup createWithDescription(String name, String description)
@Named(value="securityGroup:delete") boolean delete(String id)
@Named(value="securityGroup:create") @Nullable SecurityGroupRule createRuleAllowingCidrBlock(String parentGroup, Ingress ip_protocol, String sourceCidr)
@Named(value="securityGroup:create") @Nullable SecurityGroupRule createRuleAllowingSecurityGroupId(String parentGroup, Ingress ip_protocol, String groupId)
@Named(value="securityGroup:delete") boolean deleteRule(String ruleId)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.