powerscale_nfs_global_settings (Data Source)

This datasource is used to query the NFS Global Settings from PowerScale array. The information fetched from this datasource can be used for getting the details or 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.
*/

# Returns NFS global settings
data "powerscale_nfs_global_settings" "test" {
}

# Output value of above block by executing 'terraform output' command
# The user can use the fetched information by the variable data.powerscale_nfs_global_settings.test
output "powerscale_nfs_global_settings" {
  value = data.powerscale_nfs_global_settings.test
}

Schema

Read-Only

  • id (String) Id of NFS Global settings. Readonly.
  • nfsv3_enabled (Boolean) True if NFSv3 is enabled.
  • nfsv3_rdma_enabled (Boolean) True if the RDMA is enabled for NFSv3.
  • nfsv4_enabled (Boolean) True if NFSv4 is enabled.
  • rpc_maxthreads (Number) Specifies the maximum number of threads in the nfsd thread pool.
  • rpc_minthreads (Number) Specifies the minimum number of threads in the nfsd thread pool.
  • rquota_enabled (Boolean) True if the rquota protocol is enabled.
  • service (Boolean) True if the NFS service is enabled. When set to false, the NFS service is disabled.