apex_apex_navigator_clone (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_clone" "example" {
  id = "POWERFLEX-ABCD123456789__DATAMOBILITYCLONE__1234567-1234-1234-1234-123456789"
}

output "example_clone" {
  value = data.apex_navigator_clone.example
}

Schema

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)
  • id (String) The ID of this resource.
  • image_timestamp (String)
  • mobility_target_id (String)
  • name (String) Name of the clone
  • refresh_timestamp (String)

Nested Schema for clone_volumes

Read-Only:

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

Nested Schema for host_mappings

Read-Only:

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