1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. dfs
  5. FileSystem
Alibaba Cloud v3.51.0 published on Saturday, Mar 23, 2024 by Pulumi

alicloud.dfs.FileSystem

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.51.0 published on Saturday, Mar 23, 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";
    import * as random from "@pulumi/random";
    
    const config = new pulumi.Config();
    const name = config.get("name") || "terraform-example";
    const defaultRandomInteger = new random.RandomInteger("defaultRandomInteger", {
        min: 10000,
        max: 99999,
    });
    const defaultZones = alicloud.dfs.getZones({});
    const zoneId = defaultZones.then(defaultZones => defaultZones.zones?.[0]?.zoneId);
    const storageType = defaultZones.then(defaultZones => defaultZones.zones?.[0]?.options?.[0]?.storageType);
    const defaultFileSystem = new alicloud.dfs.FileSystem("defaultFileSystem", {
        protocolType: "HDFS",
        description: name,
        fileSystemName: pulumi.interpolate`${name}-${defaultRandomInteger.result}`,
        spaceCapacity: 1024,
        throughputMode: "Provisioned",
        provisionedThroughputInMiBps: 512,
        storageType: storageType,
        zoneId: zoneId,
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    import pulumi_random as random
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "terraform-example"
    default_random_integer = random.RandomInteger("defaultRandomInteger",
        min=10000,
        max=99999)
    default_zones = alicloud.dfs.get_zones()
    zone_id = default_zones.zones[0].zone_id
    storage_type = default_zones.zones[0].options[0].storage_type
    default_file_system = alicloud.dfs.FileSystem("defaultFileSystem",
        protocol_type="HDFS",
        description=name,
        file_system_name=default_random_integer.result.apply(lambda result: f"{name}-{result}"),
        space_capacity=1024,
        throughput_mode="Provisioned",
        provisioned_throughput_in_mi_bps=512,
        storage_type=storage_type,
        zone_id=zone_id)
    
    package main
    
    import (
    	"fmt"
    
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/dfs"
    	"github.com/pulumi/pulumi-random/sdk/v4/go/random"
    	"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 := "terraform-example"
    		if param := cfg.Get("name"); param != "" {
    			name = param
    		}
    		defaultRandomInteger, err := random.NewRandomInteger(ctx, "defaultRandomInteger", &random.RandomIntegerArgs{
    			Min: pulumi.Int(10000),
    			Max: pulumi.Int(99999),
    		})
    		if err != nil {
    			return err
    		}
    		defaultZones, err := dfs.GetZones(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		zoneId := defaultZones.Zones[0].ZoneId
    		storageType := defaultZones.Zones[0].Options[0].StorageType
    		_, err = dfs.NewFileSystem(ctx, "defaultFileSystem", &dfs.FileSystemArgs{
    			ProtocolType: pulumi.String("HDFS"),
    			Description:  pulumi.String(name),
    			FileSystemName: defaultRandomInteger.Result.ApplyT(func(result int) (string, error) {
    				return fmt.Sprintf("%v-%v", name, result), nil
    			}).(pulumi.StringOutput),
    			SpaceCapacity:                pulumi.Int(1024),
    			ThroughputMode:               pulumi.String("Provisioned"),
    			ProvisionedThroughputInMiBps: pulumi.Int(512),
    			StorageType:                  pulumi.String(storageType),
    			ZoneId:                       pulumi.String(zoneId),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    using Random = Pulumi.Random;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var name = config.Get("name") ?? "terraform-example";
        var defaultRandomInteger = new Random.RandomInteger("defaultRandomInteger", new()
        {
            Min = 10000,
            Max = 99999,
        });
    
        var defaultZones = AliCloud.Dfs.GetZones.Invoke();
    
        var zoneId = defaultZones.Apply(getZonesResult => getZonesResult.Zones[0]?.ZoneId);
    
        var storageType = defaultZones.Apply(getZonesResult => getZonesResult.Zones[0]?.Options[0]?.StorageType);
    
        var defaultFileSystem = new AliCloud.Dfs.FileSystem("defaultFileSystem", new()
        {
            ProtocolType = "HDFS",
            Description = name,
            FileSystemName = defaultRandomInteger.Result.Apply(result => $"{name}-{result}"),
            SpaceCapacity = 1024,
            ThroughputMode = "Provisioned",
            ProvisionedThroughputInMiBps = 512,
            StorageType = storageType,
            ZoneId = zoneId,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.random.RandomInteger;
    import com.pulumi.random.RandomIntegerArgs;
    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("terraform-example");
            var defaultRandomInteger = new RandomInteger("defaultRandomInteger", RandomIntegerArgs.builder()        
                .min(10000)
                .max(99999)
                .build());
    
            final var defaultZones = DfsFunctions.getZones();
    
            final var zoneId = defaultZones.applyValue(getZonesResult -> getZonesResult.zones()[0].zoneId());
    
            final var storageType = defaultZones.applyValue(getZonesResult -> getZonesResult.zones()[0].options()[0].storageType());
    
            var defaultFileSystem = new FileSystem("defaultFileSystem", FileSystemArgs.builder()        
                .protocolType("HDFS")
                .description(name)
                .fileSystemName(defaultRandomInteger.result().applyValue(result -> String.format("%s-%s", name,result)))
                .spaceCapacity("1024")
                .throughputMode("Provisioned")
                .provisionedThroughputInMiBps("512")
                .storageType(storageType)
                .zoneId(zoneId)
                .build());
    
        }
    }
    
    configuration:
      name:
        type: string
        default: terraform-example
    resources:
      defaultRandomInteger:
        type: random:RandomInteger
        properties:
          min: 10000
          max: 99999
      defaultFileSystem:
        type: alicloud:dfs:FileSystem
        properties:
          protocolType: HDFS
          description: ${name}
          fileSystemName: ${name}-${defaultRandomInteger.result}
          spaceCapacity: '1024'
          throughputMode: Provisioned
          provisionedThroughputInMiBps: '512'
          storageType: ${storageType}
          zoneId: ${zoneId}
    variables:
      defaultZones:
        fn::invoke:
          Function: alicloud:dfs:getZones
          Arguments: {}
      zoneId: ${defaultZones.zones[0].zoneId}
      storageType: ${defaultZones.zones[0].options[0].storageType}
    

    Create FileSystem Resource

    new FileSystem(name: string, args: FileSystemArgs, opts?: CustomResourceOptions);
    @overload
    def FileSystem(resource_name: str,
                   opts: Optional[ResourceOptions] = 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)
    @overload
    def FileSystem(resource_name: str,
                   args: FileSystemArgs,
                   opts: Optional[ResourceOptions] = 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.
    
    
    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.

    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>
    

    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.51.0 published on Saturday, Mar 23, 2024 by Pulumi