Viewing docs for powerscale 1.8.1
published on Wednesday, Apr 1, 2026 by dell
published on Wednesday, Apr 1, 2026 by dell
Viewing docs for powerscale 1.8.1
published on Wednesday, Apr 1, 2026 by dell
published on Wednesday, Apr 1, 2026 by dell
This datasource is used to query the Namespace ACL from PowerScale array. The information fetched from this datasource can be used for getting the details or for further processing in resource block. You can use Namespace ACL to manage the access control list for a namespace.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as powerscale from "@pulumi/powerscale";
//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.
// This Terraform DataSource is used to query the details of the Namespace ACL from PowerScale array.
// Returns the PowerScale Namespace ACL on PowerScale array
const example = powerscale.getNamespaceAcl({
filter: {
namespace: "ifs/example",
nsaccess: true,
},
});
export const powerscaleNamespaceAclExample = example;
import pulumi
import pulumi_powerscale as powerscale
#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.
# This Terraform DataSource is used to query the details of the Namespace ACL from PowerScale array.
# Returns the PowerScale Namespace ACL on PowerScale array
example = powerscale.get_namespace_acl(filter={
"namespace": "ifs/example",
"nsaccess": True,
})
pulumi.export("powerscaleNamespaceAclExample", example)
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 {
// 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.
// This Terraform DataSource is used to query the details of the Namespace ACL from PowerScale array.
// Returns the PowerScale Namespace ACL on PowerScale array
example, err := powerscale.LookupNamespaceAcl(ctx, &powerscale.LookupNamespaceAclArgs{
Filter: powerscale.GetNamespaceAclFilter{
Namespace: "ifs/example",
Nsaccess: pulumi.BoolRef(true),
},
}, nil)
if err != nil {
return err
}
ctx.Export("powerscaleNamespaceAclExample", example)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Powerscale = Pulumi.Powerscale;
return await Deployment.RunAsync(() =>
{
//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.
// This Terraform DataSource is used to query the details of the Namespace ACL from PowerScale array.
// Returns the PowerScale Namespace ACL on PowerScale array
var example = Powerscale.GetNamespaceAcl.Invoke(new()
{
Filter = new Powerscale.Inputs.GetNamespaceAclFilterInputArgs
{
Namespace = "ifs/example",
Nsaccess = true,
},
});
return new Dictionary<string, object?>
{
["powerscaleNamespaceAclExample"] = example,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.powerscale.PowerscaleFunctions;
import com.pulumi.powerscale.inputs.GetNamespaceAclArgs;
import com.pulumi.powerscale.inputs.GetNamespaceAclFilterArgs;
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) {
//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.
// This Terraform DataSource is used to query the details of the Namespace ACL from PowerScale array.
// Returns the PowerScale Namespace ACL on PowerScale array
final var example = PowerscaleFunctions.getNamespaceAcl(GetNamespaceAclArgs.builder()
.filter(GetNamespaceAclFilterArgs.builder()
.namespace("ifs/example")
.nsaccess(true)
.build())
.build());
ctx.export("powerscaleNamespaceAclExample", example);
}
}
variables:
# /*
# 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.
# */
# This Terraform DataSource is used to query the details of the Namespace ACL from PowerScale array.
# Returns the PowerScale Namespace ACL on PowerScale array
example:
fn::invoke:
function: powerscale:getNamespaceAcl
arguments:
filter:
namespace: ifs/example
nsaccess: true
outputs:
# Output value of above block by executing 'terraform output' command
# You can use the the fetched information by the variable data.powerscale_namespace_acl.example
powerscaleNamespaceAclExample: ${example}
Using getNamespaceAcl
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getNamespaceAcl(args: GetNamespaceAclArgs, opts?: InvokeOptions): Promise<GetNamespaceAclResult>
function getNamespaceAclOutput(args: GetNamespaceAclOutputArgs, opts?: InvokeOptions): Output<GetNamespaceAclResult>def get_namespace_acl(filter: Optional[GetNamespaceAclFilter] = None,
opts: Optional[InvokeOptions] = None) -> GetNamespaceAclResult
def get_namespace_acl_output(filter: pulumi.Input[Optional[GetNamespaceAclFilterArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNamespaceAclResult]func LookupNamespaceAcl(ctx *Context, args *LookupNamespaceAclArgs, opts ...InvokeOption) (*LookupNamespaceAclResult, error)
func LookupNamespaceAclOutput(ctx *Context, args *LookupNamespaceAclOutputArgs, opts ...InvokeOption) LookupNamespaceAclResultOutput> Note: This function is named LookupNamespaceAcl in the Go SDK.
public static class GetNamespaceAcl
{
public static Task<GetNamespaceAclResult> InvokeAsync(GetNamespaceAclArgs args, InvokeOptions? opts = null)
public static Output<GetNamespaceAclResult> Invoke(GetNamespaceAclInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNamespaceAclResult> getNamespaceAcl(GetNamespaceAclArgs args, InvokeOptions options)
public static Output<GetNamespaceAclResult> getNamespaceAcl(GetNamespaceAclArgs args, InvokeOptions options)
fn::invoke:
function: powerscale:index/getNamespaceAcl:getNamespaceAcl
arguments:
# arguments dictionaryThe following arguments are supported:
getNamespaceAcl Result
The following output properties are available:
- Acls
List<Get
Namespace Acl Acl> - Array effective configuration of the JSON array of access rights.
- string
- If the directory has access rights set, then this field is returned as acl. If the directory has POSIX permissions set, then this field is returned as mode.
- Group
Get
Namespace Acl Group - Provides the JSON object for the group persona of the owner.
- Id string
- The provider-assigned unique ID for this managed resource.
- Mode string
- Provides the POSIX mode.
- Owner
Get
Namespace Acl Owner - Provides the JSON object for the group persona of the owner.
- Filter
Get
Namespace Acl Filter
- Acls
[]Get
Namespace Acl Acl - Array effective configuration of the JSON array of access rights.
- string
- If the directory has access rights set, then this field is returned as acl. If the directory has POSIX permissions set, then this field is returned as mode.
- Group
Get
Namespace Acl Group - Provides the JSON object for the group persona of the owner.
- Id string
- The provider-assigned unique ID for this managed resource.
- Mode string
- Provides the POSIX mode.
- Owner
Get
Namespace Acl Owner - Provides the JSON object for the group persona of the owner.
- Filter
Get
Namespace Acl Filter
- acls
List<Get
Namespace Acl Acl> - Array effective configuration of the JSON array of access rights.
- String
- If the directory has access rights set, then this field is returned as acl. If the directory has POSIX permissions set, then this field is returned as mode.
- group
Get
Namespace Acl Group - Provides the JSON object for the group persona of the owner.
- id String
- The provider-assigned unique ID for this managed resource.
- mode String
- Provides the POSIX mode.
- owner
Get
Namespace Acl Owner - Provides the JSON object for the group persona of the owner.
- filter
Get
Namespace Acl Filter
- acls
Get
Namespace Acl Acl[] - Array effective configuration of the JSON array of access rights.
- string
- If the directory has access rights set, then this field is returned as acl. If the directory has POSIX permissions set, then this field is returned as mode.
- group
Get
Namespace Acl Group - Provides the JSON object for the group persona of the owner.
- id string
- The provider-assigned unique ID for this managed resource.
- mode string
- Provides the POSIX mode.
- owner
Get
Namespace Acl Owner - Provides the JSON object for the group persona of the owner.
- filter
Get
Namespace Acl Filter
- acls
Sequence[Get
Namespace Acl Acl] - Array effective configuration of the JSON array of access rights.
- str
- If the directory has access rights set, then this field is returned as acl. If the directory has POSIX permissions set, then this field is returned as mode.
- group
Get
Namespace Acl Group - Provides the JSON object for the group persona of the owner.
- id str
- The provider-assigned unique ID for this managed resource.
- mode str
- Provides the POSIX mode.
- owner
Get
Namespace Acl Owner - Provides the JSON object for the group persona of the owner.
- filter
Get
Namespace Acl Filter
- acls List<Property Map>
- Array effective configuration of the JSON array of access rights.
- String
- If the directory has access rights set, then this field is returned as acl. If the directory has POSIX permissions set, then this field is returned as mode.
- group Property Map
- Provides the JSON object for the group persona of the owner.
- id String
- The provider-assigned unique ID for this managed resource.
- mode String
- Provides the POSIX mode.
- owner Property Map
- Provides the JSON object for the group persona of the owner.
- filter Property Map
Supporting Types
GetNamespaceAclAcl
- Accessrights List<string>
- Specifies the access control permissions for a specific user or group.
- Accesstype string
- Grants or denies access control permissions.
- Inherit
Flags List<string> - Grants or denies access control permissions.
- Op string
- Operations for updating access control permissions. Unnecessary for access right replacing scenario
- Trustee
Get
Namespace Acl Acl Trustee - Provides the JSON object for the group persona of the owner.
- Accessrights []string
- Specifies the access control permissions for a specific user or group.
- Accesstype string
- Grants or denies access control permissions.
- Inherit
Flags []string - Grants or denies access control permissions.
- Op string
- Operations for updating access control permissions. Unnecessary for access right replacing scenario
- Trustee
Get
Namespace Acl Acl Trustee - Provides the JSON object for the group persona of the owner.
- accessrights List<String>
- Specifies the access control permissions for a specific user or group.
- accesstype String
- Grants or denies access control permissions.
- inherit
Flags List<String> - Grants or denies access control permissions.
- op String
- Operations for updating access control permissions. Unnecessary for access right replacing scenario
- trustee
Get
Namespace Acl Acl Trustee - Provides the JSON object for the group persona of the owner.
- accessrights string[]
- Specifies the access control permissions for a specific user or group.
- accesstype string
- Grants or denies access control permissions.
- inherit
Flags string[] - Grants or denies access control permissions.
- op string
- Operations for updating access control permissions. Unnecessary for access right replacing scenario
- trustee
Get
Namespace Acl Acl Trustee - Provides the JSON object for the group persona of the owner.
- accessrights Sequence[str]
- Specifies the access control permissions for a specific user or group.
- accesstype str
- Grants or denies access control permissions.
- inherit_
flags Sequence[str] - Grants or denies access control permissions.
- op str
- Operations for updating access control permissions. Unnecessary for access right replacing scenario
- trustee
Get
Namespace Acl Acl Trustee - Provides the JSON object for the group persona of the owner.
- accessrights List<String>
- Specifies the access control permissions for a specific user or group.
- accesstype String
- Grants or denies access control permissions.
- inherit
Flags List<String> - Grants or denies access control permissions.
- op String
- Operations for updating access control permissions. Unnecessary for access right replacing scenario
- trustee Property Map
- Provides the JSON object for the group persona of the owner.
GetNamespaceAclAclTrustee
GetNamespaceAclFilter
GetNamespaceAclGroup
GetNamespaceAclOwner
Package Details
- Repository
- powerscale dell/terraform-provider-powerscale
- License
- Notes
- This Pulumi package is based on the
powerscaleTerraform Provider.
Viewing docs for powerscale 1.8.1
published on Wednesday, Apr 1, 2026 by dell
published on Wednesday, Apr 1, 2026 by dell
