This commit is contained in:
asteam
2025-01-21 12:16:49 +03:00
parent 76ea459b3d
commit 60e23338ad
751 changed files with 17877 additions and 1908 deletions

View File

@@ -188,6 +188,9 @@ func MakeSchemaDataSourceVINS() map[string]schema.Attribute {
"type": schema.StringAttribute{
Computed: true,
},
"vnc_password": schema.StringAttribute{
Computed: true,
},
"vins": schema.ListAttribute{
Computed: true,
ElementType: types.Int64Type,
@@ -330,18 +333,6 @@ func MakeSchemaDataSourceVINS() map[string]schema.Attribute {
Computed: true,
NestedObject: schema.NestedAttributeObject{
Attributes: map[string]schema.Attribute{
"client_type": schema.StringAttribute{
Computed: true,
},
"desc": schema.StringAttribute{
Computed: true,
},
"domainname": schema.StringAttribute{
Computed: true,
},
"hostname": schema.StringAttribute{
Computed: true,
},
"ip": schema.StringAttribute{
Computed: true,
},

View File

@@ -386,6 +386,9 @@ func MakeSchemaResourceVINS() map[string]schema.Attribute {
"type": schema.StringAttribute{
Computed: true,
},
"vnc_password": schema.StringAttribute{
Computed: true,
},
"vins": schema.ListAttribute{
Computed: true,
ElementType: types.Int64Type,

View File

@@ -24,13 +24,6 @@ func MakeSchemaResourceVINSStaticRoute() map[string]schema.Attribute {
Required: true,
},
// optional attributes
"compute_ids": schema.ListAttribute{
Computed: true,
Optional: true,
ElementType: types.Int64Type,
},
// computed attributes
"id": schema.StringAttribute{
Computed: true,
@@ -47,5 +40,9 @@ func MakeSchemaResourceVINSStaticRoute() map[string]schema.Attribute {
"route_id": schema.Int64Attribute{
Computed: true,
},
"compute_ids": schema.ListAttribute{
Computed: true,
ElementType: types.Int64Type,
},
}
}