This commit is contained in:
asteam
2024-12-04 13:18:58 +03:00
parent 003e4d656e
commit 76ea459b3d
417 changed files with 30051 additions and 975 deletions

View File

@@ -13,12 +13,6 @@ func MakeSchemaDataSourceRG() map[string]schema.Attribute {
Description: "resource group id",
},
// optional attributes
"reason": schema.StringAttribute{
Optional: true,
Description: "reason for request",
},
//computed attributes
"account_id": schema.Int64Attribute{
Computed: true,

View File

@@ -12,12 +12,6 @@ func MakeSchemaDataSourceRGUsage() map[string]schema.Attribute {
Description: "find by rg id",
},
// optional attributes
"reason": schema.StringAttribute{
Optional: true,
Description: "reason for action",
},
//computed attributes
"id": schema.StringAttribute{
Computed: true,

View File

@@ -109,10 +109,6 @@ func MakeSchemaResourceRG() map[string]schema.Attribute {
Required: true,
Description: "Access rights to set, one of 'R', 'RCX' or 'ARCXDU'",
},
"reason": schema.StringAttribute{
Optional: true,
Description: "Reason for action",
},
},
},
},
@@ -132,10 +128,6 @@ func MakeSchemaResourceRG() map[string]schema.Attribute {
Description: "Network segment ID. If netType is PUBLIC and netId is 0 then default external network segment will be selected. If netType is PRIVATE and netId=0, the first ViNS defined for this RG will be selected. Otherwise, netId identifies either existing external network segment or ViNS.",
// default value is 0
},
"reason": schema.StringAttribute{
Optional: true,
Description: "Reason for action",
},
},
},
"description": schema.StringAttribute{
@@ -152,10 +144,6 @@ func MakeSchemaResourceRG() map[string]schema.Attribute {
Description: "Set to True if you want force delete non-empty RG",
// default value is true
},
"reason": schema.StringAttribute{
Optional: true,
Description: "Set to True if you want force delete non-empty RG",
},
"register_computes": schema.BoolAttribute{
Optional: true,
Description: "Register computes in registration system",
@@ -171,6 +159,13 @@ func MakeSchemaResourceRG() map[string]schema.Attribute {
// default value is true
},
"uniq_pools": schema.ListAttribute{
Optional: true,
Computed: true,
ElementType: types.StringType,
Description: "List of strings with pools. Applies only when updating",
},
// computed attributes
"rg_id": schema.Int64Attribute{
Computed: true,
@@ -267,9 +262,5 @@ func MakeSchemaResourceRG() map[string]schema.Attribute {
Computed: true,
ElementType: types.StringType,
},
"uniq_pools": schema.ListAttribute{
Computed: true,
ElementType: types.StringType,
},
}
}