Security_groupsΒΆ
-
class
troveclient.v1.security_groups.
SecurityGroup
(manager, info, loaded=False) Bases:
troveclient.base.Resource
Security Group is a resource used to hold security group information.
-
class
troveclient.v1.security_groups.
SecurityGroupRule
(manager, info, loaded=False) Bases:
troveclient.base.Resource
This resource is used to hold security group rule information.
-
class
troveclient.v1.security_groups.
SecurityGroupRules
(api) Bases:
troveclient.base.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:
troveclient.base.ManagerWithFind
Manage
SecurityGroup
resources.-
get
(security_group) Get a specific security group.
Return type: SecurityGroup
-
list
(limit=None, marker=None) Get a list of all security groups.
Return type: list of SecurityGroup
.
-
resource_class
alias of
SecurityGroup
-