bccsgexamples

package
v0.9.266 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL