apex_navigator_block_pools (Data Source)

This Terraform Datasource is used to query existing pools on Apex Navigator.

Example Usage

/*
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.
*/

data "apex_navigator_block_pools" "example" {}

output "examples_pools" {
  value = data.apex_navigator_block_pools.example
}

# data "apex_navigator_block_pools" "example" {
#   filter {
#     ids = ["pool-id"] 
#   }
# }

# output "examples_pools" {
#   value = data.apex_navigator_block_pools.example
# }

Schema

Optional

Read-Only

Nested Schema for filter

Optional:

  • ids (Set of String) Filter by ids

Nested Schema for pools

Optional:

  • free_size (Number) Available capacity - Unit: bytes
  • id (String) Identifier of the pool
  • issue_count (Number) Number of health issues that are present on the pool
  • name (String) Name of the pool
  • native_id (String) Native identifier of the pool, defined by the system
  • subscribed_percent (Number) Percentage of pool capacity that is provisioned
  • subscribed_size (Number) Total subscribed capacity of the pool - Unit: bytes
  • system_id (String) Unique identifier for the device or appliance.
  • system_model (String) Model of the system
  • system_name (String) Name of the system
  • system_type (String) Type of the system
  • time_to_full_prediction (String) This is an enumerated type showing a prediction of when the pool may become full. Possible values are: DAY (imminent); FULL (pool is full); WEEK (full in a week); MONTH (full in a month); QUARTER (full within a quarter); BEYOND (more than a quarter to become full); LEARNING (not enough data to perform an analysis); UNPREDICTABLE (missing or invalid data); or UNKNOWN (system error).
  • total_size (Number) Total capacity of the pool - Unit: bytes
  • type (String) The type of pool
  • used_percent (Number) Percentage of pool capacity that is being used
  • used_size (Number) Capacity of the pool that is being used - Unit: bytes