powermax_maskingview (Resource)

Resource for managing MaskingViews in PowerMax array. Updates are supported for the following parameters: name.

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.
*/

resource "powermax_maskingview" "test" {
  name             = "terraform_mv"
  storage_group_id = "terraform_sg"
  host_id          = "terraform_host"
  host_group_id    = ""
  port_group_id    = "terraform_pg"
}

Schema

Required

  • host_group_id (String) The host group id of the masking view.
  • host_id (String) The host id of the masking view.
  • name (String) Unique identifier of the masking view.
  • port_group_id (String) The port group id of the masking view.
  • storage_group_id (String) The storage group id of the masking view.

Read-Only

  • id (String) The ID of the masking view.

Import

Import is supported using the following syntax:

# Copyright (c) YEAR 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.

# The command is
# terraform import powermax_maskingview.test <id>
# Example:
terraform import powermax_maskingview.test terraform_mv
# after running this command, populate the name field in the config file to start managing this resource