This document version is no longer actively maintained.
The site that you are currently viewing is an archived snapshot.
For up-to-date documentation, see the latest version.
ome_vlannetworks_info (Data Source)
This Terraform DataSource is used to query templates from OME. The information fetched from this data source can be used for getting the details / for further processing in 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.
*/
# get details of all the vlan networks
data "ome_vlannetworks_info" "data-vlans" {
}
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.ome_vlannetworks_info.data-vlans
Schema
Read-Only
id
(String) ID for vlan networks data source.vlan_networks
(Attributes List) List of vlan networks (see below for nested schema)
Nested Schema for vlan_networks
Read-Only:
description
(String) Description of the vlan network.internal_ref_nwuu_id
(String) Reference ID for a vlan.name
(String) Name of the vlan network.type
(Number) Type of vlan.vlan_id
(Number) Unique ID for the vlan network.vlan_maximum
(Number) Vlan maximum.vlan_minimum
(Number) Vlan minimum.