title | linkTitle | page_title | subcategory | description |
---|---|---|---|---|
powerscale_storagepool_tier resource |
powerscale_storagepool_tier |
powerscale_storagepool_tier Resource - terraform-provider-powerscale |
This resource is used to manage the storagepool tier entity of PowerScale Array. We can Create, Update and Delete the storagepool tiers using this resource. We can also import an existing storagepool tier from PowerScale array. |
This resource is used to manage the storagepool tier entity of PowerScale Array. We can Create, Update and Delete the storagepool tiers using this resource. We can also import an existing storagepool tier from PowerScale array.
/*
Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
Licensed under the Mozilla Public License Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://mozilla.org/MPL/2.0/
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
# Available actions: Create, Update, Delete and Import.
# After `terraform apply` of this example file will create the storage pool tier on the PowerScale array with the attributes set in the config.
# For update, name, children, transfer_limit_pct and transfer_limit_state are supported. transfer_limit_pct and transfer_limit_state are mutually exclusive
resource "powerscale_storagepool_tier" "example" {
# Required field both for creating and updating
name = "Sample_terraform_tier_7"
# Optional parameters
children = [
"x410_34tb_1.6tb-ssd_64gb"
]
transfer_limit_pct = 40
}
name
(String) Specifies the storagepool tier name.
children
(List of String) An optional parameter which adds new nodepools to the storagepool tier.transfer_limit_pct
(Number) Stop moving files to this tier when this limit is mettransfer_limit_state
(String) How the transfer limit value is being applied
id
(Number) Specifies a string which represents the unique identifier of storagepool tierlnns
(List of Number) The nodes that are part of this tier.
Unless specified otherwise, all fields of this resource can be updated.
Import is supported using the following syntax:
# Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
# Licensed under the Mozilla Public License Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://mozilla.org/MPL/2.0/
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# The command is
# terraform import powerscale_storagepool_tier.example id_of_storagepool_tier
# Example:
terraform import powerscale_storagepool_tier.example "tier"
# after running this command, populate parameters in the config file to start managing this resource.
# Note: running "terraform show" after importing shows the current config/state of the resource.