ksyun_krds_security_groups

最近更新时间:2019-12-23 15:45:50

This data source provides information about security groups for KRDS instances.

Example Usage

data "ksyun_sqlservers" "search-sqlservers"{
  output_file = "output_file"
  security_group_id = 123
}

Argument Reference

The following arguments are supported:

  • output_file- (Required) The file name of the content store.
  • security_group_id- (Optional) Security group ID.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • SecurityGroupId- Security group ID
  • SecurityGroupName- Security group name
  • SecurityGroupDescription- Security group description
  • Instances- Corresponding instances
  • DBInstanceIdentifier- Instance ID
  • DBInstanceName- Instance name
  • Vip- Instance virtual IP
  • SecurityGroupRules- Security group rules
  • SecurityGroupRuleId- Rule ID
  • SecurityGroupRuleName- Rule name
  • SecurityGroupRuleProtocol- Rule protocol

金山云,开启您的云计算之旅

注册有礼