title | linkTitle | page_title | subcategory | description |
---|---|---|---|---|
powerscale_namespace_acl data source |
powerscale_namespace_acl |
powerscale_namespace_acl Data Source - terraform-provider-powerscale |
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. |
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.
/*
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
data "powerscale_namespace_acl" "example" {
# Note: namespace must be specified
filter {
namespace = "ifs/example"
nsaccess = true
}
}
# 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
output "powerscale_namespace_acl_example" {
value = data.powerscale_namespace_acl.example
}
filter
(Block, Optional) (see below for nested schema)
acl
(Attributes List) Array effective configuration of the JSON array of access rights. (see below for nested schema)authoritative
(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
(Attributes) Provides the JSON object for the group persona of the owner. (see below for nested schema)mode
(String) Provides the POSIX mode.owner
(Attributes) Provides the JSON object for the group persona of the owner. (see below for nested schema)
Required:
namespace
(String) Indicate the namespace to set/get acl.
Optional:
nsaccess
(Boolean) Indicates that the operation is on the access point instead of the store path.
Read-Only:
accessrights
(List of String) Specifies the access control permissions for a specific user or group.accesstype
(String) Grants or denies access control permissions.inherit_flags
(List of String) Grants or denies access control permissions.op
(String) Operations for updating access control permissions. Unnecessary for access right replacing scenariotrustee
(Attributes) Provides the JSON object for the group persona of the owner. (see below for nested schema)
Read-Only:
id
(String) Specifies the serialized form of a persona, which can be 'UID:0' or 'GID:0'name
(String) Specifies the persona name, which must be combined with a type.type
(String) Specifies the type of persona, which must be combined with a name.
Read-Only:
id
(String) Specifies the serialized form of a persona, which can be 'GID:0'name
(String) Specifies the persona name, which must be combined with a type.type
(String) Specifies the type of persona, which must be combined with a name.
Read-Only:
id
(String) Specifies the serialized form of a persona, which can be 'UID:0'name
(String) Specifies the persona name, which must be combined with a type.type
(String) Specifies the type of persona, which must be combined with a name.