title | linkTitle | page_title | subcategory | description |
---|---|---|---|---|
powermax_port data source |
powermax_port |
powermax_port Data Source - terraform-provider-powermax |
Data source for reading ports in PowerMax array. A port typically refers to the interface that allows for connections between the PowerMax system and other devices. |
Data source for reading ports in PowerMax array. A port typically refers to the interface that allows for connections between the PowerMax system and other devices.
/*
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.
*/
# This terraform DataSource is used to query the existing port from PowerMax array.
# The information fetched from this data source can be used for getting the details / for further processing in resource block.
# Returns all of the PowerMax ports and their details
data "powermax_port" "all" {
# Optional Update the read timeout with (XXm) for minutes or (XXs) for timeout in seconds
# If unset defaults to 2 minute timeout
# timeouts = {
# read = "3m"
# }
}
output "all" {
value = data.powermax_port.all
}
# Returns a subset of the PowerMax ports based on the names provided in the `names` filter block and their details
# data "powermax_port" "portFilter" {
# # Optional Update the read timeout with (XXm) for minutes or (XXs) for timeout in seconds
# # If unset defaults to 2 minute timeout
# # timeouts = {
# # read = "3m"
# # }
# # Optional list of names to filter upon
# filter {
# # Should be in the format ["directorId:portId"]
# port_ids = ["OR-1C:2"]
# }
# }
# output "portFilter" {
# value = data.powermax_port.portFilter
# }
# After the successful execution of above said block, We can see the output value by executing 'terraform output' command.
# Also, we can use the fetched information by the variable data.powermax_port.example
filter
(Block, Optional) (see below for nested schema)timeouts
(Attributes) (see below for nested schema)
id
(String) Identifierport_details
(Attributes List) List of Ports (see below for nested schema)
Optional:
port_ids
(Set of String) A set of port ids to filter on, should be look like the following ['directorId:portId']
Optional:
read
(String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Read-Only:
aclx
(Boolean) Has aclxavoid_reset_broadcast
(Boolean) Avoid reset brodcastcapable_protocol
(List of String) Capable Protocolcommon_serial_number
(Boolean) Common Serial Numberdirector_id
(String) Id of the directordirector_status
(String) Director Statusdisable_q_reset_on_ua
(Boolean) Disable Q reset on uaenable_auto_negotiate
(Boolean) Enable Auto Negotiateenabled_protocol
(List of String) Enabled Protocolenviron_set
(Boolean) Environ Sethp_3000_mode
(Boolean) HP 3000 modeidentifier
(String) Port identifierinit_point_to_point
(Boolean) Init point to pointip_addresses
(List of String) Ip Addressesipv4_address
(String) Ipv4 Addressipv4_default_gateway
(String) Ipv4 Default Gatewayipv4_domain_name
(String) Ipv4 Domain Nameipv4_netmask
(String) Ipv4 Netmaskipv6_address
(String) Ipv6 Addressipv6_prefix
(String) Ipv6 Prefixiscsi_endpoint
(Boolean) iScsi Endpointiscsi_target
(Boolean) iScsi Targetmac_address
(String) Mac Addressmaskingview
(List of String) Masking Viewsmax_speed
(String) Max Speednegotiate_reset
(Boolean) Negotiate resetnegotiated_speed
(String) Negotiated speednetwork_id
(Number) Network Idno_participating
(Boolean) No Participatingnum_of_cores
(Number) Total number of corsnum_of_hypers
(Number) TX Power Level MWnum_of_mapped_vols
(Number) Total number of volumesnum_of_masking_views
(Number) Total number of masking viewsnum_of_port_groups
(Number) Total number of port groupsnvmetcp_endpoint
(Boolean) NVME over TCP Endpointport_id
(String) Id of the portport_interface
(String) Port Interfaceport_status
(String) Port Statusportgroup
(List of String) Portgrouppower_levels_last_sampled_date_milliseconds
(Number) Power Levels Last Sampled Date in Millisecondsprevent_automatic_rdf_link_recovery
(String) Prevent automatic rdf link recoveryprevent_ra_online_on_power_up
(String) Prevent RA Online on Power Uprdf_hardware_compression
(String) RDF Hardware Compressionrdf_hardware_compression_supported
(String) RDF Hardware Compression Supportedrdf_ra_group_attributes_farpoint
(Boolean) RDF RA group attributes farpointrdf_software_compression
(String) RDF Software Compressionrdf_software_compression_supported
(String) RDF Software Compression Supporedrx_power_level_mw
(Number) RX Power Level MWscsi_3
(Boolean) SCSI 3scsi_support1
(Boolean) SCSI support 1siemens
(Boolean) Siemenssoft_reset
(Boolean) Soft resetspc2_protocol_version
(Boolean) SPC2 Protocol Versionsunapee
(Boolean) Sunapeetcp_port
(Number) TPC Porttx_power_level_mw
(Number) TX Power Level MWtype
(String) Port Typeunique_wwn
(Boolean) Unique WWNvcm_state
(String) VMC Statevnx_attached
(Boolean) VNX Attachedvolume_set_addressing
(Boolean) Volume Set Addressingwwn_node
(String) WWN Nodez_hyperlink_port
(Boolean) Z Hyperlink Port