volcengine.nas.FileSystem
Explore with Pulumi AI
Provides a resource to manage nas file system
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
import * as volcengine from "@volcengine/pulumi";
const fooZones = volcengine.nas.getZones({});
// create nas file system
const fooFileSystem = new volcengine.nas.FileSystem("fooFileSystem", {
fileSystemName: "acc-test-fs",
description: "acc-test",
zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
capacity: 103,
projectName: "default",
tags: [{
key: "k1",
value: "v1",
}],
});
// create vpc
const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
vpcName: "acc-test-vpc",
cidrBlock: "172.16.0.0/16",
});
// create subnet
const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
subnetName: "acc-test-subnet",
cidrBlock: "172.16.0.0/24",
zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
vpcId: fooVpc.id,
});
// create nas permission group
const fooPermissionGroup = new volcengine.nas.PermissionGroup("fooPermissionGroup", {
permissionGroupName: "acc-test",
description: "acctest",
permissionRules: [
{
cidrIp: "*",
rwMode: "RW",
useMode: "All_squash",
},
{
cidrIp: "192.168.0.0",
rwMode: "RO",
useMode: "All_squash",
},
],
});
// create nas mount point
const fooMountPoint = new volcengine.nas.MountPoint("fooMountPoint", {
fileSystemId: fooFileSystem.id,
mountPointName: "acc-test",
permissionGroupId: fooPermissionGroup.id,
subnetId: fooSubnet.id,
});
import pulumi
import pulumi_volcengine as volcengine
foo_zones = volcengine.nas.get_zones()
# create nas file system
foo_file_system = volcengine.nas.FileSystem("fooFileSystem",
file_system_name="acc-test-fs",
description="acc-test",
zone_id=foo_zones.zones[0].id,
capacity=103,
project_name="default",
tags=[volcengine.nas.FileSystemTagArgs(
key="k1",
value="v1",
)])
# create vpc
foo_vpc = volcengine.vpc.Vpc("fooVpc",
vpc_name="acc-test-vpc",
cidr_block="172.16.0.0/16")
# create subnet
foo_subnet = volcengine.vpc.Subnet("fooSubnet",
subnet_name="acc-test-subnet",
cidr_block="172.16.0.0/24",
zone_id=foo_zones.zones[0].id,
vpc_id=foo_vpc.id)
# create nas permission group
foo_permission_group = volcengine.nas.PermissionGroup("fooPermissionGroup",
permission_group_name="acc-test",
description="acctest",
permission_rules=[
volcengine.nas.PermissionGroupPermissionRuleArgs(
cidr_ip="*",
rw_mode="RW",
use_mode="All_squash",
),
volcengine.nas.PermissionGroupPermissionRuleArgs(
cidr_ip="192.168.0.0",
rw_mode="RO",
use_mode="All_squash",
),
])
# create nas mount point
foo_mount_point = volcengine.nas.MountPoint("fooMountPoint",
file_system_id=foo_file_system.id,
mount_point_name="acc-test",
permission_group_id=foo_permission_group.id,
subnet_id=foo_subnet.id)
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/nas"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
fooZones, err := nas.GetZones(ctx, nil, nil)
if err != nil {
return err
}
// create nas file system
fooFileSystem, err := nas.NewFileSystem(ctx, "fooFileSystem", &nas.FileSystemArgs{
FileSystemName: pulumi.String("acc-test-fs"),
Description: pulumi.String("acc-test"),
ZoneId: pulumi.String(fooZones.Zones[0].Id),
Capacity: pulumi.Int(103),
ProjectName: pulumi.String("default"),
Tags: nas.FileSystemTagArray{
&nas.FileSystemTagArgs{
Key: pulumi.String("k1"),
Value: pulumi.String("v1"),
},
},
})
if err != nil {
return err
}
// create vpc
fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
VpcName: pulumi.String("acc-test-vpc"),
CidrBlock: pulumi.String("172.16.0.0/16"),
})
if err != nil {
return err
}
// create subnet
fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
SubnetName: pulumi.String("acc-test-subnet"),
CidrBlock: pulumi.String("172.16.0.0/24"),
ZoneId: pulumi.String(fooZones.Zones[0].Id),
VpcId: fooVpc.ID(),
})
if err != nil {
return err
}
// create nas permission group
fooPermissionGroup, err := nas.NewPermissionGroup(ctx, "fooPermissionGroup", &nas.PermissionGroupArgs{
PermissionGroupName: pulumi.String("acc-test"),
Description: pulumi.String("acctest"),
PermissionRules: nas.PermissionGroupPermissionRuleArray{
&nas.PermissionGroupPermissionRuleArgs{
CidrIp: pulumi.String("*"),
RwMode: pulumi.String("RW"),
UseMode: pulumi.String("All_squash"),
},
&nas.PermissionGroupPermissionRuleArgs{
CidrIp: pulumi.String("192.168.0.0"),
RwMode: pulumi.String("RO"),
UseMode: pulumi.String("All_squash"),
},
},
})
if err != nil {
return err
}
// create nas mount point
_, err = nas.NewMountPoint(ctx, "fooMountPoint", &nas.MountPointArgs{
FileSystemId: fooFileSystem.ID(),
MountPointName: pulumi.String("acc-test"),
PermissionGroupId: fooPermissionGroup.ID(),
SubnetId: fooSubnet.ID(),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var fooZones = Volcengine.Nas.GetZones.Invoke();
// create nas file system
var fooFileSystem = new Volcengine.Nas.FileSystem("fooFileSystem", new()
{
FileSystemName = "acc-test-fs",
Description = "acc-test",
ZoneId = fooZones.Apply(getZonesResult => getZonesResult.Zones[0]?.Id),
Capacity = 103,
ProjectName = "default",
Tags = new[]
{
new Volcengine.Nas.Inputs.FileSystemTagArgs
{
Key = "k1",
Value = "v1",
},
},
});
// create vpc
var fooVpc = new Volcengine.Vpc.Vpc("fooVpc", new()
{
VpcName = "acc-test-vpc",
CidrBlock = "172.16.0.0/16",
});
// create subnet
var fooSubnet = new Volcengine.Vpc.Subnet("fooSubnet", new()
{
SubnetName = "acc-test-subnet",
CidrBlock = "172.16.0.0/24",
ZoneId = fooZones.Apply(getZonesResult => getZonesResult.Zones[0]?.Id),
VpcId = fooVpc.Id,
});
// create nas permission group
var fooPermissionGroup = new Volcengine.Nas.PermissionGroup("fooPermissionGroup", new()
{
PermissionGroupName = "acc-test",
Description = "acctest",
PermissionRules = new[]
{
new Volcengine.Nas.Inputs.PermissionGroupPermissionRuleArgs
{
CidrIp = "*",
RwMode = "RW",
UseMode = "All_squash",
},
new Volcengine.Nas.Inputs.PermissionGroupPermissionRuleArgs
{
CidrIp = "192.168.0.0",
RwMode = "RO",
UseMode = "All_squash",
},
},
});
// create nas mount point
var fooMountPoint = new Volcengine.Nas.MountPoint("fooMountPoint", new()
{
FileSystemId = fooFileSystem.Id,
MountPointName = "acc-test",
PermissionGroupId = fooPermissionGroup.Id,
SubnetId = fooSubnet.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.nas.NasFunctions;
import com.pulumi.volcengine.nas.inputs.GetZonesArgs;
import com.pulumi.volcengine.nas.FileSystem;
import com.pulumi.volcengine.nas.FileSystemArgs;
import com.pulumi.volcengine.nas.inputs.FileSystemTagArgs;
import com.pulumi.volcengine.vpc.Vpc;
import com.pulumi.volcengine.vpc.VpcArgs;
import com.pulumi.volcengine.vpc.Subnet;
import com.pulumi.volcengine.vpc.SubnetArgs;
import com.pulumi.volcengine.nas.PermissionGroup;
import com.pulumi.volcengine.nas.PermissionGroupArgs;
import com.pulumi.volcengine.nas.inputs.PermissionGroupPermissionRuleArgs;
import com.pulumi.volcengine.nas.MountPoint;
import com.pulumi.volcengine.nas.MountPointArgs;
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 fooZones = NasFunctions.getZones();
// create nas file system
var fooFileSystem = new FileSystem("fooFileSystem", FileSystemArgs.builder()
.fileSystemName("acc-test-fs")
.description("acc-test")
.zoneId(fooZones.applyValue(getZonesResult -> getZonesResult.zones()[0].id()))
.capacity(103)
.projectName("default")
.tags(FileSystemTagArgs.builder()
.key("k1")
.value("v1")
.build())
.build());
// create vpc
var fooVpc = new Vpc("fooVpc", VpcArgs.builder()
.vpcName("acc-test-vpc")
.cidrBlock("172.16.0.0/16")
.build());
// create subnet
var fooSubnet = new Subnet("fooSubnet", SubnetArgs.builder()
.subnetName("acc-test-subnet")
.cidrBlock("172.16.0.0/24")
.zoneId(fooZones.applyValue(getZonesResult -> getZonesResult.zones()[0].id()))
.vpcId(fooVpc.id())
.build());
// create nas permission group
var fooPermissionGroup = new PermissionGroup("fooPermissionGroup", PermissionGroupArgs.builder()
.permissionGroupName("acc-test")
.description("acctest")
.permissionRules(
PermissionGroupPermissionRuleArgs.builder()
.cidrIp("*")
.rwMode("RW")
.useMode("All_squash")
.build(),
PermissionGroupPermissionRuleArgs.builder()
.cidrIp("192.168.0.0")
.rwMode("RO")
.useMode("All_squash")
.build())
.build());
// create nas mount point
var fooMountPoint = new MountPoint("fooMountPoint", MountPointArgs.builder()
.fileSystemId(fooFileSystem.id())
.mountPointName("acc-test")
.permissionGroupId(fooPermissionGroup.id())
.subnetId(fooSubnet.id())
.build());
}
}
resources:
# create nas file system
fooFileSystem:
type: volcengine:nas:FileSystem
properties:
fileSystemName: acc-test-fs
description: acc-test
zoneId: ${fooZones.zones[0].id}
capacity: 103
projectName: default
tags:
- key: k1
value: v1
# create vpc
fooVpc:
type: volcengine:vpc:Vpc
properties:
vpcName: acc-test-vpc
cidrBlock: 172.16.0.0/16
# create subnet
fooSubnet:
type: volcengine:vpc:Subnet
properties:
subnetName: acc-test-subnet
cidrBlock: 172.16.0.0/24
zoneId: ${fooZones.zones[0].id}
vpcId: ${fooVpc.id}
# create nas permission group
fooPermissionGroup:
type: volcengine:nas:PermissionGroup
properties:
permissionGroupName: acc-test
description: acctest
permissionRules:
- cidrIp: '*'
rwMode: RW
useMode: All_squash
- cidrIp: 192.168.0.0
rwMode: RO
useMode: All_squash
# create nas mount point
fooMountPoint:
type: volcengine:nas:MountPoint
properties:
fileSystemId: ${fooFileSystem.id}
mountPointName: acc-test
permissionGroupId: ${fooPermissionGroup.id}
subnetId: ${fooSubnet.id}
variables:
fooZones:
fn::invoke:
Function: volcengine:nas: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,
capacity: Optional[int] = None,
file_system_name: Optional[str] = None,
zone_id: Optional[str] = None,
description: Optional[str] = None,
project_name: Optional[str] = None,
snapshot_id: Optional[str] = None,
tags: Optional[Sequence[FileSystemTagArgs]] = 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: volcengine:nas: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 volcengineFileSystemResource = new Volcengine.Nas.FileSystem("volcengineFileSystemResource", new()
{
Capacity = 0,
FileSystemName = "string",
ZoneId = "string",
Description = "string",
ProjectName = "string",
SnapshotId = "string",
Tags = new[]
{
new Volcengine.Nas.Inputs.FileSystemTagArgs
{
Key = "string",
Value = "string",
},
},
});
example, err := nas.NewFileSystem(ctx, "volcengineFileSystemResource", &nas.FileSystemArgs{
Capacity: pulumi.Int(0),
FileSystemName: pulumi.String("string"),
ZoneId: pulumi.String("string"),
Description: pulumi.String("string"),
ProjectName: pulumi.String("string"),
SnapshotId: pulumi.String("string"),
Tags: nas.FileSystemTagArray{
&nas.FileSystemTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
})
var volcengineFileSystemResource = new com.pulumi.volcengine.nas.FileSystem("volcengineFileSystemResource", com.pulumi.volcengine.nas.FileSystemArgs.builder()
.capacity(0)
.fileSystemName("string")
.zoneId("string")
.description("string")
.projectName("string")
.snapshotId("string")
.tags(FileSystemTagArgs.builder()
.key("string")
.value("string")
.build())
.build());
volcengine_file_system_resource = volcengine.nas.FileSystem("volcengineFileSystemResource",
capacity=0,
file_system_name="string",
zone_id="string",
description="string",
project_name="string",
snapshot_id="string",
tags=[{
"key": "string",
"value": "string",
}])
const volcengineFileSystemResource = new volcengine.nas.FileSystem("volcengineFileSystemResource", {
capacity: 0,
fileSystemName: "string",
zoneId: "string",
description: "string",
projectName: "string",
snapshotId: "string",
tags: [{
key: "string",
value: "string",
}],
});
type: volcengine:nas:FileSystem
properties:
capacity: 0
description: string
fileSystemName: string
projectName: string
snapshotId: string
tags:
- key: string
value: 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The FileSystem resource accepts the following input properties:
- Capacity int
- The capacity of the nas file system. Unit: GiB.
- File
System stringName - The name of the nas file system.
- Zone
Id string - The zone id of the nas file system.
- Description string
- The description of the nas file system.
- Project
Name string - The project name of the nas file system.
- Snapshot
Id string - The snapshot id when creating the nas file system. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- List<File
System Tag> - Tags.
- Capacity int
- The capacity of the nas file system. Unit: GiB.
- File
System stringName - The name of the nas file system.
- Zone
Id string - The zone id of the nas file system.
- Description string
- The description of the nas file system.
- Project
Name string - The project name of the nas file system.
- Snapshot
Id string - The snapshot id when creating the nas file system. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- []File
System Tag Args - Tags.
- capacity Integer
- The capacity of the nas file system. Unit: GiB.
- file
System StringName - The name of the nas file system.
- zone
Id String - The zone id of the nas file system.
- description String
- The description of the nas file system.
- project
Name String - The project name of the nas file system.
- snapshot
Id String - The snapshot id when creating the nas file system. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- List<File
System Tag> - Tags.
- capacity number
- The capacity of the nas file system. Unit: GiB.
- file
System stringName - The name of the nas file system.
- zone
Id string - The zone id of the nas file system.
- description string
- The description of the nas file system.
- project
Name string - The project name of the nas file system.
- snapshot
Id string - The snapshot id when creating the nas file system. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- File
System Tag[] - Tags.
- capacity int
- The capacity of the nas file system. Unit: GiB.
- file_
system_ strname - The name of the nas file system.
- zone_
id str - The zone id of the nas file system.
- description str
- The description of the nas file system.
- project_
name str - The project name of the nas file system.
- snapshot_
id str - The snapshot id when creating the nas file system. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- Sequence[File
System Tag Args] - Tags.
- capacity Number
- The capacity of the nas file system. Unit: GiB.
- file
System StringName - The name of the nas file system.
- zone
Id String - The zone id of the nas file system.
- description String
- The description of the nas file system.
- project
Name String - The project name of the nas file system.
- snapshot
Id String - The snapshot id when creating the nas file system. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- List<Property Map>
- Tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the FileSystem resource produces the following output properties:
- Charge
Type string - The charge type of the nas file system.
- Create
Time string - The create time of the nas file system.
- File
System stringType - The type of the nas file system.
- Id string
- The provider-assigned unique ID for this managed resource.
- Protocol
Type string - The protocol type of the nas file system.
- Region
Id string - The region id of the nas file system.
- Snapshot
Count int - The snapshot count of the nas file system.
- Status string
- The status of the nas file system.
- Storage
Type string - The storage type of the nas file system.
- Update
Time string - The update time of the nas file system.
- Version string
- The version of the nas file system.
- Zone
Name string - The zone name of the nas file system.
- Charge
Type string - The charge type of the nas file system.
- Create
Time string - The create time of the nas file system.
- File
System stringType - The type of the nas file system.
- Id string
- The provider-assigned unique ID for this managed resource.
- Protocol
Type string - The protocol type of the nas file system.
- Region
Id string - The region id of the nas file system.
- Snapshot
Count int - The snapshot count of the nas file system.
- Status string
- The status of the nas file system.
- Storage
Type string - The storage type of the nas file system.
- Update
Time string - The update time of the nas file system.
- Version string
- The version of the nas file system.
- Zone
Name string - The zone name of the nas file system.
- charge
Type String - The charge type of the nas file system.
- create
Time String - The create time of the nas file system.
- file
System StringType - The type of the nas file system.
- id String
- The provider-assigned unique ID for this managed resource.
- protocol
Type String - The protocol type of the nas file system.
- region
Id String - The region id of the nas file system.
- snapshot
Count Integer - The snapshot count of the nas file system.
- status String
- The status of the nas file system.
- storage
Type String - The storage type of the nas file system.
- update
Time String - The update time of the nas file system.
- version String
- The version of the nas file system.
- zone
Name String - The zone name of the nas file system.
- charge
Type string - The charge type of the nas file system.
- create
Time string - The create time of the nas file system.
- file
System stringType - The type of the nas file system.
- id string
- The provider-assigned unique ID for this managed resource.
- protocol
Type string - The protocol type of the nas file system.
- region
Id string - The region id of the nas file system.
- snapshot
Count number - The snapshot count of the nas file system.
- status string
- The status of the nas file system.
- storage
Type string - The storage type of the nas file system.
- update
Time string - The update time of the nas file system.
- version string
- The version of the nas file system.
- zone
Name string - The zone name of the nas file system.
- charge_
type str - The charge type of the nas file system.
- create_
time str - The create time of the nas file system.
- file_
system_ strtype - The type of the nas file system.
- id str
- The provider-assigned unique ID for this managed resource.
- protocol_
type str - The protocol type of the nas file system.
- region_
id str - The region id of the nas file system.
- snapshot_
count int - The snapshot count of the nas file system.
- status str
- The status of the nas file system.
- storage_
type str - The storage type of the nas file system.
- update_
time str - The update time of the nas file system.
- version str
- The version of the nas file system.
- zone_
name str - The zone name of the nas file system.
- charge
Type String - The charge type of the nas file system.
- create
Time String - The create time of the nas file system.
- file
System StringType - The type of the nas file system.
- id String
- The provider-assigned unique ID for this managed resource.
- protocol
Type String - The protocol type of the nas file system.
- region
Id String - The region id of the nas file system.
- snapshot
Count Number - The snapshot count of the nas file system.
- status String
- The status of the nas file system.
- storage
Type String - The storage type of the nas file system.
- update
Time String - The update time of the nas file system.
- version String
- The version of the nas file system.
- zone
Name String - The zone name of the nas file system.
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,
capacity: Optional[int] = None,
charge_type: Optional[str] = None,
create_time: Optional[str] = None,
description: Optional[str] = None,
file_system_name: Optional[str] = None,
file_system_type: Optional[str] = None,
project_name: Optional[str] = None,
protocol_type: Optional[str] = None,
region_id: Optional[str] = None,
snapshot_count: Optional[int] = None,
snapshot_id: Optional[str] = None,
status: Optional[str] = None,
storage_type: Optional[str] = None,
tags: Optional[Sequence[FileSystemTagArgs]] = None,
update_time: Optional[str] = None,
version: Optional[str] = None,
zone_id: Optional[str] = None,
zone_name: 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)
resources: _: type: volcengine:nas:FileSystem get: id: ${id}
- 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.
- Capacity int
- The capacity of the nas file system. Unit: GiB.
- Charge
Type string - The charge type of the nas file system.
- Create
Time string - The create time of the nas file system.
- Description string
- The description of the nas file system.
- File
System stringName - The name of the nas file system.
- File
System stringType - The type of the nas file system.
- Project
Name string - The project name of the nas file system.
- Protocol
Type string - The protocol type of the nas file system.
- Region
Id string - The region id of the nas file system.
- Snapshot
Count int - The snapshot count of the nas file system.
- Snapshot
Id string - The snapshot id when creating the nas file system. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- Status string
- The status of the nas file system.
- Storage
Type string - The storage type of the nas file system.
- List<File
System Tag> - Tags.
- Update
Time string - The update time of the nas file system.
- Version string
- The version of the nas file system.
- Zone
Id string - The zone id of the nas file system.
- Zone
Name string - The zone name of the nas file system.
- Capacity int
- The capacity of the nas file system. Unit: GiB.
- Charge
Type string - The charge type of the nas file system.
- Create
Time string - The create time of the nas file system.
- Description string
- The description of the nas file system.
- File
System stringName - The name of the nas file system.
- File
System stringType - The type of the nas file system.
- Project
Name string - The project name of the nas file system.
- Protocol
Type string - The protocol type of the nas file system.
- Region
Id string - The region id of the nas file system.
- Snapshot
Count int - The snapshot count of the nas file system.
- Snapshot
Id string - The snapshot id when creating the nas file system. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- Status string
- The status of the nas file system.
- Storage
Type string - The storage type of the nas file system.
- []File
System Tag Args - Tags.
- Update
Time string - The update time of the nas file system.
- Version string
- The version of the nas file system.
- Zone
Id string - The zone id of the nas file system.
- Zone
Name string - The zone name of the nas file system.
- capacity Integer
- The capacity of the nas file system. Unit: GiB.
- charge
Type String - The charge type of the nas file system.
- create
Time String - The create time of the nas file system.
- description String
- The description of the nas file system.
- file
System StringName - The name of the nas file system.
- file
System StringType - The type of the nas file system.
- project
Name String - The project name of the nas file system.
- protocol
Type String - The protocol type of the nas file system.
- region
Id String - The region id of the nas file system.
- snapshot
Count Integer - The snapshot count of the nas file system.
- snapshot
Id String - The snapshot id when creating the nas file system. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- status String
- The status of the nas file system.
- storage
Type String - The storage type of the nas file system.
- List<File
System Tag> - Tags.
- update
Time String - The update time of the nas file system.
- version String
- The version of the nas file system.
- zone
Id String - The zone id of the nas file system.
- zone
Name String - The zone name of the nas file system.
- capacity number
- The capacity of the nas file system. Unit: GiB.
- charge
Type string - The charge type of the nas file system.
- create
Time string - The create time of the nas file system.
- description string
- The description of the nas file system.
- file
System stringName - The name of the nas file system.
- file
System stringType - The type of the nas file system.
- project
Name string - The project name of the nas file system.
- protocol
Type string - The protocol type of the nas file system.
- region
Id string - The region id of the nas file system.
- snapshot
Count number - The snapshot count of the nas file system.
- snapshot
Id string - The snapshot id when creating the nas file system. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- status string
- The status of the nas file system.
- storage
Type string - The storage type of the nas file system.
- File
System Tag[] - Tags.
- update
Time string - The update time of the nas file system.
- version string
- The version of the nas file system.
- zone
Id string - The zone id of the nas file system.
- zone
Name string - The zone name of the nas file system.
- capacity int
- The capacity of the nas file system. Unit: GiB.
- charge_
type str - The charge type of the nas file system.
- create_
time str - The create time of the nas file system.
- description str
- The description of the nas file system.
- file_
system_ strname - The name of the nas file system.
- file_
system_ strtype - The type of the nas file system.
- project_
name str - The project name of the nas file system.
- protocol_
type str - The protocol type of the nas file system.
- region_
id str - The region id of the nas file system.
- snapshot_
count int - The snapshot count of the nas file system.
- snapshot_
id str - The snapshot id when creating the nas file system. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- status str
- The status of the nas file system.
- storage_
type str - The storage type of the nas file system.
- Sequence[File
System Tag Args] - Tags.
- update_
time str - The update time of the nas file system.
- version str
- The version of the nas file system.
- zone_
id str - The zone id of the nas file system.
- zone_
name str - The zone name of the nas file system.
- capacity Number
- The capacity of the nas file system. Unit: GiB.
- charge
Type String - The charge type of the nas file system.
- create
Time String - The create time of the nas file system.
- description String
- The description of the nas file system.
- file
System StringName - The name of the nas file system.
- file
System StringType - The type of the nas file system.
- project
Name String - The project name of the nas file system.
- protocol
Type String - The protocol type of the nas file system.
- region
Id String - The region id of the nas file system.
- snapshot
Count Number - The snapshot count of the nas file system.
- snapshot
Id String - The snapshot id when creating the nas file system. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- status String
- The status of the nas file system.
- storage
Type String - The storage type of the nas file system.
- List<Property Map>
- Tags.
- update
Time String - The update time of the nas file system.
- version String
- The version of the nas file system.
- zone
Id String - The zone id of the nas file system.
- zone
Name String - The zone name of the nas file system.
Supporting Types
FileSystemTag, FileSystemTagArgs
Import
NasFileSystem can be imported using the id, e.g.
$ pulumi import volcengine:nas/fileSystem:FileSystem default enas-cnbjd3879745****
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.