title | linkTitle | page_title | subcategory | description |
---|---|---|---|---|
apex_navigator_block_mobility_groups resource |
apex_navigator_block_mobility_groups |
apex_navigator_block_mobility_groups Resource - apex |
This Terraform resource is used to manage Source Data Mobility Groups on Apex Navigator.We can create, read, update, delete Data Mobility Groups on Apex Navigator.We can also import existing Data Mobility Groups from Apex Navigator. |
This Terraform resource is used to manage Source Data Mobility Groups on Apex Navigator.We can create, read, update, delete Data Mobility Groups on Apex Navigator.We can also import existing Data Mobility Groups from Apex Navigator.
/*
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.
*/
resource "apex_navigator_block_mobility_groups" "example" {
# Name of the Mobility Group source
name = "TerraformMobilityGroup"
# ID of the target system
system_id = "POWERFLEX-ABCD1234567890"
# Type of the target system
system_type = "POWERFLEX"
# ID of the volume you want to add to the group
volume_id = [
"POWERFLEX-ABCD1234567890__VOLUME__1234567890123456"
]
# Note: PowerFlex credentials are required to activate the system for mobility related operations.
powerflex {
username = "example-user"
password = "example-pass"
insecure = true
}
}
output "examples_mobility_group" {
value = apex_navigator_block_mobility_groups.example
sensitive = true
}
name
(String) Mobility group namesystem_id
(String) Identifier of the system for the mobility group memberssystem_type
(String) The source system type (e.g.: POWERFLEX)volume_id
(List of String) List of volume ids you want to add to the group
description
(String) Mobility group descriptionid
(String) Mobility group identifierpowerflex
(Block, Optional) (see below for nested schema)
creation_timestamp
(String) When the mobility group was createdmembers
(Attributes List) A mobility member is an object (e.g. volume) that is part of a mobility group that will be the source of mobility copy operations. (see below for nested schema)
Required:
password
(String, Sensitive) Password of the powerflexusername
(String) Username of the powerflex
Optional:
host
(String) Host, ip or hostname of the powerflex. If left empty we will attempt to get the ip through Apex from the IDinsecure
(Boolean) Validated the certificate when connecting to the powerflex, defaults if unset to truescheme
(String) Scheme of the powerflex, defaults if unset to https
Read-Only:
id
(String) Identifier of the member (e.g. PowerFlex volume identifier)name
(String) Name of the member (e.g. name of the volume)size
(String) Size of the member (e.g. volume size in bytes)
Import is supported using the following syntax:
/*
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 import apex_navigator_block_mobility_groups.example "{\"id\":\"<mobility-group-id>\",\"username\":\"<powerflex-username>\",\"password\":\"<powerflex-password>\",\"host\":\"<powerflex-host>\",\"insecure\":<insecure>,\"scheme\":\"<powerflex-scheme>\"}"