Skip to content

Commit 1622adb

Browse files
committed
Merged dev/regen-cvm into the current branch and resolved conflicts
2 parents 66c5f5c + 360853e commit 1622adb

21 files changed

+869
-585
lines changed

tencentcloud/services/cvm/data_source_tc_cvm_instance_vnc_url.go

Lines changed: 29 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package cvm
2+
3+
import (
4+
"context"
5+
"fmt"
6+
7+
tccommon "github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/common"
8+
)
9+
10+
func dataSourceTencentCloudCvmInstanceVncUrlReadOutputContent(ctx context.Context) interface{} {
11+
d := tccommon.ResourceDataFromContext(ctx)
12+
if d == nil {
13+
return fmt.Errorf("resource data can not be nil")
14+
}
15+
return map[string]interface{}{
16+
"instance_vnc_url": d.Get("instance_vnc_url"),
17+
}
18+
}

tencentcloud/services/cvm/data_source_tc_cvm_instances_modification.go

Lines changed: 112 additions & 68 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package cvm

0 commit comments

Comments
 (0)