troveclient.v1.security_groups module¶
- class troveclient.v1.security_groups.SecurityGroup(manager, info, loaded=False)¶
Bases:
Resource
Security Group is a resource used to hold security group information.
- class troveclient.v1.security_groups.SecurityGroupRule(manager, info, loaded=False)¶
Bases:
Resource
This resource is used to hold security group rule information.
- class troveclient.v1.security_groups.SecurityGroupRules(api)¶
Bases:
ManagerWithFind
Manage
SecurityGroupRules
resources.- create(group_id, cidr)¶
Create a new security group rule.
- delete(security_group_rule)¶
Delete the specified security group rule.
- Parameters:
security_group_rule – The security group rule to delete
- list()¶
- resource_class¶
alias of
SecurityGroupRule
- class troveclient.v1.security_groups.SecurityGroups(api)¶
Bases:
ManagerWithFind
Manage
SecurityGroup
resources.- get(security_group)¶
Get a specific security group.
- Return type:
- list(limit=None, marker=None)¶
Get a list of all security groups.
- Return type:
list of
SecurityGroup
.
- resource_class¶
alias of
SecurityGroup