apex_navigator_block_clones (Data Source)

This Terraform Datasource is used to query existing clones on Apex Navigator. The information fetched from this block can be further used for resource block.

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_clones" "example" {}

output "instance_clone" {
  value = data.apex_navigator_block_clones.example
}

# data "apex_navigator_block_clones" "example" {
#     filter {
#     ids = ["clone-id"] 
#   }
# }

# output "instance_clone" {
#   value = data.apex_navigator_block_clones.example
# }

Schema

Optional

Read-Only

Nested Schema for filter

Optional:

  • ids (Set of String) Filter by ids

Nested Schema for clones

Optional:

  • id (String) Identifier of the cloned object

Read-Only:

  • clone_volumes (Attributes List) A clone mobility member provides details of clone volume (see below for nested schema)
  • creation_timestamp (String) When the clone was created
  • description (String) Description of the clone
  • host_mappings (Attributes List) This represents the mapping of a repurposed (clone) storage object to a host (presumably using the clone for some analytical workload) (see below for nested schema)
  • image_timestamp (String) Image timestamp
  • mobility_target_id (String) Mobility target ID
  • name (String) Name of the clone
  • refresh_timestamp (String) When the clone was last updated

Nested Schema for clones.clone_volumes

Read-Only:

  • id (String) ID of the member
  • name (String) Name of the member
  • parent_id (String) Identifier of the related mobility member
  • size (String) Size of the member

Nested Schema for clones.host_mappings

Read-Only:

  • host_id (String) Identifier of the host
  • host_initiator_protocol (String) Type of the host
  • host_ip (String) IP address of host
  • host_name (String) Name of host/SDC to be mapped to the clone
  • id (String) This is a host mappings id generated by APEX Navigator for Multicloud Storage
  • nqn (String) NVMe qualified name. Only applicable if host_initiator_protocol is NVMe