1. Packages
  2. Powerscale Provider
  3. API Docs
  4. NfsZoneSettings
powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell

powerscale.NfsZoneSettings

Explore with Pulumi AI

powerscale logo
powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell

    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"});
    
    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")
    
    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
    	})
    }
    
    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",
        });
    
    });
    
    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());
    
        }
    }
    
    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
    

    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 string
    The unique name of the resource.
    args NfsZoneSettingsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args 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 string
    The unique name of the resource.
    args NfsZoneSettingsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NfsZoneSettingsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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,
    });
    
    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),
    })
    
    var nfsZoneSettingsResource = new NfsZoneSettings("nfsZoneSettingsResource", NfsZoneSettingsArgs.builder()
        .zone("string")
        .nfsv4AllowNumericIds(false)
        .nfsv4Domain("string")
        .nfsv4NoDomain(false)
        .nfsv4NoDomainUids(false)
        .nfsv4NoNames(false)
        .nfsv4ReplaceDomain(false)
        .build());
    
    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)
    
    const nfsZoneSettingsResource = new powerscale.NfsZoneSettings("nfsZoneSettingsResource", {
        zone: "string",
        nfsv4AllowNumericIds: false,
        nfsv4Domain: "string",
        nfsv4NoDomain: false,
        nfsv4NoDomainUids: false,
        nfsv4NoNames: false,
        nfsv4ReplaceDomain: false,
    });
    
    type: powerscale:NfsZoneSettings
    properties:
        nfsv4AllowNumericIds: false
        nfsv4Domain: string
        nfsv4NoDomain: false
        nfsv4NoDomainUids: false
        nfsv4NoNames: false
        nfsv4ReplaceDomain: false
        zone: string
    

    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 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 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 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 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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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
    

    Example:

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

    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.
    powerscale logo
    powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell