public interface SecurityGroupService extends RestService
Modifier and Type | Method and Description |
---|---|
SecurityGroup |
create(SecurityGroup securityGroup)
Creates a SecurityGroup.
|
ActionResponse |
delete(String id)
Deletes SecurityGroup by id.
|
SecurityGroup |
get(String id)
Gets the Security Group by id.
|
List<? extends SecurityGroup> |
list()
Get list of security groups accessible by the current tenant
|
List<? extends SecurityGroup> |
list(Map<String,String> filteringParams)
Get list of security groups accessible by the current tenant
|
SecurityGroup |
update(String securityGroupId,
SecurityGroupUpdate securityGroupUpdate)
Updates a SecurityGroup associated by the specified
securityGroupId |
List<? extends SecurityGroup> list()
SecurityGroup get(String id)
id
- the idActionResponse delete(String id)
id
- SecurityGroup idSecurityGroup create(SecurityGroup securityGroup)
securityGroup
- the security groupSecurityGroup update(String securityGroupId, SecurityGroupUpdate securityGroupUpdate)
securityGroupId
securityGroupId
- the security group identifiersecurityGroupUpdate
- the security group options to update (see Builders.securityGroupUpdate()
List<? extends SecurityGroup> list(Map<String,String> filteringParams)
filteringParams
- map (name, value) of filtering parametersCopyright © 2017. All rights reserved.