powermax_maskingview (Data Source)

Data source for reading Masking Views in PowerMax array.

Example Usage

/*
Copyright (c) 2023 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.
*/

# List a specific maskingView
data "powermax_maskingview" "maskingViewFilter" {
  filter {
    names = ["terraform_mv_1", "terraform_mv_2"]
  }
}

output "maskingViewFilterResult" {
  value = data.powermax_maskingview.maskingViewFilter.masking_views
}

# List all maskingviews
data "powermax_maskingview" "allMaskingViews" {}

output "allMaskingViewsResult" {
  value = data.powermax_maskingview.allMaskingViews.masking_views
}

Schema

Optional

Read-Only

  • id (String) Unique identifier of the masking view instance.
  • masking_views (Attributes List) List of masking views. (see below for nested schema)

Nested Schema for filter

Optional:

  • names (Set of String)

Nested Schema for masking_views

Read-Only:

  • capacity_gb (Number) The capacity of the storage group in the masking view.
  • host_group_id (String) The host group id of the masking view.
  • host_id (String) The host id of the masking view.
  • initiators (List of String) List of initiators.
  • masking_view_name (String) Unique identifier of the masking view.
  • port_group_id (String) The port group id of the masking view.
  • ports (List of String) List of ports.
  • storage_group_id (String) The storage group id of the masking view.
  • volumes (List of String) List of Volumes.