Show / Hide Table of Contents

Class FileSystem

Provides a Nas File System resource.

After activating NAS, you can create a file system and purchase a storage package for it in the NAS console. The NAS console also enables you to view the file system details and remove unnecessary file systems.

For information about NAS file system and how to use it, see Manage file systems

NOTE: Available in v1.33.0+.

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
public MyStack()
{
    var foo = new AliCloud.Nas.FileSystem("foo", new AliCloud.Nas.FileSystemArgs
    {
        Description = "tf-testAccNasConfig",
        ProtocolType = "NFS",
        StorageType = "Performance",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
FileSystem
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Nas
Assembly: Pulumi.AliCloud.dll
Syntax
public class FileSystem : CustomResource

Constructors

View Source

FileSystem(String, FileSystemArgs, CustomResourceOptions)

Create a FileSystem resource with the given unique name, arguments, and options.

Declaration
public FileSystem(string name, FileSystemArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

FileSystemArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Description

The File System description.

Declaration
public Output<string> Description { get; }
Property Value
Type Description
Output<System.String>
View Source

ProtocolType

The Protocol Type of a File System. Valid values: NFS and SMB.

Declaration
public Output<string> ProtocolType { get; }
Property Value
Type Description
Output<System.String>
View Source

StorageType

The Storage Type of a File System. Valid values: Capacity and Performance.

Declaration
public Output<string> StorageType { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, FileSystemState, CustomResourceOptions)

Get an existing FileSystem resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static FileSystem Get(string name, Input<string> id, FileSystemState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

FileSystemState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
FileSystem
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.