apex_apex_navigator_clones (Resource)
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
jms_endpoint = var.JMS_ENDPOINT
}
variable "JWT_TOKEN" {
type = string
}
variable "HOST" {
type = string
}
variable "JMS_ENDPOINT" {
type = string
}
resource "apex_navigator_clones" "example" {
name = "CloneTerraformName"
description = "consulente autem dictum est, altum videtur esse ius potest"
mobility_target_id = "POWERFLEX-ABCD1234567890__DATAMOBILITYGROUP__12345678-1234-1234-1234-123456789012"
host_mappings = [
{
host_id = "POWERFLEX-ABCD1234567890__HOST__12345678901234"
}
]
}
output "examples_clones" {
value = apex_navigator_clones.example
}
Schema
Required
mobility_target_id
(String)
Optional
description
(String)host_mappings
(Attributes List) (see below for nested schema)name
(String) Name of the clone
Read-Only
clone_volumes
(Attributes List) (see below for nested schema)creation_timestamp
(String)id
(String) The ID of this resource.image_timestamp
(String)refresh_timestamp
(String)
Nested Schema for host_mappings
Required:
host_id
(String)
Read-Only:
host_initiator_protocol
(String)host_ip
(String)host_name
(String)id
(String)nqn
(String)
Nested Schema for clone_volumes
Read-Only:
id
(String)name
(String)parent_id
(String)size
(String)