title | linkTitle | page_title | subcategory | description |
---|---|---|---|---|
powerscale_nfs_zone_settings data source |
powerscale_nfs_zone_settings |
powerscale_nfs_zone_settings Data Source - terraform-provider-powerscale |
This datasource is used to query the NFS Zone Settings from PowerScale array. The information fetched from this datasource can be used for getting the details or for further processing in resource block. |
This datasource is used to query the NFS Zone Settings from PowerScale array. The information fetched from this datasource can be used for getting the details or for further processing in resource block.
/*
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.
*/
# Returns PowerScale NFS Zone Settings based on filter
data "powerscale_nfs_zone_settings" "test" {
filter {
# Used for query parameter, supported by PowerScale Platform API
zone = "System"
}
}
# Output value of above block by executing 'terraform output' command
# The user can use the fetched information by the variable data.powerscale_nfs_zone_settings.test
output "powerscale_nfs_zone_settings_test" {
value = data.powerscale_nfs_zone_settings.test
}
# Returns NFS Zone Settings
data "powerscale_nfs_zone_settings" "all" {
}
# Output value of above block by executing 'terraform output' command
# The user can use the fetched information by the variable data.powerscale_nfs_zone_settings.all
output "powerscale_nfs_zone_settings_all" {
value = data.powerscale_nfs_zone_settings.all
}
filter
(Block, Optional) (see below for nested schema)
id
(String) ID of NFS Zone Settings. Value of ID will be same as the access zone.nfs_zone_settings
(Attributes) NFS Zone Settings (see below for nested schema)
Optional:
zone
(String) Access zone
Read-Only:
nfsv4_allow_numeric_ids
(Boolean) If true, sends owners and groups as UIDs and GIDs when look up fails or if the 'nfsv4_no_name' property is set to 1.nfsv4_domain
(String) Specifies the domain or realm through which users and groups are associated.nfsv4_no_domain
(Boolean) If true, sends owners and groups without a domain name.nfsv4_no_domain_uids
(Boolean) If true, sends UIDs and GIDs without a domain name.nfsv4_no_names
(Boolean) If true, sends owners and groups as UIDs and GIDs.nfsv4_replace_domain
(Boolean) If true, replaces the owner or group domain with an NFS domain name.zone
(String) Specifies the access zones in which these settings apply.