1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. dfs
  5. FileSystem
Alibaba Cloud v3.57.0 published on Saturday, Jun 15, 2024 by Pulumi

alicloud.dfs.FileSystem

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.57.0 published on Saturday, Jun 15, 2024 by Pulumi

    Provides a DFS File System resource.

    For information about DFS File System and how to use it, see What is File System.

    NOTE: Available since v1.140.0.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const config = new pulumi.Config();
    const name = config.get("name") || "tf-example";
    const default = alicloud.dfs.getZones({});
    const defaultFileSystem = new alicloud.dfs.FileSystem("default", {
        storageType: _default.then(_default => _default.zones?.[0]?.options?.[0]?.storageType),
        zoneId: _default.then(_default => _default.zones?.[0]?.zoneId),
        protocolType: "HDFS",
        description: name,
        fileSystemName: name,
        throughputMode: "Provisioned",
        spaceCapacity: 1024,
        provisionedThroughputInMiBps: 512,
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "tf-example"
    default = alicloud.dfs.get_zones()
    default_file_system = alicloud.dfs.FileSystem("default",
        storage_type=default.zones[0].options[0].storage_type,
        zone_id=default.zones[0].zone_id,
        protocol_type="HDFS",
        description=name,
        file_system_name=name,
        throughput_mode="Provisioned",
        space_capacity=1024,
        provisioned_throughput_in_mi_bps=512)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/dfs"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		name := "tf-example"
    		if param := cfg.Get("name"); param != "" {
    			name = param
    		}
    		_default, err := dfs.GetZones(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		_, err = dfs.NewFileSystem(ctx, "default", &dfs.FileSystemArgs{
    			StorageType:                  pulumi.String(_default.Zones[0].Options[0].StorageType),
    			ZoneId:                       pulumi.String(_default.Zones[0].ZoneId),
    			ProtocolType:                 pulumi.String("HDFS"),
    			Description:                  pulumi.String(name),
    			FileSystemName:               pulumi.String(name),
    			ThroughputMode:               pulumi.String("Provisioned"),
    			SpaceCapacity:                pulumi.Int(1024),
    			ProvisionedThroughputInMiBps: pulumi.Int(512),
    		})
    		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 config = new Config();
        var name = config.Get("name") ?? "tf-example";
        var @default = AliCloud.Dfs.GetZones.Invoke();
    
        var defaultFileSystem = new AliCloud.Dfs.FileSystem("default", new()
        {
            StorageType = @default.Apply(@default => @default.Apply(getZonesResult => getZonesResult.Zones[0]?.Options[0]?.StorageType)),
            ZoneId = @default.Apply(@default => @default.Apply(getZonesResult => getZonesResult.Zones[0]?.ZoneId)),
            ProtocolType = "HDFS",
            Description = name,
            FileSystemName = name,
            ThroughputMode = "Provisioned",
            SpaceCapacity = 1024,
            ProvisionedThroughputInMiBps = 512,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.dfs.DfsFunctions;
    import com.pulumi.alicloud.dfs.inputs.GetZonesArgs;
    import com.pulumi.alicloud.dfs.FileSystem;
    import com.pulumi.alicloud.dfs.FileSystemArgs;
    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 config = ctx.config();
            final var name = config.get("name").orElse("tf-example");
            final var default = DfsFunctions.getZones();
    
            var defaultFileSystem = new FileSystem("defaultFileSystem", FileSystemArgs.builder()
                .storageType(default_.zones()[0].options()[0].storageType())
                .zoneId(default_.zones()[0].zoneId())
                .protocolType("HDFS")
                .description(name)
                .fileSystemName(name)
                .throughputMode("Provisioned")
                .spaceCapacity("1024")
                .provisionedThroughputInMiBps("512")
                .build());
    
        }
    }
    
    configuration:
      name:
        type: string
        default: tf-example
    resources:
      defaultFileSystem:
        type: alicloud:dfs:FileSystem
        name: default
        properties:
          storageType: ${default.zones[0].options[0].storageType}
          zoneId: ${default.zones[0].zoneId}
          protocolType: HDFS
          description: ${name}
          fileSystemName: ${name}
          throughputMode: Provisioned
          spaceCapacity: '1024'
          provisionedThroughputInMiBps: '512'
    variables:
      default:
        fn::invoke:
          Function: alicloud:dfs:getZones
          Arguments: {}
    

    Create FileSystem Resource

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

    Constructor syntax

    new FileSystem(name: string, args: FileSystemArgs, opts?: CustomResourceOptions);
    @overload
    def FileSystem(resource_name: str,
                   args: FileSystemArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def FileSystem(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   file_system_name: Optional[str] = None,
                   protocol_type: Optional[str] = None,
                   space_capacity: Optional[int] = None,
                   storage_type: Optional[str] = None,
                   zone_id: Optional[str] = None,
                   data_redundancy_type: Optional[str] = None,
                   description: Optional[str] = None,
                   partition_number: Optional[int] = None,
                   provisioned_throughput_in_mi_bps: Optional[int] = None,
                   storage_set_name: Optional[str] = None,
                   throughput_mode: Optional[str] = None)
    func NewFileSystem(ctx *Context, name string, args FileSystemArgs, opts ...ResourceOption) (*FileSystem, error)
    public FileSystem(string name, FileSystemArgs args, CustomResourceOptions? opts = null)
    public FileSystem(String name, FileSystemArgs args)
    public FileSystem(String name, FileSystemArgs args, CustomResourceOptions options)
    
    type: alicloud:dfs:FileSystem
    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 FileSystemArgs
    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 FileSystemArgs
    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 FileSystemArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FileSystemArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FileSystemArgs
    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 fileSystemResource = new AliCloud.Dfs.FileSystem("fileSystemResource", new()
    {
        FileSystemName = "string",
        ProtocolType = "string",
        SpaceCapacity = 0,
        StorageType = "string",
        ZoneId = "string",
        DataRedundancyType = "string",
        Description = "string",
        PartitionNumber = 0,
        ProvisionedThroughputInMiBps = 0,
        StorageSetName = "string",
        ThroughputMode = "string",
    });
    
    example, err := dfs.NewFileSystem(ctx, "fileSystemResource", &dfs.FileSystemArgs{
    	FileSystemName:               pulumi.String("string"),
    	ProtocolType:                 pulumi.String("string"),
    	SpaceCapacity:                pulumi.Int(0),
    	StorageType:                  pulumi.String("string"),
    	ZoneId:                       pulumi.String("string"),
    	DataRedundancyType:           pulumi.String("string"),
    	Description:                  pulumi.String("string"),
    	PartitionNumber:              pulumi.Int(0),
    	ProvisionedThroughputInMiBps: pulumi.Int(0),
    	StorageSetName:               pulumi.String("string"),
    	ThroughputMode:               pulumi.String("string"),
    })
    
    var fileSystemResource = new FileSystem("fileSystemResource", FileSystemArgs.builder()
        .fileSystemName("string")
        .protocolType("string")
        .spaceCapacity(0)
        .storageType("string")
        .zoneId("string")
        .dataRedundancyType("string")
        .description("string")
        .partitionNumber(0)
        .provisionedThroughputInMiBps(0)
        .storageSetName("string")
        .throughputMode("string")
        .build());
    
    file_system_resource = alicloud.dfs.FileSystem("fileSystemResource",
        file_system_name="string",
        protocol_type="string",
        space_capacity=0,
        storage_type="string",
        zone_id="string",
        data_redundancy_type="string",
        description="string",
        partition_number=0,
        provisioned_throughput_in_mi_bps=0,
        storage_set_name="string",
        throughput_mode="string")
    
    const fileSystemResource = new alicloud.dfs.FileSystem("fileSystemResource", {
        fileSystemName: "string",
        protocolType: "string",
        spaceCapacity: 0,
        storageType: "string",
        zoneId: "string",
        dataRedundancyType: "string",
        description: "string",
        partitionNumber: 0,
        provisionedThroughputInMiBps: 0,
        storageSetName: "string",
        throughputMode: "string",
    });
    
    type: alicloud:dfs:FileSystem
    properties:
        dataRedundancyType: string
        description: string
        fileSystemName: string
        partitionNumber: 0
        protocolType: string
        provisionedThroughputInMiBps: 0
        spaceCapacity: 0
        storageSetName: string
        storageType: string
        throughputMode: string
        zoneId: string
    

    FileSystem 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 FileSystem resource accepts the following input properties:

    FileSystemName string
    The file system name. The naming rules are as follows: The length is 6~64 characters. Globally unique and cannot be an empty string. English letters are supported and can contain numbers, underscores (_), and dashes (-).
    ProtocolType string
    The protocol type. Only HDFS(Hadoop Distributed File System) is supported.
    SpaceCapacity int
    File system capacity. When the actual amount of data stored reaches the capacity of the file system, data cannot be written. Unit: GiB.
    StorageType string
    The storage media type. Value: STANDARD (default): STANDARD PERFORMANCE: PERFORMANCE type.
    ZoneId string
    Zone Id, which is used to create file system resources to the specified zone.
    DataRedundancyType string
    Redundancy mode of the file system. Value:

    • LRS (default): Local redundancy.
    • ZRS: Same-City redundancy. When ZRS is selected, zoneId is a string consisting of multiple zones that are expected to be redundant in the same city, for example, 'zoneId1,zoneId2 '.
    Description string
    The description of the file system resource. No more than 32 characters in length.
    PartitionNumber int
    Save set sequence number, the user selects the content of the specified sequence number in the Save set.
    ProvisionedThroughputInMiBps int
    Provisioned throughput. This parameter is required when ThroughputMode is set to Provisioned. Unit: MB/s Value range: 1~5120.
    StorageSetName string
    Save set identity, used to select a user-specified save set.
    ThroughputMode string
    The throughput mode. Value: Standard (default): Standard throughput Provisioned: preset throughput.
    FileSystemName string
    The file system name. The naming rules are as follows: The length is 6~64 characters. Globally unique and cannot be an empty string. English letters are supported and can contain numbers, underscores (_), and dashes (-).
    ProtocolType string
    The protocol type. Only HDFS(Hadoop Distributed File System) is supported.
    SpaceCapacity int
    File system capacity. When the actual amount of data stored reaches the capacity of the file system, data cannot be written. Unit: GiB.
    StorageType string
    The storage media type. Value: STANDARD (default): STANDARD PERFORMANCE: PERFORMANCE type.
    ZoneId string
    Zone Id, which is used to create file system resources to the specified zone.
    DataRedundancyType string
    Redundancy mode of the file system. Value:

    • LRS (default): Local redundancy.
    • ZRS: Same-City redundancy. When ZRS is selected, zoneId is a string consisting of multiple zones that are expected to be redundant in the same city, for example, 'zoneId1,zoneId2 '.
    Description string
    The description of the file system resource. No more than 32 characters in length.
    PartitionNumber int
    Save set sequence number, the user selects the content of the specified sequence number in the Save set.
    ProvisionedThroughputInMiBps int
    Provisioned throughput. This parameter is required when ThroughputMode is set to Provisioned. Unit: MB/s Value range: 1~5120.
    StorageSetName string
    Save set identity, used to select a user-specified save set.
    ThroughputMode string
    The throughput mode. Value: Standard (default): Standard throughput Provisioned: preset throughput.
    fileSystemName String
    The file system name. The naming rules are as follows: The length is 6~64 characters. Globally unique and cannot be an empty string. English letters are supported and can contain numbers, underscores (_), and dashes (-).
    protocolType String
    The protocol type. Only HDFS(Hadoop Distributed File System) is supported.
    spaceCapacity Integer
    File system capacity. When the actual amount of data stored reaches the capacity of the file system, data cannot be written. Unit: GiB.
    storageType String
    The storage media type. Value: STANDARD (default): STANDARD PERFORMANCE: PERFORMANCE type.
    zoneId String
    Zone Id, which is used to create file system resources to the specified zone.
    dataRedundancyType String
    Redundancy mode of the file system. Value:

    • LRS (default): Local redundancy.
    • ZRS: Same-City redundancy. When ZRS is selected, zoneId is a string consisting of multiple zones that are expected to be redundant in the same city, for example, 'zoneId1,zoneId2 '.
    description String
    The description of the file system resource. No more than 32 characters in length.
    partitionNumber Integer
    Save set sequence number, the user selects the content of the specified sequence number in the Save set.
    provisionedThroughputInMiBps Integer
    Provisioned throughput. This parameter is required when ThroughputMode is set to Provisioned. Unit: MB/s Value range: 1~5120.
    storageSetName String
    Save set identity, used to select a user-specified save set.
    throughputMode String
    The throughput mode. Value: Standard (default): Standard throughput Provisioned: preset throughput.
    fileSystemName string
    The file system name. The naming rules are as follows: The length is 6~64 characters. Globally unique and cannot be an empty string. English letters are supported and can contain numbers, underscores (_), and dashes (-).
    protocolType string
    The protocol type. Only HDFS(Hadoop Distributed File System) is supported.
    spaceCapacity number
    File system capacity. When the actual amount of data stored reaches the capacity of the file system, data cannot be written. Unit: GiB.
    storageType string
    The storage media type. Value: STANDARD (default): STANDARD PERFORMANCE: PERFORMANCE type.
    zoneId string
    Zone Id, which is used to create file system resources to the specified zone.
    dataRedundancyType string
    Redundancy mode of the file system. Value:

    • LRS (default): Local redundancy.
    • ZRS: Same-City redundancy. When ZRS is selected, zoneId is a string consisting of multiple zones that are expected to be redundant in the same city, for example, 'zoneId1,zoneId2 '.
    description string
    The description of the file system resource. No more than 32 characters in length.
    partitionNumber number
    Save set sequence number, the user selects the content of the specified sequence number in the Save set.
    provisionedThroughputInMiBps number
    Provisioned throughput. This parameter is required when ThroughputMode is set to Provisioned. Unit: MB/s Value range: 1~5120.
    storageSetName string
    Save set identity, used to select a user-specified save set.
    throughputMode string
    The throughput mode. Value: Standard (default): Standard throughput Provisioned: preset throughput.
    file_system_name str
    The file system name. The naming rules are as follows: The length is 6~64 characters. Globally unique and cannot be an empty string. English letters are supported and can contain numbers, underscores (_), and dashes (-).
    protocol_type str
    The protocol type. Only HDFS(Hadoop Distributed File System) is supported.
    space_capacity int
    File system capacity. When the actual amount of data stored reaches the capacity of the file system, data cannot be written. Unit: GiB.
    storage_type str
    The storage media type. Value: STANDARD (default): STANDARD PERFORMANCE: PERFORMANCE type.
    zone_id str
    Zone Id, which is used to create file system resources to the specified zone.
    data_redundancy_type str
    Redundancy mode of the file system. Value:

    • LRS (default): Local redundancy.
    • ZRS: Same-City redundancy. When ZRS is selected, zoneId is a string consisting of multiple zones that are expected to be redundant in the same city, for example, 'zoneId1,zoneId2 '.
    description str
    The description of the file system resource. No more than 32 characters in length.
    partition_number int
    Save set sequence number, the user selects the content of the specified sequence number in the Save set.
    provisioned_throughput_in_mi_bps int
    Provisioned throughput. This parameter is required when ThroughputMode is set to Provisioned. Unit: MB/s Value range: 1~5120.
    storage_set_name str
    Save set identity, used to select a user-specified save set.
    throughput_mode str
    The throughput mode. Value: Standard (default): Standard throughput Provisioned: preset throughput.
    fileSystemName String
    The file system name. The naming rules are as follows: The length is 6~64 characters. Globally unique and cannot be an empty string. English letters are supported and can contain numbers, underscores (_), and dashes (-).
    protocolType String
    The protocol type. Only HDFS(Hadoop Distributed File System) is supported.
    spaceCapacity Number
    File system capacity. When the actual amount of data stored reaches the capacity of the file system, data cannot be written. Unit: GiB.
    storageType String
    The storage media type. Value: STANDARD (default): STANDARD PERFORMANCE: PERFORMANCE type.
    zoneId String
    Zone Id, which is used to create file system resources to the specified zone.
    dataRedundancyType String
    Redundancy mode of the file system. Value:

    • LRS (default): Local redundancy.
    • ZRS: Same-City redundancy. When ZRS is selected, zoneId is a string consisting of multiple zones that are expected to be redundant in the same city, for example, 'zoneId1,zoneId2 '.
    description String
    The description of the file system resource. No more than 32 characters in length.
    partitionNumber Number
    Save set sequence number, the user selects the content of the specified sequence number in the Save set.
    provisionedThroughputInMiBps Number
    Provisioned throughput. This parameter is required when ThroughputMode is set to Provisioned. Unit: MB/s Value range: 1~5120.
    storageSetName String
    Save set identity, used to select a user-specified save set.
    throughputMode String
    The throughput mode. Value: Standard (default): Standard throughput Provisioned: preset throughput.

    Outputs

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

    CreateTime string
    The creation time of the file system instance.
    Id string
    The provider-assigned unique ID for this managed resource.
    CreateTime string
    The creation time of the file system instance.
    Id string
    The provider-assigned unique ID for this managed resource.
    createTime String
    The creation time of the file system instance.
    id String
    The provider-assigned unique ID for this managed resource.
    createTime string
    The creation time of the file system instance.
    id string
    The provider-assigned unique ID for this managed resource.
    create_time str
    The creation time of the file system instance.
    id str
    The provider-assigned unique ID for this managed resource.
    createTime String
    The creation time of the file system instance.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing FileSystem Resource

    Get an existing FileSystem 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?: FileSystemState, opts?: CustomResourceOptions): FileSystem
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            create_time: Optional[str] = None,
            data_redundancy_type: Optional[str] = None,
            description: Optional[str] = None,
            file_system_name: Optional[str] = None,
            partition_number: Optional[int] = None,
            protocol_type: Optional[str] = None,
            provisioned_throughput_in_mi_bps: Optional[int] = None,
            space_capacity: Optional[int] = None,
            storage_set_name: Optional[str] = None,
            storage_type: Optional[str] = None,
            throughput_mode: Optional[str] = None,
            zone_id: Optional[str] = None) -> FileSystem
    func GetFileSystem(ctx *Context, name string, id IDInput, state *FileSystemState, opts ...ResourceOption) (*FileSystem, error)
    public static FileSystem Get(string name, Input<string> id, FileSystemState? state, CustomResourceOptions? opts = null)
    public static FileSystem get(String name, Output<String> id, FileSystemState 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:
    CreateTime string
    The creation time of the file system instance.
    DataRedundancyType string
    Redundancy mode of the file system. Value:

    • LRS (default): Local redundancy.
    • ZRS: Same-City redundancy. When ZRS is selected, zoneId is a string consisting of multiple zones that are expected to be redundant in the same city, for example, 'zoneId1,zoneId2 '.
    Description string
    The description of the file system resource. No more than 32 characters in length.
    FileSystemName string
    The file system name. The naming rules are as follows: The length is 6~64 characters. Globally unique and cannot be an empty string. English letters are supported and can contain numbers, underscores (_), and dashes (-).
    PartitionNumber int
    Save set sequence number, the user selects the content of the specified sequence number in the Save set.
    ProtocolType string
    The protocol type. Only HDFS(Hadoop Distributed File System) is supported.
    ProvisionedThroughputInMiBps int
    Provisioned throughput. This parameter is required when ThroughputMode is set to Provisioned. Unit: MB/s Value range: 1~5120.
    SpaceCapacity int
    File system capacity. When the actual amount of data stored reaches the capacity of the file system, data cannot be written. Unit: GiB.
    StorageSetName string
    Save set identity, used to select a user-specified save set.
    StorageType string
    The storage media type. Value: STANDARD (default): STANDARD PERFORMANCE: PERFORMANCE type.
    ThroughputMode string
    The throughput mode. Value: Standard (default): Standard throughput Provisioned: preset throughput.
    ZoneId string
    Zone Id, which is used to create file system resources to the specified zone.
    CreateTime string
    The creation time of the file system instance.
    DataRedundancyType string
    Redundancy mode of the file system. Value:

    • LRS (default): Local redundancy.
    • ZRS: Same-City redundancy. When ZRS is selected, zoneId is a string consisting of multiple zones that are expected to be redundant in the same city, for example, 'zoneId1,zoneId2 '.
    Description string
    The description of the file system resource. No more than 32 characters in length.
    FileSystemName string
    The file system name. The naming rules are as follows: The length is 6~64 characters. Globally unique and cannot be an empty string. English letters are supported and can contain numbers, underscores (_), and dashes (-).
    PartitionNumber int
    Save set sequence number, the user selects the content of the specified sequence number in the Save set.
    ProtocolType string
    The protocol type. Only HDFS(Hadoop Distributed File System) is supported.
    ProvisionedThroughputInMiBps int
    Provisioned throughput. This parameter is required when ThroughputMode is set to Provisioned. Unit: MB/s Value range: 1~5120.
    SpaceCapacity int
    File system capacity. When the actual amount of data stored reaches the capacity of the file system, data cannot be written. Unit: GiB.
    StorageSetName string
    Save set identity, used to select a user-specified save set.
    StorageType string
    The storage media type. Value: STANDARD (default): STANDARD PERFORMANCE: PERFORMANCE type.
    ThroughputMode string
    The throughput mode. Value: Standard (default): Standard throughput Provisioned: preset throughput.
    ZoneId string
    Zone Id, which is used to create file system resources to the specified zone.
    createTime String
    The creation time of the file system instance.
    dataRedundancyType String
    Redundancy mode of the file system. Value:

    • LRS (default): Local redundancy.
    • ZRS: Same-City redundancy. When ZRS is selected, zoneId is a string consisting of multiple zones that are expected to be redundant in the same city, for example, 'zoneId1,zoneId2 '.
    description String
    The description of the file system resource. No more than 32 characters in length.
    fileSystemName String
    The file system name. The naming rules are as follows: The length is 6~64 characters. Globally unique and cannot be an empty string. English letters are supported and can contain numbers, underscores (_), and dashes (-).
    partitionNumber Integer
    Save set sequence number, the user selects the content of the specified sequence number in the Save set.
    protocolType String
    The protocol type. Only HDFS(Hadoop Distributed File System) is supported.
    provisionedThroughputInMiBps Integer
    Provisioned throughput. This parameter is required when ThroughputMode is set to Provisioned. Unit: MB/s Value range: 1~5120.
    spaceCapacity Integer
    File system capacity. When the actual amount of data stored reaches the capacity of the file system, data cannot be written. Unit: GiB.
    storageSetName String
    Save set identity, used to select a user-specified save set.
    storageType String
    The storage media type. Value: STANDARD (default): STANDARD PERFORMANCE: PERFORMANCE type.
    throughputMode String
    The throughput mode. Value: Standard (default): Standard throughput Provisioned: preset throughput.
    zoneId String
    Zone Id, which is used to create file system resources to the specified zone.
    createTime string
    The creation time of the file system instance.
    dataRedundancyType string
    Redundancy mode of the file system. Value:

    • LRS (default): Local redundancy.
    • ZRS: Same-City redundancy. When ZRS is selected, zoneId is a string consisting of multiple zones that are expected to be redundant in the same city, for example, 'zoneId1,zoneId2 '.
    description string
    The description of the file system resource. No more than 32 characters in length.
    fileSystemName string
    The file system name. The naming rules are as follows: The length is 6~64 characters. Globally unique and cannot be an empty string. English letters are supported and can contain numbers, underscores (_), and dashes (-).
    partitionNumber number
    Save set sequence number, the user selects the content of the specified sequence number in the Save set.
    protocolType string
    The protocol type. Only HDFS(Hadoop Distributed File System) is supported.
    provisionedThroughputInMiBps number
    Provisioned throughput. This parameter is required when ThroughputMode is set to Provisioned. Unit: MB/s Value range: 1~5120.
    spaceCapacity number
    File system capacity. When the actual amount of data stored reaches the capacity of the file system, data cannot be written. Unit: GiB.
    storageSetName string
    Save set identity, used to select a user-specified save set.
    storageType string
    The storage media type. Value: STANDARD (default): STANDARD PERFORMANCE: PERFORMANCE type.
    throughputMode string
    The throughput mode. Value: Standard (default): Standard throughput Provisioned: preset throughput.
    zoneId string
    Zone Id, which is used to create file system resources to the specified zone.
    create_time str
    The creation time of the file system instance.
    data_redundancy_type str
    Redundancy mode of the file system. Value:

    • LRS (default): Local redundancy.
    • ZRS: Same-City redundancy. When ZRS is selected, zoneId is a string consisting of multiple zones that are expected to be redundant in the same city, for example, 'zoneId1,zoneId2 '.
    description str
    The description of the file system resource. No more than 32 characters in length.
    file_system_name str
    The file system name. The naming rules are as follows: The length is 6~64 characters. Globally unique and cannot be an empty string. English letters are supported and can contain numbers, underscores (_), and dashes (-).
    partition_number int
    Save set sequence number, the user selects the content of the specified sequence number in the Save set.
    protocol_type str
    The protocol type. Only HDFS(Hadoop Distributed File System) is supported.
    provisioned_throughput_in_mi_bps int
    Provisioned throughput. This parameter is required when ThroughputMode is set to Provisioned. Unit: MB/s Value range: 1~5120.
    space_capacity int
    File system capacity. When the actual amount of data stored reaches the capacity of the file system, data cannot be written. Unit: GiB.
    storage_set_name str
    Save set identity, used to select a user-specified save set.
    storage_type str
    The storage media type. Value: STANDARD (default): STANDARD PERFORMANCE: PERFORMANCE type.
    throughput_mode str
    The throughput mode. Value: Standard (default): Standard throughput Provisioned: preset throughput.
    zone_id str
    Zone Id, which is used to create file system resources to the specified zone.
    createTime String
    The creation time of the file system instance.
    dataRedundancyType String
    Redundancy mode of the file system. Value:

    • LRS (default): Local redundancy.
    • ZRS: Same-City redundancy. When ZRS is selected, zoneId is a string consisting of multiple zones that are expected to be redundant in the same city, for example, 'zoneId1,zoneId2 '.
    description String
    The description of the file system resource. No more than 32 characters in length.
    fileSystemName String
    The file system name. The naming rules are as follows: The length is 6~64 characters. Globally unique and cannot be an empty string. English letters are supported and can contain numbers, underscores (_), and dashes (-).
    partitionNumber Number
    Save set sequence number, the user selects the content of the specified sequence number in the Save set.
    protocolType String
    The protocol type. Only HDFS(Hadoop Distributed File System) is supported.
    provisionedThroughputInMiBps Number
    Provisioned throughput. This parameter is required when ThroughputMode is set to Provisioned. Unit: MB/s Value range: 1~5120.
    spaceCapacity Number
    File system capacity. When the actual amount of data stored reaches the capacity of the file system, data cannot be written. Unit: GiB.
    storageSetName String
    Save set identity, used to select a user-specified save set.
    storageType String
    The storage media type. Value: STANDARD (default): STANDARD PERFORMANCE: PERFORMANCE type.
    throughputMode String
    The throughput mode. Value: Standard (default): Standard throughput Provisioned: preset throughput.
    zoneId String
    Zone Id, which is used to create file system resources to the specified zone.

    Import

    DFS File System can be imported using the id, e.g.

    $ pulumi import alicloud:dfs/fileSystem:FileSystem example <id>
    

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

    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.57.0 published on Saturday, Jun 15, 2024 by Pulumi