Skip to content

Latest commit

 

History

History
111 lines (81 loc) · 3.75 KB

navigator_block_mobility_groups.md

File metadata and controls

111 lines (81 loc) · 3.75 KB
title linkTitle page_title subcategory description
apex_navigator_block_mobility_groups data source
apex_navigator_block_mobility_groups
apex_navigator_block_mobility_groups Data Source - apex
This Terraform Datasource is used to query existing mobility groups(source) on Apex Navigator. The information fetched from this block can be further used for resource block.

apex_navigator_block_mobility_groups (Data Source)

This Terraform Datasource is used to query existing mobility groups(source) 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_mobility_groups" "example" {}

output "examples_mobility_groups" {
  value = data.apex_navigator_block_mobility_groups.example
}

# Returns a filtered list of mobility groups
# data "apex_navigator_block_mobility_groups" "example" {
#   filter {
#     ids = ["mobility-group-id"] 
#   }
# }

# output "examples_mobility_groups" {
#   value = data.apex_navigator_block_mobility_groups.example
# }

Schema

Optional

Read-Only

  • id (String) ID of the Mobility Group datasource
  • mobility_groups (Attributes List) List of mobility groups(source) available on Apex Navigator. (see below for nested schema)

Nested Schema for filter

Optional:

  • ids (Set of String) Filter by ids

Nested Schema for mobility_groups

Optional:

  • id (String) Mobility group identifier

Read-Only:

  • creation_timestamp (String) When the mobility group was created
  • description (String) Description of the mobility group
  • members (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)
  • name (String) Name of the mobility group
  • system_id (String) Identifier of the system for the mobility group members
  • system_type (String) The source system type (e.g.: POWERFLEX)
  • volume_id (List of String)

Nested Schema for mobility_groups.members

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)