GetFileSystems

This data source provides FileSystems available to the user.

NOTE: Available in 1.35.0+

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var fs = Output.Create(AliCloud.Nas.GetFileSystems.InvokeAsync(new AliCloud.Nas.GetFileSystemsArgs
        {
            Description = alicloud_nas_file_system.Foo.Description,
            ProtocolType = "NFS",
        }));
        this.AlicloudNasFileSystemsId = fs.Apply(fs => fs.Systems[0].Id);
    }

    [Output("alicloudNasFileSystemsId")]
    public Output<string> AlicloudNasFileSystemsId { get; set; }
}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

fs = alicloud.nas.get_file_systems(description=alicloud_nas_file_system["foo"]["description"],
    protocol_type="NFS")
pulumi.export("alicloudNasFileSystemsId", fs.systems[0]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const fs = alicloud_nas_file_system_foo.description.apply(description => alicloud.nas.getFileSystems({
    description: description,
    protocolType: "NFS",
}, { async: true }));

export const alicloudNasFileSystemsId = fs.systems[0].id;

Using GetFileSystems

function getFileSystems(args: GetFileSystemsArgs, opts?: InvokeOptions): Promise<GetFileSystemsResult>
function  get_file_systems(description_regex=None, ids=None, output_file=None, protocol_type=None, storage_type=None, opts=None)
func GetFileSystems(ctx *Context, args *GetFileSystemsArgs, opts ...InvokeOption) (*GetFileSystemsResult, error)
public static class GetFileSystems {
    public static Task<GetFileSystemsResult> InvokeAsync(GetFileSystemsArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

DescriptionRegex string

A regex string to filter the results by the :FileSystem description.

Ids List<string>

A list of FileSystemId.

OutputFile string
ProtocolType string

Filter results by a specific ProtocolType.

StorageType string

Filter results by a specific StorageType.

DescriptionRegex string

A regex string to filter the results by the :FileSystem description.

Ids []string

A list of FileSystemId.

OutputFile string
ProtocolType string

Filter results by a specific ProtocolType.

StorageType string

Filter results by a specific StorageType.

descriptionRegex string

A regex string to filter the results by the :FileSystem description.

ids string[]

A list of FileSystemId.

outputFile string
protocolType string

Filter results by a specific ProtocolType.

storageType string

Filter results by a specific StorageType.

description_regex str

A regex string to filter the results by the :FileSystem description.

ids List[str]

A list of FileSystemId.

output_file str
protocol_type str

Filter results by a specific ProtocolType.

storage_type str

Filter results by a specific StorageType.

GetFileSystems Result

The following output properties are available:

Descriptions List<string>

A list of FileSystem descriptions.

Id string

The provider-assigned unique ID for this managed resource.

Ids List<string>

A list of FileSystem Id.

Systems List<Pulumi.AliCloud.Nas.Outputs.GetFileSystemsSystem>

A list of VPCs. Each element contains the following attributes:

DescriptionRegex string
OutputFile string
ProtocolType string

ProtocolType block of the FileSystem

StorageType string

StorageType block of the FileSystem.

Descriptions []string

A list of FileSystem descriptions.

Id string

The provider-assigned unique ID for this managed resource.

Ids []string

A list of FileSystem Id.

Systems []GetFileSystemsSystem

A list of VPCs. Each element contains the following attributes:

DescriptionRegex string
OutputFile string
ProtocolType string

ProtocolType block of the FileSystem

StorageType string

StorageType block of the FileSystem.

descriptions string[]

A list of FileSystem descriptions.

id string

The provider-assigned unique ID for this managed resource.

ids string[]

A list of FileSystem Id.

systems GetFileSystemsSystem[]

A list of VPCs. Each element contains the following attributes:

descriptionRegex string
outputFile string
protocolType string

ProtocolType block of the FileSystem

storageType string

StorageType block of the FileSystem.

descriptions List[str]

A list of FileSystem descriptions.

id str

The provider-assigned unique ID for this managed resource.

ids List[str]

A list of FileSystem Id.

systems List[GetFileSystemsSystem]

A list of VPCs. Each element contains the following attributes:

description_regex str
output_file str
protocol_type str

ProtocolType block of the FileSystem

storage_type str

StorageType block of the FileSystem.

Supporting Types

GetFileSystemsSystem

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

CreateTime string

Time of creation.

Description string

Destription of the FileSystem.

Id string

ID of the FileSystem.

MeteredSize int

MeteredSize of the FileSystem.

ProtocolType string

Filter results by a specific ProtocolType.

RegionId string

ID of the region where the FileSystem is located.

StorageType string

Filter results by a specific StorageType.

CreateTime string

Time of creation.

Description string

Destription of the FileSystem.

Id string

ID of the FileSystem.

MeteredSize int

MeteredSize of the FileSystem.

ProtocolType string

Filter results by a specific ProtocolType.

RegionId string

ID of the region where the FileSystem is located.

StorageType string

Filter results by a specific StorageType.

createTime string

Time of creation.

description string

Destription of the FileSystem.

id string

ID of the FileSystem.

meteredSize number

MeteredSize of the FileSystem.

protocolType string

Filter results by a specific ProtocolType.

regionId string

ID of the region where the FileSystem is located.

storageType string

Filter results by a specific StorageType.

create_time str

Time of creation.

description str

Destription of the FileSystem.

id str

ID of the FileSystem.

meteredSize float

MeteredSize of the FileSystem.

protocol_type str

Filter results by a specific ProtocolType.

regionId str

ID of the region where the FileSystem is located.

storage_type str

Filter results by a specific StorageType.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.