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
filter
(Block, Optional) (see below for nested schema)
Read-Only
clones
(Attributes List) List of clones (see below for nested schema)id
(String) ID of the clone datasource
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 createddescription
(String) Description of the clonehost_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 timestampmobility_target_id
(String) Mobility target IDname
(String) Name of the clonerefresh_timestamp
(String) When the clone was last updated
Nested Schema for clones.clone_volumes
Read-Only:
id
(String) ID of the membername
(String) Name of the memberparent_id
(String) Identifier of the related mobility membersize
(String) Size of the member
Nested Schema for clones.host_mappings
Read-Only:
host_id
(String) Identifier of the hosthost_initiator_protocol
(String) Type of the hosthost_ip
(String) IP address of hosthost_name
(String) Name of host/SDC to be mapped to the cloneid
(String) This is a host mappings id generated by APEX Navigator for Multicloud Storagenqn
(String) NVMe qualified name. Only applicable if host_initiator_protocol is NVMe