Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthorizeSecurityGroupRule ¶
func AuthorizeSecurityGroupRule()
func CreateSecurityGroup ¶
func CreateSecurityGroup()
securityGroup sdk CreateSecurityGroup - create a security group
PARAMS:
- args: the arguments to create security group
RETURNS:
- *api.CreateSecurityGroupResult: the result of create security group
- error: nil if success otherwise the specific error
CreateSecurityGroup 创建安全组
func DeleteSecurityGroup ¶
func DeleteSecurityGroup()
DeleteSecurityGroup - delete a security group
PARAMS:
- securityGroupId: the specific securityGroup ID
RETURNS:
- error: nil if success otherwise the specific error
func DeleteSecurityGroupRule ¶
func DeleteSecurityGroupRule()
DeleteSecurityGroupRule - delete a security group rule
PARAMS:
- securityGroupRuleId: the id of the specific security group rule
RETURNS:
- error: nil if success otherwise the specific error
func GetSecurityGroupDetail ¶ added in v0.9.195
func GetSecurityGroupDetail()
GetSecurityGroupDetail 获取安全组详情
func ListSecurityGroup ¶
func ListSecurityGroup()
ListSecurityGroup - list all security group
PARAMS:
- args: the arguments to list all security group
RETURNS:
- *api.ListSecurityGroupResult: the result of create Instance, contains new Instance ID
- error: nil if success otherwise the specific error
func RevokeSecurityGroupRule ¶
func RevokeSecurityGroupRule()
RevokeSecurityGroupRule - revoke a security group rule
PARAMS:
- securityGroupId: the specific securityGroup ID
- args: the arguments to revoke security group rule
RETURNS:
- error: nil if success otherwise the specific error
func UpdateSecurityGroupRule ¶
func UpdateSecurityGroupRule()
UpdateSecurityGroupRule - update security group rule with the specific parameters
PARAMS:
- args: the arguments to update the specific security group rule
RETURNS:
- error: nil if success otherwise the specific error
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.