1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. nas
  5. SmbAclAttachment
Alibaba Cloud v3.54.0 published on Wednesday, Apr 24, 2024 by Pulumi

alicloud.nas.SmbAclAttachment

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.54.0 published on Wednesday, Apr 24, 2024 by Pulumi

    Provides a Nas Smb Acl resource.

    Alibaba Cloud SMB protocol file storage service supports user authentication based on AD domain system and permission access control at the file system level. Connecting and accessing the SMB file system as a domain user can implement the requirements for access control at the file and directory level in the SMB protocol file system. The current Alibaba Cloud SMB protocol file storage service does not support multi-user file and directory-level permission access control, and only provides file system-level authentication and access based on the whitelist mechanism that supports cloud accounts and source IP permission groups control.

    NOTE: Available in 1.186.0+.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const example = alicloud.nas.getZones({
        fileSystemType: "standard",
    });
    const exampleFileSystem = new alicloud.nas.FileSystem("example", {
        protocolType: "SMB",
        storageType: "Capacity",
        description: "terraform-example",
        encryptType: 0,
        fileSystemType: "standard",
        zoneId: example.then(example => example.zones?.[0]?.zoneId),
    });
    const exampleSmbAclAttachment = new alicloud.nas.SmbAclAttachment("example", {
        fileSystemId: exampleFileSystem.id,
        keytab: "BQIAAABHAAIADUFMSUFEVEVTVC5DT00ABGNpZnMAGXNtYnNlcnZlcjI0LmFsaWFkdGVzdC5jb20AAAABAAAAAAEAAQAIqIx6v7p11oUAAABHAAIADUFMSUFEVEVTVC5DT00ABGNpZnMAGXNtYnNlcnZlcjI0LmFsaWFkdGVzdC5jb20AAAABAAAAAAEAAwAIqIx6v7p11oUAAABPAAIADUFMSUFEVEVTVC5DT00ABGNpZnMAGXNtYnNlcnZlcjI0LmFsaWFkdGVzdC5jb20AAAABAAAAAAEAFwAQnQZWB3RAPHU7PMIJyBWePAAAAF8AAgANQUxJQURURVNULkNPTQAEY2lmcwAZc21ic2VydmVyMjQuYWxpYWR0ZXN0LmNvbQAAAAEAAAAAAQASACAGJ7F0s+bcBjf6jD5HlvlRLmPSOW+qDZe0Qk0lQcf8WwAAAE8AAgANQUxJQURURVNULkNPTQAEY2lmcwAZc21ic2VydmVyMjQuYWxpYWR0ZXN0LmNvbQAAAAEAAAAAAQARABDdFmanrSIatnDDhoOXYadj",
        keytabMd5: "E3CCF7E2416DF04FA958AA4513EA29E8",
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    example = alicloud.nas.get_zones(file_system_type="standard")
    example_file_system = alicloud.nas.FileSystem("example",
        protocol_type="SMB",
        storage_type="Capacity",
        description="terraform-example",
        encrypt_type=0,
        file_system_type="standard",
        zone_id=example.zones[0].zone_id)
    example_smb_acl_attachment = alicloud.nas.SmbAclAttachment("example",
        file_system_id=example_file_system.id,
        keytab="BQIAAABHAAIADUFMSUFEVEVTVC5DT00ABGNpZnMAGXNtYnNlcnZlcjI0LmFsaWFkdGVzdC5jb20AAAABAAAAAAEAAQAIqIx6v7p11oUAAABHAAIADUFMSUFEVEVTVC5DT00ABGNpZnMAGXNtYnNlcnZlcjI0LmFsaWFkdGVzdC5jb20AAAABAAAAAAEAAwAIqIx6v7p11oUAAABPAAIADUFMSUFEVEVTVC5DT00ABGNpZnMAGXNtYnNlcnZlcjI0LmFsaWFkdGVzdC5jb20AAAABAAAAAAEAFwAQnQZWB3RAPHU7PMIJyBWePAAAAF8AAgANQUxJQURURVNULkNPTQAEY2lmcwAZc21ic2VydmVyMjQuYWxpYWR0ZXN0LmNvbQAAAAEAAAAAAQASACAGJ7F0s+bcBjf6jD5HlvlRLmPSOW+qDZe0Qk0lQcf8WwAAAE8AAgANQUxJQURURVNULkNPTQAEY2lmcwAZc21ic2VydmVyMjQuYWxpYWR0ZXN0LmNvbQAAAAEAAAAAAQARABDdFmanrSIatnDDhoOXYadj",
        keytab_md5="E3CCF7E2416DF04FA958AA4513EA29E8")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/nas"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := nas.GetZones(ctx, &nas.GetZonesArgs{
    			FileSystemType: pulumi.StringRef("standard"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		exampleFileSystem, err := nas.NewFileSystem(ctx, "example", &nas.FileSystemArgs{
    			ProtocolType:   pulumi.String("SMB"),
    			StorageType:    pulumi.String("Capacity"),
    			Description:    pulumi.String("terraform-example"),
    			EncryptType:    pulumi.Int(0),
    			FileSystemType: pulumi.String("standard"),
    			ZoneId:         pulumi.String(example.Zones[0].ZoneId),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = nas.NewSmbAclAttachment(ctx, "example", &nas.SmbAclAttachmentArgs{
    			FileSystemId: exampleFileSystem.ID(),
    			Keytab:       pulumi.String("BQIAAABHAAIADUFMSUFEVEVTVC5DT00ABGNpZnMAGXNtYnNlcnZlcjI0LmFsaWFkdGVzdC5jb20AAAABAAAAAAEAAQAIqIx6v7p11oUAAABHAAIADUFMSUFEVEVTVC5DT00ABGNpZnMAGXNtYnNlcnZlcjI0LmFsaWFkdGVzdC5jb20AAAABAAAAAAEAAwAIqIx6v7p11oUAAABPAAIADUFMSUFEVEVTVC5DT00ABGNpZnMAGXNtYnNlcnZlcjI0LmFsaWFkdGVzdC5jb20AAAABAAAAAAEAFwAQnQZWB3RAPHU7PMIJyBWePAAAAF8AAgANQUxJQURURVNULkNPTQAEY2lmcwAZc21ic2VydmVyMjQuYWxpYWR0ZXN0LmNvbQAAAAEAAAAAAQASACAGJ7F0s+bcBjf6jD5HlvlRLmPSOW+qDZe0Qk0lQcf8WwAAAE8AAgANQUxJQURURVNULkNPTQAEY2lmcwAZc21ic2VydmVyMjQuYWxpYWR0ZXN0LmNvbQAAAAEAAAAAAQARABDdFmanrSIatnDDhoOXYadj"),
    			KeytabMd5:    pulumi.String("E3CCF7E2416DF04FA958AA4513EA29E8"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = AliCloud.Nas.GetZones.Invoke(new()
        {
            FileSystemType = "standard",
        });
    
        var exampleFileSystem = new AliCloud.Nas.FileSystem("example", new()
        {
            ProtocolType = "SMB",
            StorageType = "Capacity",
            Description = "terraform-example",
            EncryptType = 0,
            FileSystemType = "standard",
            ZoneId = example.Apply(getZonesResult => getZonesResult.Zones[0]?.ZoneId),
        });
    
        var exampleSmbAclAttachment = new AliCloud.Nas.SmbAclAttachment("example", new()
        {
            FileSystemId = exampleFileSystem.Id,
            Keytab = "BQIAAABHAAIADUFMSUFEVEVTVC5DT00ABGNpZnMAGXNtYnNlcnZlcjI0LmFsaWFkdGVzdC5jb20AAAABAAAAAAEAAQAIqIx6v7p11oUAAABHAAIADUFMSUFEVEVTVC5DT00ABGNpZnMAGXNtYnNlcnZlcjI0LmFsaWFkdGVzdC5jb20AAAABAAAAAAEAAwAIqIx6v7p11oUAAABPAAIADUFMSUFEVEVTVC5DT00ABGNpZnMAGXNtYnNlcnZlcjI0LmFsaWFkdGVzdC5jb20AAAABAAAAAAEAFwAQnQZWB3RAPHU7PMIJyBWePAAAAF8AAgANQUxJQURURVNULkNPTQAEY2lmcwAZc21ic2VydmVyMjQuYWxpYWR0ZXN0LmNvbQAAAAEAAAAAAQASACAGJ7F0s+bcBjf6jD5HlvlRLmPSOW+qDZe0Qk0lQcf8WwAAAE8AAgANQUxJQURURVNULkNPTQAEY2lmcwAZc21ic2VydmVyMjQuYWxpYWR0ZXN0LmNvbQAAAAEAAAAAAQARABDdFmanrSIatnDDhoOXYadj",
            KeytabMd5 = "E3CCF7E2416DF04FA958AA4513EA29E8",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.nas.NasFunctions;
    import com.pulumi.alicloud.nas.inputs.GetZonesArgs;
    import com.pulumi.alicloud.nas.FileSystem;
    import com.pulumi.alicloud.nas.FileSystemArgs;
    import com.pulumi.alicloud.nas.SmbAclAttachment;
    import com.pulumi.alicloud.nas.SmbAclAttachmentArgs;
    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) {
            final var example = NasFunctions.getZones(GetZonesArgs.builder()
                .fileSystemType("standard")
                .build());
    
            var exampleFileSystem = new FileSystem("exampleFileSystem", FileSystemArgs.builder()        
                .protocolType("SMB")
                .storageType("Capacity")
                .description("terraform-example")
                .encryptType("0")
                .fileSystemType("standard")
                .zoneId(example.applyValue(getZonesResult -> getZonesResult.zones()[0].zoneId()))
                .build());
    
            var exampleSmbAclAttachment = new SmbAclAttachment("exampleSmbAclAttachment", SmbAclAttachmentArgs.builder()        
                .fileSystemId(exampleFileSystem.id())
                .keytab("BQIAAABHAAIADUFMSUFEVEVTVC5DT00ABGNpZnMAGXNtYnNlcnZlcjI0LmFsaWFkdGVzdC5jb20AAAABAAAAAAEAAQAIqIx6v7p11oUAAABHAAIADUFMSUFEVEVTVC5DT00ABGNpZnMAGXNtYnNlcnZlcjI0LmFsaWFkdGVzdC5jb20AAAABAAAAAAEAAwAIqIx6v7p11oUAAABPAAIADUFMSUFEVEVTVC5DT00ABGNpZnMAGXNtYnNlcnZlcjI0LmFsaWFkdGVzdC5jb20AAAABAAAAAAEAFwAQnQZWB3RAPHU7PMIJyBWePAAAAF8AAgANQUxJQURURVNULkNPTQAEY2lmcwAZc21ic2VydmVyMjQuYWxpYWR0ZXN0LmNvbQAAAAEAAAAAAQASACAGJ7F0s+bcBjf6jD5HlvlRLmPSOW+qDZe0Qk0lQcf8WwAAAE8AAgANQUxJQURURVNULkNPTQAEY2lmcwAZc21ic2VydmVyMjQuYWxpYWR0ZXN0LmNvbQAAAAEAAAAAAQARABDdFmanrSIatnDDhoOXYadj")
                .keytabMd5("E3CCF7E2416DF04FA958AA4513EA29E8")
                .build());
    
        }
    }
    
    resources:
      exampleFileSystem:
        type: alicloud:nas:FileSystem
        name: example
        properties:
          protocolType: SMB
          storageType: Capacity
          description: terraform-example
          encryptType: '0'
          fileSystemType: standard
          zoneId: ${example.zones[0].zoneId}
      exampleSmbAclAttachment:
        type: alicloud:nas:SmbAclAttachment
        name: example
        properties:
          fileSystemId: ${exampleFileSystem.id}
          keytab: BQIAAABHAAIADUFMSUFEVEVTVC5DT00ABGNpZnMAGXNtYnNlcnZlcjI0LmFsaWFkdGVzdC5jb20AAAABAAAAAAEAAQAIqIx6v7p11oUAAABHAAIADUFMSUFEVEVTVC5DT00ABGNpZnMAGXNtYnNlcnZlcjI0LmFsaWFkdGVzdC5jb20AAAABAAAAAAEAAwAIqIx6v7p11oUAAABPAAIADUFMSUFEVEVTVC5DT00ABGNpZnMAGXNtYnNlcnZlcjI0LmFsaWFkdGVzdC5jb20AAAABAAAAAAEAFwAQnQZWB3RAPHU7PMIJyBWePAAAAF8AAgANQUxJQURURVNULkNPTQAEY2lmcwAZc21ic2VydmVyMjQuYWxpYWR0ZXN0LmNvbQAAAAEAAAAAAQASACAGJ7F0s+bcBjf6jD5HlvlRLmPSOW+qDZe0Qk0lQcf8WwAAAE8AAgANQUxJQURURVNULkNPTQAEY2lmcwAZc21ic2VydmVyMjQuYWxpYWR0ZXN0LmNvbQAAAAEAAAAAAQARABDdFmanrSIatnDDhoOXYadj
          keytabMd5: E3CCF7E2416DF04FA958AA4513EA29E8
    variables:
      example:
        fn::invoke:
          Function: alicloud:nas:getZones
          Arguments:
            fileSystemType: standard
    

    Create SmbAclAttachment Resource

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

    Constructor syntax

    new SmbAclAttachment(name: string, args: SmbAclAttachmentArgs, opts?: CustomResourceOptions);
    @overload
    def SmbAclAttachment(resource_name: str,
                         args: SmbAclAttachmentArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def SmbAclAttachment(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         file_system_id: Optional[str] = None,
                         keytab: Optional[str] = None,
                         keytab_md5: Optional[str] = None,
                         enable_anonymous_access: Optional[bool] = None,
                         encrypt_data: Optional[bool] = None,
                         home_dir_path: Optional[str] = None,
                         reject_unencrypted_access: Optional[bool] = None,
                         super_admin_sid: Optional[str] = None)
    func NewSmbAclAttachment(ctx *Context, name string, args SmbAclAttachmentArgs, opts ...ResourceOption) (*SmbAclAttachment, error)
    public SmbAclAttachment(string name, SmbAclAttachmentArgs args, CustomResourceOptions? opts = null)
    public SmbAclAttachment(String name, SmbAclAttachmentArgs args)
    public SmbAclAttachment(String name, SmbAclAttachmentArgs args, CustomResourceOptions options)
    
    type: alicloud:nas:SmbAclAttachment
    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 SmbAclAttachmentArgs
    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 SmbAclAttachmentArgs
    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 SmbAclAttachmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SmbAclAttachmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SmbAclAttachmentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

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

    var smbAclAttachmentResource = new AliCloud.Nas.SmbAclAttachment("smbAclAttachmentResource", new()
    {
        FileSystemId = "string",
        Keytab = "string",
        KeytabMd5 = "string",
        EnableAnonymousAccess = false,
        EncryptData = false,
        HomeDirPath = "string",
        RejectUnencryptedAccess = false,
        SuperAdminSid = "string",
    });
    
    example, err := nas.NewSmbAclAttachment(ctx, "smbAclAttachmentResource", &nas.SmbAclAttachmentArgs{
    	FileSystemId:            pulumi.String("string"),
    	Keytab:                  pulumi.String("string"),
    	KeytabMd5:               pulumi.String("string"),
    	EnableAnonymousAccess:   pulumi.Bool(false),
    	EncryptData:             pulumi.Bool(false),
    	HomeDirPath:             pulumi.String("string"),
    	RejectUnencryptedAccess: pulumi.Bool(false),
    	SuperAdminSid:           pulumi.String("string"),
    })
    
    var smbAclAttachmentResource = new SmbAclAttachment("smbAclAttachmentResource", SmbAclAttachmentArgs.builder()        
        .fileSystemId("string")
        .keytab("string")
        .keytabMd5("string")
        .enableAnonymousAccess(false)
        .encryptData(false)
        .homeDirPath("string")
        .rejectUnencryptedAccess(false)
        .superAdminSid("string")
        .build());
    
    smb_acl_attachment_resource = alicloud.nas.SmbAclAttachment("smbAclAttachmentResource",
        file_system_id="string",
        keytab="string",
        keytab_md5="string",
        enable_anonymous_access=False,
        encrypt_data=False,
        home_dir_path="string",
        reject_unencrypted_access=False,
        super_admin_sid="string")
    
    const smbAclAttachmentResource = new alicloud.nas.SmbAclAttachment("smbAclAttachmentResource", {
        fileSystemId: "string",
        keytab: "string",
        keytabMd5: "string",
        enableAnonymousAccess: false,
        encryptData: false,
        homeDirPath: "string",
        rejectUnencryptedAccess: false,
        superAdminSid: "string",
    });
    
    type: alicloud:nas:SmbAclAttachment
    properties:
        enableAnonymousAccess: false
        encryptData: false
        fileSystemId: string
        homeDirPath: string
        keytab: string
        keytabMd5: string
        rejectUnencryptedAccess: false
        superAdminSid: string
    

    SmbAclAttachment Resource Properties

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

    Inputs

    The SmbAclAttachment resource accepts the following input properties:

    FileSystemId string
    The ID of the file system.
    Keytab string
    The string that is generated after the system encodes the keytab file by using Base64.
    KeytabMd5 string
    RThe string that is generated after the system encodes the keytab file by using MD5.
    EnableAnonymousAccess bool
    Specifies whether to allow anonymous access. Valid values: true: The file system allows anonymous access. false: The file system denies anonymous access. Default value: false.
    EncryptData bool
    Specifies whether to enable encryption in transit. Valid values: true: enables encryption in transit. false: disables encryption in transit. Default value: false.
    HomeDirPath string
    The home directory of each user. Each user-specific home directory must meet the following requirements:
    Each segment starts with a forward slash (/) or a backslash (). Each segment does not contain the following special characters: <>":?*. Each segment is 0 to 255 characters in length. The total length is 0 to 32,767 characters. For example, if you create a user named A and the home directory is /home, the file system automatically creates a directory named /home/A when User A logs on to the file system. If the /home/A directory already exists, the file system does not create the directory.
    RejectUnencryptedAccess bool
    Specifies whether to deny access from non-encrypted clients. Valid values: true: The file system denies access from non-encrypted clients. false: The file system allows access from non-encrypted clients. Default value: false.
    SuperAdminSid string
    The ID of a super admin. The ID must meet the following requirements: The ID starts with S and does not contain letters except S. The ID contains at least three hyphens (-) as delimiters. Example: S-1-5-22 and S-1-5-22-23.
    FileSystemId string
    The ID of the file system.
    Keytab string
    The string that is generated after the system encodes the keytab file by using Base64.
    KeytabMd5 string
    RThe string that is generated after the system encodes the keytab file by using MD5.
    EnableAnonymousAccess bool
    Specifies whether to allow anonymous access. Valid values: true: The file system allows anonymous access. false: The file system denies anonymous access. Default value: false.
    EncryptData bool
    Specifies whether to enable encryption in transit. Valid values: true: enables encryption in transit. false: disables encryption in transit. Default value: false.
    HomeDirPath string
    The home directory of each user. Each user-specific home directory must meet the following requirements:
    Each segment starts with a forward slash (/) or a backslash (). Each segment does not contain the following special characters: <>":?*. Each segment is 0 to 255 characters in length. The total length is 0 to 32,767 characters. For example, if you create a user named A and the home directory is /home, the file system automatically creates a directory named /home/A when User A logs on to the file system. If the /home/A directory already exists, the file system does not create the directory.
    RejectUnencryptedAccess bool
    Specifies whether to deny access from non-encrypted clients. Valid values: true: The file system denies access from non-encrypted clients. false: The file system allows access from non-encrypted clients. Default value: false.
    SuperAdminSid string
    The ID of a super admin. The ID must meet the following requirements: The ID starts with S and does not contain letters except S. The ID contains at least three hyphens (-) as delimiters. Example: S-1-5-22 and S-1-5-22-23.
    fileSystemId String
    The ID of the file system.
    keytab String
    The string that is generated after the system encodes the keytab file by using Base64.
    keytabMd5 String
    RThe string that is generated after the system encodes the keytab file by using MD5.
    enableAnonymousAccess Boolean
    Specifies whether to allow anonymous access. Valid values: true: The file system allows anonymous access. false: The file system denies anonymous access. Default value: false.
    encryptData Boolean
    Specifies whether to enable encryption in transit. Valid values: true: enables encryption in transit. false: disables encryption in transit. Default value: false.
    homeDirPath String
    The home directory of each user. Each user-specific home directory must meet the following requirements:
    Each segment starts with a forward slash (/) or a backslash (). Each segment does not contain the following special characters: <>":?*. Each segment is 0 to 255 characters in length. The total length is 0 to 32,767 characters. For example, if you create a user named A and the home directory is /home, the file system automatically creates a directory named /home/A when User A logs on to the file system. If the /home/A directory already exists, the file system does not create the directory.
    rejectUnencryptedAccess Boolean
    Specifies whether to deny access from non-encrypted clients. Valid values: true: The file system denies access from non-encrypted clients. false: The file system allows access from non-encrypted clients. Default value: false.
    superAdminSid String
    The ID of a super admin. The ID must meet the following requirements: The ID starts with S and does not contain letters except S. The ID contains at least three hyphens (-) as delimiters. Example: S-1-5-22 and S-1-5-22-23.
    fileSystemId string
    The ID of the file system.
    keytab string
    The string that is generated after the system encodes the keytab file by using Base64.
    keytabMd5 string
    RThe string that is generated after the system encodes the keytab file by using MD5.
    enableAnonymousAccess boolean
    Specifies whether to allow anonymous access. Valid values: true: The file system allows anonymous access. false: The file system denies anonymous access. Default value: false.
    encryptData boolean
    Specifies whether to enable encryption in transit. Valid values: true: enables encryption in transit. false: disables encryption in transit. Default value: false.
    homeDirPath string
    The home directory of each user. Each user-specific home directory must meet the following requirements:
    Each segment starts with a forward slash (/) or a backslash (). Each segment does not contain the following special characters: <>":?*. Each segment is 0 to 255 characters in length. The total length is 0 to 32,767 characters. For example, if you create a user named A and the home directory is /home, the file system automatically creates a directory named /home/A when User A logs on to the file system. If the /home/A directory already exists, the file system does not create the directory.
    rejectUnencryptedAccess boolean
    Specifies whether to deny access from non-encrypted clients. Valid values: true: The file system denies access from non-encrypted clients. false: The file system allows access from non-encrypted clients. Default value: false.
    superAdminSid string
    The ID of a super admin. The ID must meet the following requirements: The ID starts with S and does not contain letters except S. The ID contains at least three hyphens (-) as delimiters. Example: S-1-5-22 and S-1-5-22-23.
    file_system_id str
    The ID of the file system.
    keytab str
    The string that is generated after the system encodes the keytab file by using Base64.
    keytab_md5 str
    RThe string that is generated after the system encodes the keytab file by using MD5.
    enable_anonymous_access bool
    Specifies whether to allow anonymous access. Valid values: true: The file system allows anonymous access. false: The file system denies anonymous access. Default value: false.
    encrypt_data bool
    Specifies whether to enable encryption in transit. Valid values: true: enables encryption in transit. false: disables encryption in transit. Default value: false.
    home_dir_path str
    The home directory of each user. Each user-specific home directory must meet the following requirements:
    Each segment starts with a forward slash (/) or a backslash (). Each segment does not contain the following special characters: <>":?*. Each segment is 0 to 255 characters in length. The total length is 0 to 32,767 characters. For example, if you create a user named A and the home directory is /home, the file system automatically creates a directory named /home/A when User A logs on to the file system. If the /home/A directory already exists, the file system does not create the directory.
    reject_unencrypted_access bool
    Specifies whether to deny access from non-encrypted clients. Valid values: true: The file system denies access from non-encrypted clients. false: The file system allows access from non-encrypted clients. Default value: false.
    super_admin_sid str
    The ID of a super admin. The ID must meet the following requirements: The ID starts with S and does not contain letters except S. The ID contains at least three hyphens (-) as delimiters. Example: S-1-5-22 and S-1-5-22-23.
    fileSystemId String
    The ID of the file system.
    keytab String
    The string that is generated after the system encodes the keytab file by using Base64.
    keytabMd5 String
    RThe string that is generated after the system encodes the keytab file by using MD5.
    enableAnonymousAccess Boolean
    Specifies whether to allow anonymous access. Valid values: true: The file system allows anonymous access. false: The file system denies anonymous access. Default value: false.
    encryptData Boolean
    Specifies whether to enable encryption in transit. Valid values: true: enables encryption in transit. false: disables encryption in transit. Default value: false.
    homeDirPath String
    The home directory of each user. Each user-specific home directory must meet the following requirements:
    Each segment starts with a forward slash (/) or a backslash (). Each segment does not contain the following special characters: <>":?*. Each segment is 0 to 255 characters in length. The total length is 0 to 32,767 characters. For example, if you create a user named A and the home directory is /home, the file system automatically creates a directory named /home/A when User A logs on to the file system. If the /home/A directory already exists, the file system does not create the directory.
    rejectUnencryptedAccess Boolean
    Specifies whether to deny access from non-encrypted clients. Valid values: true: The file system denies access from non-encrypted clients. false: The file system allows access from non-encrypted clients. Default value: false.
    superAdminSid String
    The ID of a super admin. The ID must meet the following requirements: The ID starts with S and does not contain letters except S. The ID contains at least three hyphens (-) as delimiters. Example: S-1-5-22 and S-1-5-22-23.

    Outputs

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

    AuthMethod string
    The method that is used to authenticate network identities.
    Enabled string
    Specifies whether to enable the ACL feature. true: enables the ACL feature. false: disables the ACL feature.
    Id string
    The provider-assigned unique ID for this managed resource.
    AuthMethod string
    The method that is used to authenticate network identities.
    Enabled string
    Specifies whether to enable the ACL feature. true: enables the ACL feature. false: disables the ACL feature.
    Id string
    The provider-assigned unique ID for this managed resource.
    authMethod String
    The method that is used to authenticate network identities.
    enabled String
    Specifies whether to enable the ACL feature. true: enables the ACL feature. false: disables the ACL feature.
    id String
    The provider-assigned unique ID for this managed resource.
    authMethod string
    The method that is used to authenticate network identities.
    enabled string
    Specifies whether to enable the ACL feature. true: enables the ACL feature. false: disables the ACL feature.
    id string
    The provider-assigned unique ID for this managed resource.
    auth_method str
    The method that is used to authenticate network identities.
    enabled str
    Specifies whether to enable the ACL feature. true: enables the ACL feature. false: disables the ACL feature.
    id str
    The provider-assigned unique ID for this managed resource.
    authMethod String
    The method that is used to authenticate network identities.
    enabled String
    Specifies whether to enable the ACL feature. true: enables the ACL feature. false: disables the ACL feature.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing SmbAclAttachment Resource

    Get an existing SmbAclAttachment 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?: SmbAclAttachmentState, opts?: CustomResourceOptions): SmbAclAttachment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auth_method: Optional[str] = None,
            enable_anonymous_access: Optional[bool] = None,
            enabled: Optional[str] = None,
            encrypt_data: Optional[bool] = None,
            file_system_id: Optional[str] = None,
            home_dir_path: Optional[str] = None,
            keytab: Optional[str] = None,
            keytab_md5: Optional[str] = None,
            reject_unencrypted_access: Optional[bool] = None,
            super_admin_sid: Optional[str] = None) -> SmbAclAttachment
    func GetSmbAclAttachment(ctx *Context, name string, id IDInput, state *SmbAclAttachmentState, opts ...ResourceOption) (*SmbAclAttachment, error)
    public static SmbAclAttachment Get(string name, Input<string> id, SmbAclAttachmentState? state, CustomResourceOptions? opts = null)
    public static SmbAclAttachment get(String name, Output<String> id, SmbAclAttachmentState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    AuthMethod string
    The method that is used to authenticate network identities.
    EnableAnonymousAccess bool
    Specifies whether to allow anonymous access. Valid values: true: The file system allows anonymous access. false: The file system denies anonymous access. Default value: false.
    Enabled string
    Specifies whether to enable the ACL feature. true: enables the ACL feature. false: disables the ACL feature.
    EncryptData bool
    Specifies whether to enable encryption in transit. Valid values: true: enables encryption in transit. false: disables encryption in transit. Default value: false.
    FileSystemId string
    The ID of the file system.
    HomeDirPath string
    The home directory of each user. Each user-specific home directory must meet the following requirements:
    Each segment starts with a forward slash (/) or a backslash (). Each segment does not contain the following special characters: <>":?*. Each segment is 0 to 255 characters in length. The total length is 0 to 32,767 characters. For example, if you create a user named A and the home directory is /home, the file system automatically creates a directory named /home/A when User A logs on to the file system. If the /home/A directory already exists, the file system does not create the directory.
    Keytab string
    The string that is generated after the system encodes the keytab file by using Base64.
    KeytabMd5 string
    RThe string that is generated after the system encodes the keytab file by using MD5.
    RejectUnencryptedAccess bool
    Specifies whether to deny access from non-encrypted clients. Valid values: true: The file system denies access from non-encrypted clients. false: The file system allows access from non-encrypted clients. Default value: false.
    SuperAdminSid string
    The ID of a super admin. The ID must meet the following requirements: The ID starts with S and does not contain letters except S. The ID contains at least three hyphens (-) as delimiters. Example: S-1-5-22 and S-1-5-22-23.
    AuthMethod string
    The method that is used to authenticate network identities.
    EnableAnonymousAccess bool
    Specifies whether to allow anonymous access. Valid values: true: The file system allows anonymous access. false: The file system denies anonymous access. Default value: false.
    Enabled string
    Specifies whether to enable the ACL feature. true: enables the ACL feature. false: disables the ACL feature.
    EncryptData bool
    Specifies whether to enable encryption in transit. Valid values: true: enables encryption in transit. false: disables encryption in transit. Default value: false.
    FileSystemId string
    The ID of the file system.
    HomeDirPath string
    The home directory of each user. Each user-specific home directory must meet the following requirements:
    Each segment starts with a forward slash (/) or a backslash (). Each segment does not contain the following special characters: <>":?*. Each segment is 0 to 255 characters in length. The total length is 0 to 32,767 characters. For example, if you create a user named A and the home directory is /home, the file system automatically creates a directory named /home/A when User A logs on to the file system. If the /home/A directory already exists, the file system does not create the directory.
    Keytab string
    The string that is generated after the system encodes the keytab file by using Base64.
    KeytabMd5 string
    RThe string that is generated after the system encodes the keytab file by using MD5.
    RejectUnencryptedAccess bool
    Specifies whether to deny access from non-encrypted clients. Valid values: true: The file system denies access from non-encrypted clients. false: The file system allows access from non-encrypted clients. Default value: false.
    SuperAdminSid string
    The ID of a super admin. The ID must meet the following requirements: The ID starts with S and does not contain letters except S. The ID contains at least three hyphens (-) as delimiters. Example: S-1-5-22 and S-1-5-22-23.
    authMethod String
    The method that is used to authenticate network identities.
    enableAnonymousAccess Boolean
    Specifies whether to allow anonymous access. Valid values: true: The file system allows anonymous access. false: The file system denies anonymous access. Default value: false.
    enabled String
    Specifies whether to enable the ACL feature. true: enables the ACL feature. false: disables the ACL feature.
    encryptData Boolean
    Specifies whether to enable encryption in transit. Valid values: true: enables encryption in transit. false: disables encryption in transit. Default value: false.
    fileSystemId String
    The ID of the file system.
    homeDirPath String
    The home directory of each user. Each user-specific home directory must meet the following requirements:
    Each segment starts with a forward slash (/) or a backslash (). Each segment does not contain the following special characters: <>":?*. Each segment is 0 to 255 characters in length. The total length is 0 to 32,767 characters. For example, if you create a user named A and the home directory is /home, the file system automatically creates a directory named /home/A when User A logs on to the file system. If the /home/A directory already exists, the file system does not create the directory.
    keytab String
    The string that is generated after the system encodes the keytab file by using Base64.
    keytabMd5 String
    RThe string that is generated after the system encodes the keytab file by using MD5.
    rejectUnencryptedAccess Boolean
    Specifies whether to deny access from non-encrypted clients. Valid values: true: The file system denies access from non-encrypted clients. false: The file system allows access from non-encrypted clients. Default value: false.
    superAdminSid String
    The ID of a super admin. The ID must meet the following requirements: The ID starts with S and does not contain letters except S. The ID contains at least three hyphens (-) as delimiters. Example: S-1-5-22 and S-1-5-22-23.
    authMethod string
    The method that is used to authenticate network identities.
    enableAnonymousAccess boolean
    Specifies whether to allow anonymous access. Valid values: true: The file system allows anonymous access. false: The file system denies anonymous access. Default value: false.
    enabled string
    Specifies whether to enable the ACL feature. true: enables the ACL feature. false: disables the ACL feature.
    encryptData boolean
    Specifies whether to enable encryption in transit. Valid values: true: enables encryption in transit. false: disables encryption in transit. Default value: false.
    fileSystemId string
    The ID of the file system.
    homeDirPath string
    The home directory of each user. Each user-specific home directory must meet the following requirements:
    Each segment starts with a forward slash (/) or a backslash (). Each segment does not contain the following special characters: <>":?*. Each segment is 0 to 255 characters in length. The total length is 0 to 32,767 characters. For example, if you create a user named A and the home directory is /home, the file system automatically creates a directory named /home/A when User A logs on to the file system. If the /home/A directory already exists, the file system does not create the directory.
    keytab string
    The string that is generated after the system encodes the keytab file by using Base64.
    keytabMd5 string
    RThe string that is generated after the system encodes the keytab file by using MD5.
    rejectUnencryptedAccess boolean
    Specifies whether to deny access from non-encrypted clients. Valid values: true: The file system denies access from non-encrypted clients. false: The file system allows access from non-encrypted clients. Default value: false.
    superAdminSid string
    The ID of a super admin. The ID must meet the following requirements: The ID starts with S and does not contain letters except S. The ID contains at least three hyphens (-) as delimiters. Example: S-1-5-22 and S-1-5-22-23.
    auth_method str
    The method that is used to authenticate network identities.
    enable_anonymous_access bool
    Specifies whether to allow anonymous access. Valid values: true: The file system allows anonymous access. false: The file system denies anonymous access. Default value: false.
    enabled str
    Specifies whether to enable the ACL feature. true: enables the ACL feature. false: disables the ACL feature.
    encrypt_data bool
    Specifies whether to enable encryption in transit. Valid values: true: enables encryption in transit. false: disables encryption in transit. Default value: false.
    file_system_id str
    The ID of the file system.
    home_dir_path str
    The home directory of each user. Each user-specific home directory must meet the following requirements:
    Each segment starts with a forward slash (/) or a backslash (). Each segment does not contain the following special characters: <>":?*. Each segment is 0 to 255 characters in length. The total length is 0 to 32,767 characters. For example, if you create a user named A and the home directory is /home, the file system automatically creates a directory named /home/A when User A logs on to the file system. If the /home/A directory already exists, the file system does not create the directory.
    keytab str
    The string that is generated after the system encodes the keytab file by using Base64.
    keytab_md5 str
    RThe string that is generated after the system encodes the keytab file by using MD5.
    reject_unencrypted_access bool
    Specifies whether to deny access from non-encrypted clients. Valid values: true: The file system denies access from non-encrypted clients. false: The file system allows access from non-encrypted clients. Default value: false.
    super_admin_sid str
    The ID of a super admin. The ID must meet the following requirements: The ID starts with S and does not contain letters except S. The ID contains at least three hyphens (-) as delimiters. Example: S-1-5-22 and S-1-5-22-23.
    authMethod String
    The method that is used to authenticate network identities.
    enableAnonymousAccess Boolean
    Specifies whether to allow anonymous access. Valid values: true: The file system allows anonymous access. false: The file system denies anonymous access. Default value: false.
    enabled String
    Specifies whether to enable the ACL feature. true: enables the ACL feature. false: disables the ACL feature.
    encryptData Boolean
    Specifies whether to enable encryption in transit. Valid values: true: enables encryption in transit. false: disables encryption in transit. Default value: false.
    fileSystemId String
    The ID of the file system.
    homeDirPath String
    The home directory of each user. Each user-specific home directory must meet the following requirements:
    Each segment starts with a forward slash (/) or a backslash (). Each segment does not contain the following special characters: <>":?*. Each segment is 0 to 255 characters in length. The total length is 0 to 32,767 characters. For example, if you create a user named A and the home directory is /home, the file system automatically creates a directory named /home/A when User A logs on to the file system. If the /home/A directory already exists, the file system does not create the directory.
    keytab String
    The string that is generated after the system encodes the keytab file by using Base64.
    keytabMd5 String
    RThe string that is generated after the system encodes the keytab file by using MD5.
    rejectUnencryptedAccess Boolean
    Specifies whether to deny access from non-encrypted clients. Valid values: true: The file system denies access from non-encrypted clients. false: The file system allows access from non-encrypted clients. Default value: false.
    superAdminSid String
    The ID of a super admin. The ID must meet the following requirements: The ID starts with S and does not contain letters except S. The ID contains at least three hyphens (-) as delimiters. Example: S-1-5-22 and S-1-5-22-23.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.54.0 published on Wednesday, Apr 24, 2024 by Pulumi