This commit is contained in:
asteam
2025-07-01 13:44:09 +03:00
parent 5382579a5f
commit ddbb12996d
1041 changed files with 2842 additions and 96448 deletions

View File

@@ -115,7 +115,7 @@ func MakeSchemaDataSourceImage() map[string]schema.Attribute {
"purge_attempts": schema.Int64Attribute{
Computed: true,
},
"present_to": schema.ListAttribute{
"present_to": schema.MapAttribute{
Computed: true,
ElementType: types.Int64Type,
},
@@ -128,6 +128,9 @@ func MakeSchemaDataSourceImage() map[string]schema.Attribute {
"sep_id": schema.Int64Attribute{
Computed: true,
},
"snapshot_id": schema.StringAttribute{
Computed: true,
},
"shared_with": schema.ListAttribute{
Computed: true,
ElementType: types.Int64Type,

View File

@@ -30,9 +30,9 @@ func MakeSchemaResourceImage() map[string]schema.Attribute {
"image_type": schema.StringAttribute{
Required: true,
Validators: []validator.String{
stringvalidator.OneOf("linux", "windows", "other"),
stringvalidator.OneOf("linux", "windows", "unknown"),
},
Description: "Image type linux, windows or other",
Description: "Image type linux, windows or unknown",
},
"drivers": schema.ListAttribute{
Required: true,
@@ -167,7 +167,7 @@ func MakeSchemaResourceImage() map[string]schema.Attribute {
"purge_attempts": schema.Int64Attribute{
Computed: true,
},
"present_to": schema.ListAttribute{
"present_to": schema.MapAttribute{
Computed: true,
ElementType: types.Int64Type,
},
@@ -184,6 +184,9 @@ func MakeSchemaResourceImage() map[string]schema.Attribute {
"size": schema.Int64Attribute{
Computed: true,
},
"snapshot_id": schema.StringAttribute{
Computed: true,
},
"status": schema.StringAttribute{
Computed: true,
},

View File

@@ -54,6 +54,9 @@ func MakeSchemaResourceImageVirtual() map[string]schema.Attribute {
"compute_ci_id": schema.Int64Attribute{
Computed: true,
},
"cd_presented_to": schema.StringAttribute{
Computed: true,
},
"deleted_time": schema.Int64Attribute{
Computed: true,
},
@@ -98,6 +101,9 @@ func MakeSchemaResourceImageVirtual() map[string]schema.Attribute {
"milestones": schema.Int64Attribute{
Computed: true,
},
"network_interface_naming": schema.StringAttribute{
Computed: true,
},
"image_id": schema.Int64Attribute{
Computed: true,
},
@@ -116,7 +122,7 @@ func MakeSchemaResourceImageVirtual() map[string]schema.Attribute {
"purge_attempts": schema.Int64Attribute{
Computed: true,
},
"present_to": schema.ListAttribute{
"present_to": schema.MapAttribute{
Computed: true,
ElementType: types.Int64Type,
},
@@ -136,6 +142,9 @@ func MakeSchemaResourceImageVirtual() map[string]schema.Attribute {
"size": schema.Int64Attribute{
Computed: true,
},
"snapshot_id": schema.StringAttribute{
Computed: true,
},
"status": schema.StringAttribute{
Computed: true,
},