@Beta
public interface SecurityGroupApi
Modifier and Type | Method and Description |
---|---|
Rule |
create(Rule.CreateRule securityGroupRule)
Creates a new Security Group Rule.
|
SecurityGroup |
create(SecurityGroup.CreateSecurityGroup securityGroup)
Creates a new SecurityGroup.
|
boolean |
deleteRule(String id)
Deletes the specified Security Group Rule.
|
boolean |
deleteSecurityGroup(String id)
Deletes the specified Security Group.
|
Rule |
get(String id) |
SecurityGroup |
getSecurityGroup(String id) |
PagedIterable<Rule> |
listRules() |
Rules |
listRules(PaginationOptions options) |
PagedIterable<SecurityGroup> |
listSecurityGroups() |
SecurityGroups |
listSecurityGroups(PaginationOptions options) |
@Named(value="security-group:list") PagedIterable<SecurityGroup> listSecurityGroups()
@Named(value="security-group:list") SecurityGroups listSecurityGroups(PaginationOptions options)
@Named(value="security-group:get") @Nullable SecurityGroup getSecurityGroup(String id)
id
- the id of the security group to return@Named(value="secuity-group:create") SecurityGroup create(SecurityGroup.CreateSecurityGroup securityGroup)
securityGroup
- Describes the security group to be created.@Named(value="security-group:delete") boolean deleteSecurityGroup(String id)
id
- the id of the security group to delete@Named(value="security-group-rule:list") PagedIterable<Rule> listRules()
@Named(value="security-group-rule:list") Rules listRules(PaginationOptions options)
@Named(value="security-group-rule:get") @Nullable Rule get(String id)
id
- the id of the security group rule to return.@Named(value="security-group-rule:create") Rule create(Rule.CreateRule securityGroupRule)
securityGroupRule
- Describes the security group rule to be created.@Named(value="security-group-rule:delete") boolean deleteRule(String id)
id
- the id of the security group rule to delete.Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.