File tree 2 files changed +7
-13
lines changed
internal/resources/cluster/backupschedule
2 files changed +7
-13
lines changed Original file line number Diff line number Diff line change @@ -125,15 +125,12 @@ var tfModelDataSourceRequestMap = &tfModelConverterHelper.BlockToStruct{
125
125
SortByKey : "sortBy" ,
126
126
QueryKey : "query" ,
127
127
IncludeTotalCountKey : "includeTotal" ,
128
- NameKey : tfModelConverterHelper .BuildDefaultModelPath ("fullName " , "name" ),
128
+ NameKey : tfModelConverterHelper .BuildDefaultModelPath ("searchScope " , "name" ),
129
129
ScopeKey : & tfModelConverterHelper.BlockToStruct {
130
- ClusterGroupScopeKey : & tfModelConverterHelper.BlockToStruct {
131
- ClusterGroupNameKey : tfModelConverterHelper .BuildDefaultModelPath ("fullName" , "clusterGroupName" ),
132
- },
133
130
ClusterScopeKey : & tfModelConverterHelper.BlockToStruct {
134
- ClusterNameKey : tfModelConverterHelper .BuildDefaultModelPath ("fullName " , "clusterName" ),
135
- ManagementClusterNameKey : tfModelConverterHelper .BuildDefaultModelPath ("fullName " , "managementClusterName" ),
136
- ProvisionerNameKey : tfModelConverterHelper .BuildDefaultModelPath ("fullName " , "provisionerName" ),
131
+ ClusterNameKey : tfModelConverterHelper .BuildDefaultModelPath ("searchScope " , "clusterName" ),
132
+ ManagementClusterNameKey : tfModelConverterHelper .BuildDefaultModelPath ("searchScope " , "managementClusterName" ),
133
+ ProvisionerNameKey : tfModelConverterHelper .BuildDefaultModelPath ("searchScope " , "provisionerName" ),
137
134
},
138
135
},
139
136
}
Original file line number Diff line number Diff line change @@ -26,22 +26,19 @@ var (
26
26
nameDSSchema = & schema.Schema {
27
27
Type : schema .TypeString ,
28
28
Description : "The name of the backup schedule" ,
29
- Required : true ,
30
- ForceNew : true ,
29
+ Optional : true ,
31
30
}
32
31
33
32
managementClusterNameDSSchema = & schema.Schema {
34
33
Type : schema .TypeString ,
35
34
Description : "Management cluster name" ,
36
- Required : true ,
37
- ForceNew : true ,
35
+ Optional : true ,
38
36
}
39
37
40
38
provisionerNameDSSchema = & schema.Schema {
41
39
Type : schema .TypeString ,
42
40
Description : "Cluster provisioner name" ,
43
- Required : true ,
44
- ForceNew : true ,
41
+ Optional : true ,
45
42
}
46
43
47
44
sortBySchema = & schema.Schema {
You can’t perform that action at this time.
0 commit comments