apex_apex_navigator_clones (Data Source)

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.
*/
terraform {
  required_providers {
    apex = {
      version = "~> 0.0.0"
      source  = "dell/apex"
    }
  }
}

provider "apex" {
  host  = var.HOST
  token = var.JWT_TOKEN
}

variable "JWT_TOKEN" {
  type = string
}

variable "HOST" {
  type = string
}

data "apex_navigator_clones" "example" {}

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

Schema

Read-Only

Nested Schema for clones

Optional:

  • id (String)

Read-Only:

  • clone_volumes (Attributes List) (see below for nested schema)
  • creation_timestamp (String)
  • description (String)
  • host_mappings (Attributes List) (see below for nested schema)
  • image_timestamp (String)
  • mobility_target_id (String)
  • name (String) Name of the clone
  • refresh_timestamp (String)

Nested Schema for clones.clone_volumes

Read-Only:

  • id (String)
  • name (String)
  • parent_id (String)
  • size (String)

Nested Schema for clones.host_mappings

Read-Only:

  • host_id (String)
  • host_initiator_protocol (String)
  • host_ip (String)
  • host_name (String)
  • id (String)
  • nqn (String)