Skip to content

Commit 667bd3b

Browse files
committed
delete tkeSecurityInfo method
1 parent d1c9daa commit 667bd3b

File tree

1 file changed

+40
-40
lines changed

1 file changed

+40
-40
lines changed

tencentcloud/services/tke/resource_tc_kubernetes_cluster_extension.go

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -2135,46 +2135,46 @@ func tkeCvmState() map[string]*schema.Schema {
21352135
}
21362136
}
21372137

2138-
func tkeSecurityInfo() map[string]*schema.Schema {
2139-
return map[string]*schema.Schema{
2140-
"user_name": {
2141-
Type: schema.TypeString,
2142-
Computed: true,
2143-
Description: "User name of account.",
2144-
},
2145-
"password": {
2146-
Type: schema.TypeString,
2147-
Computed: true,
2148-
Description: "Password of account.",
2149-
},
2150-
"certification_authority": {
2151-
Type: schema.TypeString,
2152-
Computed: true,
2153-
Description: "The certificate used for access.",
2154-
},
2155-
"cluster_external_endpoint": {
2156-
Type: schema.TypeString,
2157-
Computed: true,
2158-
Description: "External network address to access.",
2159-
},
2160-
"domain": {
2161-
Type: schema.TypeString,
2162-
Computed: true,
2163-
Description: "Domain name for access.",
2164-
},
2165-
"pgw_endpoint": {
2166-
Type: schema.TypeString,
2167-
Computed: true,
2168-
Description: "The Intranet address used for access.",
2169-
},
2170-
"security_policy": {
2171-
Type: schema.TypeList,
2172-
Computed: true,
2173-
Elem: &schema.Schema{Type: schema.TypeString},
2174-
Description: "Access policy.",
2175-
},
2176-
}
2177-
}
2138+
//func tkeSecurityInfo() map[string]*schema.Schema {
2139+
// return map[string]*schema.Schema{
2140+
// "user_name": {
2141+
// Type: schema.TypeString,
2142+
// Computed: true,
2143+
// Description: "User name of account.",
2144+
// },
2145+
// "password": {
2146+
// Type: schema.TypeString,
2147+
// Computed: true,
2148+
// Description: "Password of account.",
2149+
// },
2150+
// "certification_authority": {
2151+
// Type: schema.TypeString,
2152+
// Computed: true,
2153+
// Description: "The certificate used for access.",
2154+
// },
2155+
// "cluster_external_endpoint": {
2156+
// Type: schema.TypeString,
2157+
// Computed: true,
2158+
// Description: "External network address to access.",
2159+
// },
2160+
// "domain": {
2161+
// Type: schema.TypeString,
2162+
// Computed: true,
2163+
// Description: "Domain name for access.",
2164+
// },
2165+
// "pgw_endpoint": {
2166+
// Type: schema.TypeString,
2167+
// Computed: true,
2168+
// Description: "The Intranet address used for access.",
2169+
// },
2170+
// "security_policy": {
2171+
// Type: schema.TypeList,
2172+
// Computed: true,
2173+
// Elem: &schema.Schema{Type: schema.TypeString},
2174+
// Description: "Access policy.",
2175+
// },
2176+
// }
2177+
//}
21782178

21792179
func TkeCvmCreateInfo() map[string]*schema.Schema {
21802180
return map[string]*schema.Schema{

0 commit comments

Comments
 (0)