Skip to content

Commit 435945c

Browse files
committed
add version number
1 parent bde6774 commit 435945c

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

tencentcloud/services/as/data_source_tc_as_scaling_configs.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,11 @@ func DataSourceTencentCloudAsScalingConfigs() *schema.Resource {
164164
Computed: true,
165165
Description: "Policy of cloud disk type.",
166166
},
167+
"version_number": {
168+
Type: schema.TypeInt,
169+
Computed: true,
170+
Description: "Version Number.",
171+
},
167172
},
168173
},
169174
},
@@ -216,6 +221,7 @@ func dataSourceTencentCloudAsScalingConfigRead(d *schema.ResourceData, meta inte
216221
"status": *config.LaunchConfigurationStatus,
217222
"create_time": *config.CreatedTime,
218223
"disk_type_policy": *config.DiskTypePolicy,
224+
"version_number": *config.VersionNumber,
219225
}
220226
if config.SystemDisk.DiskType != nil {
221227
mapping["system_disk_type"] = *config.SystemDisk.DiskType

website/docs/d/as_scaling_configs.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,6 @@ In addition to all arguments above, the following attributes are exported:
5757
* `system_disk_size` - System disk size of the scaling configuration in GB.
5858
* `system_disk_type` - System disk category of the scaling configuration.
5959
* `user_data` - Base64-encoded User Data text.
60+
* `version_number` - Version Number.
6061

6162

0 commit comments

Comments
 (0)