alicloud.dfs.FileSystem
Explore with Pulumi AI
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,
data_redundancy_type: Optional[str] = None,
dedicated_cluster_id: 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,
zone_id: 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.
Constructor 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",
DataRedundancyType = "string",
DedicatedClusterId = "string",
Description = "string",
PartitionNumber = 0,
ProvisionedThroughputInMiBps = 0,
StorageSetName = "string",
ThroughputMode = "string",
ZoneId = "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"),
DataRedundancyType: pulumi.String("string"),
DedicatedClusterId: pulumi.String("string"),
Description: pulumi.String("string"),
PartitionNumber: pulumi.Int(0),
ProvisionedThroughputInMiBps: pulumi.Int(0),
StorageSetName: pulumi.String("string"),
ThroughputMode: pulumi.String("string"),
ZoneId: pulumi.String("string"),
})
var fileSystemResource = new FileSystem("fileSystemResource", FileSystemArgs.builder()
.fileSystemName("string")
.protocolType("string")
.spaceCapacity(0)
.storageType("string")
.dataRedundancyType("string")
.dedicatedClusterId("string")
.description("string")
.partitionNumber(0)
.provisionedThroughputInMiBps(0)
.storageSetName("string")
.throughputMode("string")
.zoneId("string")
.build());
file_system_resource = alicloud.dfs.FileSystem("fileSystemResource",
file_system_name="string",
protocol_type="string",
space_capacity=0,
storage_type="string",
data_redundancy_type="string",
dedicated_cluster_id="string",
description="string",
partition_number=0,
provisioned_throughput_in_mi_bps=0,
storage_set_name="string",
throughput_mode="string",
zone_id="string")
const fileSystemResource = new alicloud.dfs.FileSystem("fileSystemResource", {
fileSystemName: "string",
protocolType: "string",
spaceCapacity: 0,
storageType: "string",
dataRedundancyType: "string",
dedicatedClusterId: "string",
description: "string",
partitionNumber: 0,
provisionedThroughputInMiBps: 0,
storageSetName: "string",
throughputMode: "string",
zoneId: "string",
});
type: alicloud:dfs:FileSystem
properties:
dataRedundancyType: string
dedicatedClusterId: 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:
- File
System stringName - 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 string - 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 string - The storage media type. Value: STANDARD (default): STANDARD PERFORMANCE: PERFORMANCE type.
- Data
Redundancy stringType - 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 '.
- Dedicated
Cluster stringId - Description string
- 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 intIn Mi Bps - Provisioned throughput. This parameter is required when ThroughputMode is set to Provisioned. Unit: MB/s Value range: 1~5120.
- Storage
Set stringName - Save set identity, used to select a user-specified save set.
- Throughput
Mode string - The throughput mode. Value: Standard (default): Standard throughput Provisioned: preset throughput.
- Zone
Id string - Zone Id, which is used to create file system resources to the specified zone.
- File
System stringName - 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 string - 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 string - The storage media type. Value: STANDARD (default): STANDARD PERFORMANCE: PERFORMANCE type.
- Data
Redundancy stringType - 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 '.
- Dedicated
Cluster stringId - Description string
- 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 intIn Mi Bps - Provisioned throughput. This parameter is required when ThroughputMode is set to Provisioned. Unit: MB/s Value range: 1~5120.
- Storage
Set stringName - Save set identity, used to select a user-specified save set.
- Throughput
Mode string - The throughput mode. Value: Standard (default): Standard throughput Provisioned: preset throughput.
- Zone
Id string - Zone Id, which is used to create file system resources to the specified zone.
- file
System StringName - 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 String - The protocol type. Only HDFS(Hadoop Distributed File System) is supported.
- space
Capacity Integer - 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 String - The storage media type. Value: STANDARD (default): STANDARD PERFORMANCE: PERFORMANCE type.
- data
Redundancy StringType - 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 '.
- dedicated
Cluster StringId - description String
- The description of the file system resource. No more than 32 characters in length.
- partition
Number Integer - Save set sequence number, the user selects the content of the specified sequence number in the Save set.
- provisioned
Throughput IntegerIn Mi Bps - Provisioned throughput. This parameter is required when ThroughputMode is set to Provisioned. Unit: MB/s Value range: 1~5120.
- storage
Set StringName - Save set identity, used to select a user-specified save set.
- throughput
Mode String - The throughput mode. Value: Standard (default): Standard throughput Provisioned: preset throughput.
- zone
Id String - Zone Id, which is used to create file system resources to the specified zone.
- file
System stringName - 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 string - The protocol type. Only HDFS(Hadoop Distributed File System) is supported.
- space
Capacity number - 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 string - The storage media type. Value: STANDARD (default): STANDARD PERFORMANCE: PERFORMANCE type.
- data
Redundancy stringType - 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 '.
- dedicated
Cluster stringId - description string
- The description of the file system resource. No more than 32 characters in length.
- partition
Number number - Save set sequence number, the user selects the content of the specified sequence number in the Save set.
- provisioned
Throughput numberIn Mi Bps - Provisioned throughput. This parameter is required when ThroughputMode is set to Provisioned. Unit: MB/s Value range: 1~5120.
- storage
Set stringName - Save set identity, used to select a user-specified save set.
- throughput
Mode string - The throughput mode. Value: Standard (default): Standard throughput Provisioned: preset throughput.
- zone
Id string - Zone Id, which is used to create file system resources to the specified zone.
- file_
system_ strname - 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.
- data_
redundancy_ strtype - 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 '.
- dedicated_
cluster_ strid - 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_ intin_ mi_ bps - Provisioned throughput. This parameter is required when ThroughputMode is set to Provisioned. Unit: MB/s Value range: 1~5120.
- storage_
set_ strname - 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.
- zone_
id str - Zone Id, which is used to create file system resources to the specified zone.
- file
System StringName - 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 String - The protocol type. Only HDFS(Hadoop Distributed File System) is supported.
- space
Capacity Number - 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 String - The storage media type. Value: STANDARD (default): STANDARD PERFORMANCE: PERFORMANCE type.
- data
Redundancy StringType - 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 '.
- dedicated
Cluster StringId - description String
- The description of the file system resource. No more than 32 characters in length.
- partition
Number Number - Save set sequence number, the user selects the content of the specified sequence number in the Save set.
- provisioned
Throughput NumberIn Mi Bps - Provisioned throughput. This parameter is required when ThroughputMode is set to Provisioned. Unit: MB/s Value range: 1~5120.
- storage
Set StringName - Save set identity, used to select a user-specified save set.
- throughput
Mode String - The throughput mode. Value: Standard (default): Standard throughput Provisioned: preset throughput.
- zone
Id String - Zone Id, which is used to create file system resources to the specified zone.
Outputs
All input properties are implicitly available as output properties. Additionally, the FileSystem resource produces the following output properties:
- Create
Time string - The creation time of the file system instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Create
Time string - The creation time of the file system instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- create
Time String - The creation time of the file system instance.
- id String
- The provider-assigned unique ID for this managed resource.
- create
Time 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.
- create
Time 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,
dedicated_cluster_id: 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.
- Create
Time string - The creation time of the file system instance.
- Data
Redundancy stringType - 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 '.
- Dedicated
Cluster stringId - Description string
- The description of the file system resource. No more than 32 characters in length.
- File
System stringName - 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 string - The protocol type. Only HDFS(Hadoop Distributed File System) is supported.
- Provisioned
Throughput intIn Mi Bps - 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 stringName - Save set identity, used to select a user-specified save set.
- Storage
Type string - The storage media type. Value: STANDARD (default): STANDARD PERFORMANCE: PERFORMANCE type.
- Throughput
Mode string - The throughput mode. Value: Standard (default): Standard throughput Provisioned: preset throughput.
- Zone
Id string - Zone Id, which is used to create file system resources to the specified zone.
- Create
Time string - The creation time of the file system instance.
- Data
Redundancy stringType - 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 '.
- Dedicated
Cluster stringId - Description string
- The description of the file system resource. No more than 32 characters in length.
- File
System stringName - 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 string - The protocol type. Only HDFS(Hadoop Distributed File System) is supported.
- Provisioned
Throughput intIn Mi Bps - 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 stringName - Save set identity, used to select a user-specified save set.
- Storage
Type string - The storage media type. Value: STANDARD (default): STANDARD PERFORMANCE: PERFORMANCE type.
- Throughput
Mode string - The throughput mode. Value: Standard (default): Standard throughput Provisioned: preset throughput.
- Zone
Id string - Zone Id, which is used to create file system resources to the specified zone.
- create
Time String - The creation time of the file system instance.
- data
Redundancy StringType - 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 '.
- dedicated
Cluster StringId - description String
- The description of the file system resource. No more than 32 characters in length.
- file
System StringName - 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 Integer - Save set sequence number, the user selects the content of the specified sequence number in the Save set.
- protocol
Type String - The protocol type. Only HDFS(Hadoop Distributed File System) is supported.
- provisioned
Throughput IntegerIn Mi Bps - Provisioned throughput. This parameter is required when ThroughputMode is set to Provisioned. Unit: MB/s Value range: 1~5120.
- space
Capacity Integer - 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 StringName - Save set identity, used to select a user-specified save set.
- storage
Type String - The storage media type. Value: STANDARD (default): STANDARD PERFORMANCE: PERFORMANCE type.
- throughput
Mode String - The throughput mode. Value: Standard (default): Standard throughput Provisioned: preset throughput.
- zone
Id String - Zone Id, which is used to create file system resources to the specified zone.
- create
Time string - The creation time of the file system instance.
- data
Redundancy stringType - 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 '.
- dedicated
Cluster stringId - description string
- The description of the file system resource. No more than 32 characters in length.
- file
System stringName - 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 number - Save set sequence number, the user selects the content of the specified sequence number in the Save set.
- protocol
Type string - The protocol type. Only HDFS(Hadoop Distributed File System) is supported.
- provisioned
Throughput numberIn Mi Bps - Provisioned throughput. This parameter is required when ThroughputMode is set to Provisioned. Unit: MB/s Value range: 1~5120.
- space
Capacity number - 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 stringName - Save set identity, used to select a user-specified save set.
- storage
Type string - The storage media type. Value: STANDARD (default): STANDARD PERFORMANCE: PERFORMANCE type.
- throughput
Mode string - The throughput mode. Value: Standard (default): Standard throughput Provisioned: preset throughput.
- zone
Id 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_ strtype - 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 '.
- dedicated_
cluster_ strid - description str
- The description of the file system resource. No more than 32 characters in length.
- file_
system_ strname - 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_ intin_ mi_ bps - 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_ strname - 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.
- create
Time String - The creation time of the file system instance.
- data
Redundancy StringType - 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 '.
- dedicated
Cluster StringId - description String
- The description of the file system resource. No more than 32 characters in length.
- file
System StringName - 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 Number - Save set sequence number, the user selects the content of the specified sequence number in the Save set.
- protocol
Type String - The protocol type. Only HDFS(Hadoop Distributed File System) is supported.
- provisioned
Throughput NumberIn Mi Bps - Provisioned throughput. This parameter is required when ThroughputMode is set to Provisioned. Unit: MB/s Value range: 1~5120.
- space
Capacity Number - 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 StringName - Save set identity, used to select a user-specified save set.
- storage
Type String - The storage media type. Value: STANDARD (default): STANDARD PERFORMANCE: PERFORMANCE type.
- throughput
Mode String - The throughput mode. Value: Standard (default): Standard throughput Provisioned: preset throughput.
- zone
Id 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.