1. Packages
  2. Powerscale Provider
  3. API Docs
  4. NfsZoneSettings
powerscale 1.7.0 published on Monday, Apr 14, 2025 by dell

powerscale.NfsZoneSettings

Explore with Pulumi AI

This resource is used to manage the NFS Zone Settings of PowerScale Array. We can Create, Update and Delete the NFS Zone Settings using this resource.
Note that, NFS Zone Settings is the native functionality of PowerScale. When creating the resource, we actually load NFS Zone Settings from PowerScale to the resource.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as powerscale from "@pulumi/powerscale";

// PowerScale NFS zone settings allow you to configure NFS zone settings on PowerScale.
const example = new powerscale.NfsZoneSettings("example", {zone: "tfaccAccessZone"});
Copy
import pulumi
import pulumi_powerscale as powerscale

# PowerScale NFS zone settings allow you to configure NFS zone settings on PowerScale.
example = powerscale.NfsZoneSettings("example", zone="tfaccAccessZone")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/powerscale/powerscale"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// PowerScale NFS zone settings allow you to configure NFS zone settings on PowerScale.
		_, err := powerscale.NewNfsZoneSettings(ctx, "example", &powerscale.NfsZoneSettingsArgs{
			Zone: pulumi.String("tfaccAccessZone"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Powerscale = Pulumi.Powerscale;

return await Deployment.RunAsync(() => 
{
    // PowerScale NFS zone settings allow you to configure NFS zone settings on PowerScale.
    var example = new Powerscale.NfsZoneSettings("example", new()
    {
        Zone = "tfaccAccessZone",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.powerscale.NfsZoneSettings;
import com.pulumi.powerscale.NfsZoneSettingsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        // PowerScale NFS zone settings allow you to configure NFS zone settings on PowerScale.
        var example = new NfsZoneSettings("example", NfsZoneSettingsArgs.builder()
            .zone("tfaccAccessZone")
            .build());

    }
}
Copy
resources:
  # PowerScale NFS zone settings allow you to configure NFS zone settings on PowerScale.
  example:
    type: powerscale:NfsZoneSettings
    properties:
      # Required field both for creating and updating
      zone: tfaccAccessZone
Copy

Create NfsZoneSettings Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new NfsZoneSettings(name: string, args: NfsZoneSettingsArgs, opts?: CustomResourceOptions);
@overload
def NfsZoneSettings(resource_name: str,
                    args: NfsZoneSettingsArgs,
                    opts: Optional[ResourceOptions] = None)

@overload
def NfsZoneSettings(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    zone: Optional[str] = None,
                    nfsv4_allow_numeric_ids: Optional[bool] = None,
                    nfsv4_domain: Optional[str] = None,
                    nfsv4_no_domain: Optional[bool] = None,
                    nfsv4_no_domain_uids: Optional[bool] = None,
                    nfsv4_no_names: Optional[bool] = None,
                    nfsv4_replace_domain: Optional[bool] = None)
func NewNfsZoneSettings(ctx *Context, name string, args NfsZoneSettingsArgs, opts ...ResourceOption) (*NfsZoneSettings, error)
public NfsZoneSettings(string name, NfsZoneSettingsArgs args, CustomResourceOptions? opts = null)
public NfsZoneSettings(String name, NfsZoneSettingsArgs args)
public NfsZoneSettings(String name, NfsZoneSettingsArgs args, CustomResourceOptions options)
type: powerscale:NfsZoneSettings
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. NfsZoneSettingsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. NfsZoneSettingsArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. NfsZoneSettingsArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. NfsZoneSettingsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. NfsZoneSettingsArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var nfsZoneSettingsResource = new Powerscale.NfsZoneSettings("nfsZoneSettingsResource", new()
{
    Zone = "string",
    Nfsv4AllowNumericIds = false,
    Nfsv4Domain = "string",
    Nfsv4NoDomain = false,
    Nfsv4NoDomainUids = false,
    Nfsv4NoNames = false,
    Nfsv4ReplaceDomain = false,
});
Copy
example, err := powerscale.NewNfsZoneSettings(ctx, "nfsZoneSettingsResource", &powerscale.NfsZoneSettingsArgs{
Zone: pulumi.String("string"),
Nfsv4AllowNumericIds: pulumi.Bool(false),
Nfsv4Domain: pulumi.String("string"),
Nfsv4NoDomain: pulumi.Bool(false),
Nfsv4NoDomainUids: pulumi.Bool(false),
Nfsv4NoNames: pulumi.Bool(false),
Nfsv4ReplaceDomain: pulumi.Bool(false),
})
Copy
var nfsZoneSettingsResource = new NfsZoneSettings("nfsZoneSettingsResource", NfsZoneSettingsArgs.builder()
    .zone("string")
    .nfsv4AllowNumericIds(false)
    .nfsv4Domain("string")
    .nfsv4NoDomain(false)
    .nfsv4NoDomainUids(false)
    .nfsv4NoNames(false)
    .nfsv4ReplaceDomain(false)
    .build());
Copy
nfs_zone_settings_resource = powerscale.NfsZoneSettings("nfsZoneSettingsResource",
    zone="string",
    nfsv4_allow_numeric_ids=False,
    nfsv4_domain="string",
    nfsv4_no_domain=False,
    nfsv4_no_domain_uids=False,
    nfsv4_no_names=False,
    nfsv4_replace_domain=False)
Copy
const nfsZoneSettingsResource = new powerscale.NfsZoneSettings("nfsZoneSettingsResource", {
    zone: "string",
    nfsv4AllowNumericIds: false,
    nfsv4Domain: "string",
    nfsv4NoDomain: false,
    nfsv4NoDomainUids: false,
    nfsv4NoNames: false,
    nfsv4ReplaceDomain: false,
});
Copy
type: powerscale:NfsZoneSettings
properties:
    nfsv4AllowNumericIds: false
    nfsv4Domain: string
    nfsv4NoDomain: false
    nfsv4NoDomainUids: false
    nfsv4NoNames: false
    nfsv4ReplaceDomain: false
    zone: string
Copy

NfsZoneSettings Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The NfsZoneSettings resource accepts the following input properties:

Zone This property is required. string
Access zone
Nfsv4AllowNumericIds bool
If true, sends owners and groups as UIDs and GIDs when look up fails or if the 'nfsv4noname' property is set to 1.
Nfsv4Domain string
Specifies the domain or realm through which users and groups are associated.
Nfsv4NoDomain bool
If true, sends owners and groups without a domain name.
Nfsv4NoDomainUids bool
If true, sends UIDs and GIDs without a domain name.
Nfsv4NoNames bool
If true, sends owners and groups as UIDs and GIDs.
Nfsv4ReplaceDomain bool
If true, replaces the owner or group domain with an NFS domain name.
Zone This property is required. string
Access zone
Nfsv4AllowNumericIds bool
If true, sends owners and groups as UIDs and GIDs when look up fails or if the 'nfsv4noname' property is set to 1.
Nfsv4Domain string
Specifies the domain or realm through which users and groups are associated.
Nfsv4NoDomain bool
If true, sends owners and groups without a domain name.
Nfsv4NoDomainUids bool
If true, sends UIDs and GIDs without a domain name.
Nfsv4NoNames bool
If true, sends owners and groups as UIDs and GIDs.
Nfsv4ReplaceDomain bool
If true, replaces the owner or group domain with an NFS domain name.
zone This property is required. String
Access zone
nfsv4AllowNumericIds Boolean
If true, sends owners and groups as UIDs and GIDs when look up fails or if the 'nfsv4noname' property is set to 1.
nfsv4Domain String
Specifies the domain or realm through which users and groups are associated.
nfsv4NoDomain Boolean
If true, sends owners and groups without a domain name.
nfsv4NoDomainUids Boolean
If true, sends UIDs and GIDs without a domain name.
nfsv4NoNames Boolean
If true, sends owners and groups as UIDs and GIDs.
nfsv4ReplaceDomain Boolean
If true, replaces the owner or group domain with an NFS domain name.
zone This property is required. string
Access zone
nfsv4AllowNumericIds boolean
If true, sends owners and groups as UIDs and GIDs when look up fails or if the 'nfsv4noname' property is set to 1.
nfsv4Domain string
Specifies the domain or realm through which users and groups are associated.
nfsv4NoDomain boolean
If true, sends owners and groups without a domain name.
nfsv4NoDomainUids boolean
If true, sends UIDs and GIDs without a domain name.
nfsv4NoNames boolean
If true, sends owners and groups as UIDs and GIDs.
nfsv4ReplaceDomain boolean
If true, replaces the owner or group domain with an NFS domain name.
zone This property is required. str
Access zone
nfsv4_allow_numeric_ids bool
If true, sends owners and groups as UIDs and GIDs when look up fails or if the 'nfsv4noname' property is set to 1.
nfsv4_domain str
Specifies the domain or realm through which users and groups are associated.
nfsv4_no_domain bool
If true, sends owners and groups without a domain name.
nfsv4_no_domain_uids bool
If true, sends UIDs and GIDs without a domain name.
nfsv4_no_names bool
If true, sends owners and groups as UIDs and GIDs.
nfsv4_replace_domain bool
If true, replaces the owner or group domain with an NFS domain name.
zone This property is required. String
Access zone
nfsv4AllowNumericIds Boolean
If true, sends owners and groups as UIDs and GIDs when look up fails or if the 'nfsv4noname' property is set to 1.
nfsv4Domain String
Specifies the domain or realm through which users and groups are associated.
nfsv4NoDomain Boolean
If true, sends owners and groups without a domain name.
nfsv4NoDomainUids Boolean
If true, sends UIDs and GIDs without a domain name.
nfsv4NoNames Boolean
If true, sends owners and groups as UIDs and GIDs.
nfsv4ReplaceDomain Boolean
If true, replaces the owner or group domain with an NFS domain name.

Outputs

All input properties are implicitly available as output properties. Additionally, the NfsZoneSettings resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing NfsZoneSettings Resource

Get an existing NfsZoneSettings resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: NfsZoneSettingsState, opts?: CustomResourceOptions): NfsZoneSettings
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        nfsv4_allow_numeric_ids: Optional[bool] = None,
        nfsv4_domain: Optional[str] = None,
        nfsv4_no_domain: Optional[bool] = None,
        nfsv4_no_domain_uids: Optional[bool] = None,
        nfsv4_no_names: Optional[bool] = None,
        nfsv4_replace_domain: Optional[bool] = None,
        zone: Optional[str] = None) -> NfsZoneSettings
func GetNfsZoneSettings(ctx *Context, name string, id IDInput, state *NfsZoneSettingsState, opts ...ResourceOption) (*NfsZoneSettings, error)
public static NfsZoneSettings Get(string name, Input<string> id, NfsZoneSettingsState? state, CustomResourceOptions? opts = null)
public static NfsZoneSettings get(String name, Output<String> id, NfsZoneSettingsState state, CustomResourceOptions options)
resources:  _:    type: powerscale:NfsZoneSettings    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Nfsv4AllowNumericIds bool
If true, sends owners and groups as UIDs and GIDs when look up fails or if the 'nfsv4noname' property is set to 1.
Nfsv4Domain string
Specifies the domain or realm through which users and groups are associated.
Nfsv4NoDomain bool
If true, sends owners and groups without a domain name.
Nfsv4NoDomainUids bool
If true, sends UIDs and GIDs without a domain name.
Nfsv4NoNames bool
If true, sends owners and groups as UIDs and GIDs.
Nfsv4ReplaceDomain bool
If true, replaces the owner or group domain with an NFS domain name.
Zone string
Access zone
Nfsv4AllowNumericIds bool
If true, sends owners and groups as UIDs and GIDs when look up fails or if the 'nfsv4noname' property is set to 1.
Nfsv4Domain string
Specifies the domain or realm through which users and groups are associated.
Nfsv4NoDomain bool
If true, sends owners and groups without a domain name.
Nfsv4NoDomainUids bool
If true, sends UIDs and GIDs without a domain name.
Nfsv4NoNames bool
If true, sends owners and groups as UIDs and GIDs.
Nfsv4ReplaceDomain bool
If true, replaces the owner or group domain with an NFS domain name.
Zone string
Access zone
nfsv4AllowNumericIds Boolean
If true, sends owners and groups as UIDs and GIDs when look up fails or if the 'nfsv4noname' property is set to 1.
nfsv4Domain String
Specifies the domain or realm through which users and groups are associated.
nfsv4NoDomain Boolean
If true, sends owners and groups without a domain name.
nfsv4NoDomainUids Boolean
If true, sends UIDs and GIDs without a domain name.
nfsv4NoNames Boolean
If true, sends owners and groups as UIDs and GIDs.
nfsv4ReplaceDomain Boolean
If true, replaces the owner or group domain with an NFS domain name.
zone String
Access zone
nfsv4AllowNumericIds boolean
If true, sends owners and groups as UIDs and GIDs when look up fails or if the 'nfsv4noname' property is set to 1.
nfsv4Domain string
Specifies the domain or realm through which users and groups are associated.
nfsv4NoDomain boolean
If true, sends owners and groups without a domain name.
nfsv4NoDomainUids boolean
If true, sends UIDs and GIDs without a domain name.
nfsv4NoNames boolean
If true, sends owners and groups as UIDs and GIDs.
nfsv4ReplaceDomain boolean
If true, replaces the owner or group domain with an NFS domain name.
zone string
Access zone
nfsv4_allow_numeric_ids bool
If true, sends owners and groups as UIDs and GIDs when look up fails or if the 'nfsv4noname' property is set to 1.
nfsv4_domain str
Specifies the domain or realm through which users and groups are associated.
nfsv4_no_domain bool
If true, sends owners and groups without a domain name.
nfsv4_no_domain_uids bool
If true, sends UIDs and GIDs without a domain name.
nfsv4_no_names bool
If true, sends owners and groups as UIDs and GIDs.
nfsv4_replace_domain bool
If true, replaces the owner or group domain with an NFS domain name.
zone str
Access zone
nfsv4AllowNumericIds Boolean
If true, sends owners and groups as UIDs and GIDs when look up fails or if the 'nfsv4noname' property is set to 1.
nfsv4Domain String
Specifies the domain or realm through which users and groups are associated.
nfsv4NoDomain Boolean
If true, sends owners and groups without a domain name.
nfsv4NoDomainUids Boolean
If true, sends UIDs and GIDs without a domain name.
nfsv4NoNames Boolean
If true, sends owners and groups as UIDs and GIDs.
nfsv4ReplaceDomain Boolean
If true, replaces the owner or group domain with an NFS domain name.
zone String
Access zone

Import

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.

The command is

$ pulumi import powerscale:index/nfsZoneSettings:NfsZoneSettings example zone
Copy

Example:

$ pulumi import powerscale:index/nfsZoneSettings:NfsZoneSettings example tfaccAccessZone
Copy

after running this command, populate the zone field and other required parameters in the config file to start managing this resource.

Note: running “terraform show” after importing shows the current config/state of the resource. You can copy/paste that config to make it easier to manage the resource.

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
powerscale dell/terraform-provider-powerscale
License
Notes
This Pulumi package is based on the powerscale Terraform Provider.