cloudfs

package
v0.0.23 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Access

type Access struct {
	pulumi.CustomResourceState

	// The account id of access.
	AccessAccountId pulumi.IntOutput `pulumi:"accessAccountId"`
	// The iam role of access. If the VPC of another account is attached, the other account needs to create a role with CFSCacheAccess permission, and enter the role name as a parameter.
	AccessIamRole pulumi.StringPtrOutput `pulumi:"accessIamRole"`
	// The id of access.
	AccessId pulumi.StringOutput `pulumi:"accessId"`
	// The service name of access.
	AccessServiceName pulumi.StringOutput `pulumi:"accessServiceName"`
	// The creation time.
	CreatedTime pulumi.StringOutput `pulumi:"createdTime"`
	// The name of file system.
	FsName pulumi.StringOutput `pulumi:"fsName"`
	// Whether is default access.
	IsDefault pulumi.BoolOutput `pulumi:"isDefault"`
	// The id of security group.
	SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"`
	// Status of access.
	Status pulumi.StringOutput `pulumi:"status"`
	// The id of subnet.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// The id of vpc.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
	// Whether enable all vpc route.
	VpcRouteEnabled pulumi.BoolPtrOutput `pulumi:"vpcRouteEnabled"`
}

Provides a resource to manage cloudfs access ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloudfs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudfs.NewAccess(ctx, "foo1", &cloudfs.AccessArgs{
			FsName:          pulumi.String("tftest2"),
			SecurityGroupId: pulumi.String("sg-rrv1klfg5s00v0x578mx14m"),
			SubnetId:        pulumi.String("subnet-13fca1crr5d6o3n6nu46cyb5m"),
			VpcRouteEnabled: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CloudFs Access can be imported using the FsName:AccessId, e.g.

```sh

$ pulumi import volcengine:cloudfs/access:Access default tfname:access-**rdgmedx3fow

```

func GetAccess

func GetAccess(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AccessState, opts ...pulumi.ResourceOption) (*Access, error)

GetAccess gets an existing Access resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAccess

func NewAccess(ctx *pulumi.Context,
	name string, args *AccessArgs, opts ...pulumi.ResourceOption) (*Access, error)

NewAccess registers a new resource with the given unique name, arguments, and options.

func (*Access) ElementType

func (*Access) ElementType() reflect.Type

func (*Access) ToAccessOutput

func (i *Access) ToAccessOutput() AccessOutput

func (*Access) ToAccessOutputWithContext

func (i *Access) ToAccessOutputWithContext(ctx context.Context) AccessOutput

type AccessArgs

type AccessArgs struct {
	// The account id of access.
	AccessAccountId pulumi.IntPtrInput
	// The iam role of access. If the VPC of another account is attached, the other account needs to create a role with CFSCacheAccess permission, and enter the role name as a parameter.
	AccessIamRole pulumi.StringPtrInput
	// The name of file system.
	FsName pulumi.StringInput
	// The id of security group.
	SecurityGroupId pulumi.StringInput
	// The id of subnet.
	SubnetId pulumi.StringInput
	// Whether enable all vpc route.
	VpcRouteEnabled pulumi.BoolPtrInput
}

The set of arguments for constructing a Access resource.

func (AccessArgs) ElementType

func (AccessArgs) ElementType() reflect.Type

type AccessArray

type AccessArray []AccessInput

func (AccessArray) ElementType

func (AccessArray) ElementType() reflect.Type

func (AccessArray) ToAccessArrayOutput

func (i AccessArray) ToAccessArrayOutput() AccessArrayOutput

func (AccessArray) ToAccessArrayOutputWithContext

func (i AccessArray) ToAccessArrayOutputWithContext(ctx context.Context) AccessArrayOutput

type AccessArrayInput

type AccessArrayInput interface {
	pulumi.Input

	ToAccessArrayOutput() AccessArrayOutput
	ToAccessArrayOutputWithContext(context.Context) AccessArrayOutput
}

AccessArrayInput is an input type that accepts AccessArray and AccessArrayOutput values. You can construct a concrete instance of `AccessArrayInput` via:

AccessArray{ AccessArgs{...} }

type AccessArrayOutput

type AccessArrayOutput struct{ *pulumi.OutputState }

func (AccessArrayOutput) ElementType

func (AccessArrayOutput) ElementType() reflect.Type

func (AccessArrayOutput) Index

func (AccessArrayOutput) ToAccessArrayOutput

func (o AccessArrayOutput) ToAccessArrayOutput() AccessArrayOutput

func (AccessArrayOutput) ToAccessArrayOutputWithContext

func (o AccessArrayOutput) ToAccessArrayOutputWithContext(ctx context.Context) AccessArrayOutput

type AccessInput

type AccessInput interface {
	pulumi.Input

	ToAccessOutput() AccessOutput
	ToAccessOutputWithContext(ctx context.Context) AccessOutput
}

type AccessMap

type AccessMap map[string]AccessInput

func (AccessMap) ElementType

func (AccessMap) ElementType() reflect.Type

func (AccessMap) ToAccessMapOutput

func (i AccessMap) ToAccessMapOutput() AccessMapOutput

func (AccessMap) ToAccessMapOutputWithContext

func (i AccessMap) ToAccessMapOutputWithContext(ctx context.Context) AccessMapOutput

type AccessMapInput

type AccessMapInput interface {
	pulumi.Input

	ToAccessMapOutput() AccessMapOutput
	ToAccessMapOutputWithContext(context.Context) AccessMapOutput
}

AccessMapInput is an input type that accepts AccessMap and AccessMapOutput values. You can construct a concrete instance of `AccessMapInput` via:

AccessMap{ "key": AccessArgs{...} }

type AccessMapOutput

type AccessMapOutput struct{ *pulumi.OutputState }

func (AccessMapOutput) ElementType

func (AccessMapOutput) ElementType() reflect.Type

func (AccessMapOutput) MapIndex

func (AccessMapOutput) ToAccessMapOutput

func (o AccessMapOutput) ToAccessMapOutput() AccessMapOutput

func (AccessMapOutput) ToAccessMapOutputWithContext

func (o AccessMapOutput) ToAccessMapOutputWithContext(ctx context.Context) AccessMapOutput

type AccessOutput

type AccessOutput struct{ *pulumi.OutputState }

func (AccessOutput) AccessAccountId

func (o AccessOutput) AccessAccountId() pulumi.IntOutput

The account id of access.

func (AccessOutput) AccessIamRole

func (o AccessOutput) AccessIamRole() pulumi.StringPtrOutput

The iam role of access. If the VPC of another account is attached, the other account needs to create a role with CFSCacheAccess permission, and enter the role name as a parameter.

func (AccessOutput) AccessId

func (o AccessOutput) AccessId() pulumi.StringOutput

The id of access.

func (AccessOutput) AccessServiceName

func (o AccessOutput) AccessServiceName() pulumi.StringOutput

The service name of access.

func (AccessOutput) CreatedTime

func (o AccessOutput) CreatedTime() pulumi.StringOutput

The creation time.

func (AccessOutput) ElementType

func (AccessOutput) ElementType() reflect.Type

func (AccessOutput) FsName

func (o AccessOutput) FsName() pulumi.StringOutput

The name of file system.

func (AccessOutput) IsDefault

func (o AccessOutput) IsDefault() pulumi.BoolOutput

Whether is default access.

func (AccessOutput) SecurityGroupId

func (o AccessOutput) SecurityGroupId() pulumi.StringOutput

The id of security group.

func (AccessOutput) Status

func (o AccessOutput) Status() pulumi.StringOutput

Status of access.

func (AccessOutput) SubnetId

func (o AccessOutput) SubnetId() pulumi.StringOutput

The id of subnet.

func (AccessOutput) ToAccessOutput

func (o AccessOutput) ToAccessOutput() AccessOutput

func (AccessOutput) ToAccessOutputWithContext

func (o AccessOutput) ToAccessOutputWithContext(ctx context.Context) AccessOutput

func (AccessOutput) VpcId

func (o AccessOutput) VpcId() pulumi.StringOutput

The id of vpc.

func (AccessOutput) VpcRouteEnabled

func (o AccessOutput) VpcRouteEnabled() pulumi.BoolPtrOutput

Whether enable all vpc route.

type AccessState

type AccessState struct {
	// The account id of access.
	AccessAccountId pulumi.IntPtrInput
	// The iam role of access. If the VPC of another account is attached, the other account needs to create a role with CFSCacheAccess permission, and enter the role name as a parameter.
	AccessIamRole pulumi.StringPtrInput
	// The id of access.
	AccessId pulumi.StringPtrInput
	// The service name of access.
	AccessServiceName pulumi.StringPtrInput
	// The creation time.
	CreatedTime pulumi.StringPtrInput
	// The name of file system.
	FsName pulumi.StringPtrInput
	// Whether is default access.
	IsDefault pulumi.BoolPtrInput
	// The id of security group.
	SecurityGroupId pulumi.StringPtrInput
	// Status of access.
	Status pulumi.StringPtrInput
	// The id of subnet.
	SubnetId pulumi.StringPtrInput
	// The id of vpc.
	VpcId pulumi.StringPtrInput
	// Whether enable all vpc route.
	VpcRouteEnabled pulumi.BoolPtrInput
}

func (AccessState) ElementType

func (AccessState) ElementType() reflect.Type

type AccessesAccess

type AccessesAccess struct {
	// The account id of access.
	AccessAccountId int `pulumi:"accessAccountId"`
	// The id of access.
	AccessId string `pulumi:"accessId"`
	// The service name of access.
	AccessServiceName string `pulumi:"accessServiceName"`
	// The creation time.
	CreatedTime string `pulumi:"createdTime"`
	// The name of file system.
	FsName string `pulumi:"fsName"`
	// Whether is default access.
	IsDefault bool `pulumi:"isDefault"`
	// The id of security group.
	SecurityGroupId string `pulumi:"securityGroupId"`
	// The status of access.
	Status string `pulumi:"status"`
	// The id of subnet.
	SubnetId string `pulumi:"subnetId"`
	// The id of vpc.
	VpcId string `pulumi:"vpcId"`
	// Whether to enable all vpc route.
	VpcRouteEnabled bool `pulumi:"vpcRouteEnabled"`
}

type AccessesAccessArgs

type AccessesAccessArgs struct {
	// The account id of access.
	AccessAccountId pulumi.IntInput `pulumi:"accessAccountId"`
	// The id of access.
	AccessId pulumi.StringInput `pulumi:"accessId"`
	// The service name of access.
	AccessServiceName pulumi.StringInput `pulumi:"accessServiceName"`
	// The creation time.
	CreatedTime pulumi.StringInput `pulumi:"createdTime"`
	// The name of file system.
	FsName pulumi.StringInput `pulumi:"fsName"`
	// Whether is default access.
	IsDefault pulumi.BoolInput `pulumi:"isDefault"`
	// The id of security group.
	SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"`
	// The status of access.
	Status pulumi.StringInput `pulumi:"status"`
	// The id of subnet.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
	// The id of vpc.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
	// Whether to enable all vpc route.
	VpcRouteEnabled pulumi.BoolInput `pulumi:"vpcRouteEnabled"`
}

func (AccessesAccessArgs) ElementType

func (AccessesAccessArgs) ElementType() reflect.Type

func (AccessesAccessArgs) ToAccessesAccessOutput

func (i AccessesAccessArgs) ToAccessesAccessOutput() AccessesAccessOutput

func (AccessesAccessArgs) ToAccessesAccessOutputWithContext

func (i AccessesAccessArgs) ToAccessesAccessOutputWithContext(ctx context.Context) AccessesAccessOutput

type AccessesAccessArray

type AccessesAccessArray []AccessesAccessInput

func (AccessesAccessArray) ElementType

func (AccessesAccessArray) ElementType() reflect.Type

func (AccessesAccessArray) ToAccessesAccessArrayOutput

func (i AccessesAccessArray) ToAccessesAccessArrayOutput() AccessesAccessArrayOutput

func (AccessesAccessArray) ToAccessesAccessArrayOutputWithContext

func (i AccessesAccessArray) ToAccessesAccessArrayOutputWithContext(ctx context.Context) AccessesAccessArrayOutput

type AccessesAccessArrayInput

type AccessesAccessArrayInput interface {
	pulumi.Input

	ToAccessesAccessArrayOutput() AccessesAccessArrayOutput
	ToAccessesAccessArrayOutputWithContext(context.Context) AccessesAccessArrayOutput
}

AccessesAccessArrayInput is an input type that accepts AccessesAccessArray and AccessesAccessArrayOutput values. You can construct a concrete instance of `AccessesAccessArrayInput` via:

AccessesAccessArray{ AccessesAccessArgs{...} }

type AccessesAccessArrayOutput

type AccessesAccessArrayOutput struct{ *pulumi.OutputState }

func (AccessesAccessArrayOutput) ElementType

func (AccessesAccessArrayOutput) ElementType() reflect.Type

func (AccessesAccessArrayOutput) Index

func (AccessesAccessArrayOutput) ToAccessesAccessArrayOutput

func (o AccessesAccessArrayOutput) ToAccessesAccessArrayOutput() AccessesAccessArrayOutput

func (AccessesAccessArrayOutput) ToAccessesAccessArrayOutputWithContext

func (o AccessesAccessArrayOutput) ToAccessesAccessArrayOutputWithContext(ctx context.Context) AccessesAccessArrayOutput

type AccessesAccessInput

type AccessesAccessInput interface {
	pulumi.Input

	ToAccessesAccessOutput() AccessesAccessOutput
	ToAccessesAccessOutputWithContext(context.Context) AccessesAccessOutput
}

AccessesAccessInput is an input type that accepts AccessesAccessArgs and AccessesAccessOutput values. You can construct a concrete instance of `AccessesAccessInput` via:

AccessesAccessArgs{...}

type AccessesAccessOutput

type AccessesAccessOutput struct{ *pulumi.OutputState }

func (AccessesAccessOutput) AccessAccountId

func (o AccessesAccessOutput) AccessAccountId() pulumi.IntOutput

The account id of access.

func (AccessesAccessOutput) AccessId

The id of access.

func (AccessesAccessOutput) AccessServiceName

func (o AccessesAccessOutput) AccessServiceName() pulumi.StringOutput

The service name of access.

func (AccessesAccessOutput) CreatedTime

func (o AccessesAccessOutput) CreatedTime() pulumi.StringOutput

The creation time.

func (AccessesAccessOutput) ElementType

func (AccessesAccessOutput) ElementType() reflect.Type

func (AccessesAccessOutput) FsName

The name of file system.

func (AccessesAccessOutput) IsDefault

func (o AccessesAccessOutput) IsDefault() pulumi.BoolOutput

Whether is default access.

func (AccessesAccessOutput) SecurityGroupId

func (o AccessesAccessOutput) SecurityGroupId() pulumi.StringOutput

The id of security group.

func (AccessesAccessOutput) Status

The status of access.

func (AccessesAccessOutput) SubnetId

The id of subnet.

func (AccessesAccessOutput) ToAccessesAccessOutput

func (o AccessesAccessOutput) ToAccessesAccessOutput() AccessesAccessOutput

func (AccessesAccessOutput) ToAccessesAccessOutputWithContext

func (o AccessesAccessOutput) ToAccessesAccessOutputWithContext(ctx context.Context) AccessesAccessOutput

func (AccessesAccessOutput) VpcId

The id of vpc.

func (AccessesAccessOutput) VpcRouteEnabled

func (o AccessesAccessOutput) VpcRouteEnabled() pulumi.BoolOutput

Whether to enable all vpc route.

type AccessesArgs

type AccessesArgs struct {
	// The name of file system.
	FsName string `pulumi:"fsName"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking Accesses.

type AccessesOutputArgs

type AccessesOutputArgs struct {
	// The name of file system.
	FsName pulumi.StringInput `pulumi:"fsName"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking Accesses.

func (AccessesOutputArgs) ElementType

func (AccessesOutputArgs) ElementType() reflect.Type

type AccessesResult

type AccessesResult struct {
	// The collection of query.
	Accesses []AccessesAccess `pulumi:"accesses"`
	// The name of cloud fs.
	FsName string `pulumi:"fsName"`
	// The provider-assigned unique ID for this managed resource.
	Id         string  `pulumi:"id"`
	OutputFile *string `pulumi:"outputFile"`
	// The total count of query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by Accesses.

func Accesses

func Accesses(ctx *pulumi.Context, args *AccessesArgs, opts ...pulumi.InvokeOption) (*AccessesResult, error)

Use this data source to query detailed information of cloudfs accesses ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloudfs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudfs.Accesses(ctx, &cloudfs.AccessesArgs{
			FsName: "tftest2",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type AccessesResultOutput

type AccessesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by Accesses.

func (AccessesResultOutput) Accesses

The collection of query.

func (AccessesResultOutput) ElementType

func (AccessesResultOutput) ElementType() reflect.Type

func (AccessesResultOutput) FsName

The name of cloud fs.

func (AccessesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (AccessesResultOutput) OutputFile

func (AccessesResultOutput) ToAccessesResultOutput

func (o AccessesResultOutput) ToAccessesResultOutput() AccessesResultOutput

func (AccessesResultOutput) ToAccessesResultOutputWithContext

func (o AccessesResultOutput) ToAccessesResultOutputWithContext(ctx context.Context) AccessesResultOutput

func (AccessesResultOutput) TotalCount

func (o AccessesResultOutput) TotalCount() pulumi.IntOutput

The total count of query.

type FileSystem

type FileSystem struct {
	pulumi.CustomResourceState

	// The default vpc access id.
	AccessId pulumi.StringOutput `pulumi:"accessId"`
	// The capacity of cache. This parameter is required when cache acceleration is enabled.
	CacheCapacityTib pulumi.IntPtrOutput `pulumi:"cacheCapacityTib"`
	// The cache plan. The value can be `DISABLED` or `T2` or `T4`. When expanding the cache size, the cache plan should remain the same. For data lakes, cache must be enabled.
	CachePlan pulumi.StringOutput `pulumi:"cachePlan"`
	// The creation time.
	CreatedTime pulumi.StringOutput `pulumi:"createdTime"`
	// The name of file system.
	FsName pulumi.StringOutput `pulumi:"fsName"`
	// The mode of file system. The value can be `HDFS_MODE` or `ACC_MODE`.
	Mode pulumi.StringOutput `pulumi:"mode"`
	// The point mount.
	MountPoint pulumi.StringOutput `pulumi:"mountPoint"`
	// Whether the Namespace created automatically when mounting the TOS Bucket is read-only. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	ReadOnly pulumi.BoolPtrOutput `pulumi:"readOnly"`
	// The id of security group. This parameter is required when cache acceleration is enabled.
	SecurityGroupId pulumi.StringPtrOutput `pulumi:"securityGroupId"`
	// Status of file system.
	Status pulumi.StringOutput `pulumi:"status"`
	// The id of subnet. This parameter is required when cache acceleration is enabled.
	SubnetId pulumi.StringPtrOutput `pulumi:"subnetId"`
	// When a data lake scenario instance chooses to associate a bucket under another account, you need to set the ID of the account. When importing resources, this attribute will not be imported.
	TosAccountId pulumi.IntPtrOutput `pulumi:"tosAccountId"`
	// The tos ak. When the data lake scenario chooses to associate buckets under other accounts, need to set the Access Key ID of the account. When importing resources, this attribute will not be imported.
	TosAk pulumi.StringPtrOutput `pulumi:"tosAk"`
	// The tos bucket. When importing ACC_MODE resources, this attribute will not be imported.
	TosBucket pulumi.StringPtrOutput `pulumi:"tosBucket"`
	// The tos prefix. Must not start with /, but must end with /, such as prefix/. When it is empty, it means the root path. When importing ACC_MODE resources, this attribute will not be imported.
	TosPrefix pulumi.StringPtrOutput `pulumi:"tosPrefix"`
	// The tos sk. When the data lake scenario chooses to associate buckets under other accounts, need to set the Secret Access Key of the account. When importing resources, this attribute will not be imported.
	TosSk pulumi.StringPtrOutput `pulumi:"tosSk"`
	// The id of vpc.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
	// Whether enable all vpc route.
	VpcRouteEnabled pulumi.BoolPtrOutput `pulumi:"vpcRouteEnabled"`
	// The id of zone.
	ZoneId pulumi.StringOutput `pulumi:"zoneId"`
}

Provides a resource to manage cloudfs file system ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloudfs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudfs.NewFileSystem(ctx, "foo", &cloudfs.FileSystemArgs{
			CacheCapacityTib: pulumi.Int(10),
			CachePlan:        pulumi.String("T2"),
			FsName:           pulumi.String("tffile"),
			Mode:             pulumi.String("HDFS_MODE"),
			ReadOnly:         pulumi.Bool(true),
			SecurityGroupId:  pulumi.String("sg-rrv1klfg5s00v0x578mx14m"),
			SubnetId:         pulumi.String("subnet-13fca1crr5d6o3n6nu46cyb5m"),
			TosBucket:        pulumi.String("tfacc"),
			TosPrefix:        pulumi.String("pre/"),
			VpcRouteEnabled:  pulumi.Bool(true),
			ZoneId:           pulumi.String("cn-beijing-b"),
		})
		if err != nil {
			return err
		}
		_, err = cloudfs.NewFileSystem(ctx, "foo1", &cloudfs.FileSystemArgs{
			CacheCapacityTib: pulumi.Int(15),
			CachePlan:        pulumi.String("T2"),
			FsName:           pulumi.String("tffileu"),
			Mode:             pulumi.String("ACC_MODE"),
			ReadOnly:         pulumi.Bool(true),
			SecurityGroupId:  pulumi.String("sg-rrv1klfg5s00v0x578mx14m"),
			SubnetId:         pulumi.String("subnet-13fca1crr5d6o3n6nu46cyb5m"),
			TosBucket:        pulumi.String("tfacc"),
			VpcRouteEnabled:  pulumi.Bool(false),
			ZoneId:           pulumi.String("cn-beijing-b"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CloudFileSystem can be imported using the FsName, e.g.

```sh

$ pulumi import volcengine:cloudfs/fileSystem:FileSystem default tfname

```

func GetFileSystem

func GetFileSystem(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FileSystemState, opts ...pulumi.ResourceOption) (*FileSystem, error)

GetFileSystem gets an existing FileSystem resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFileSystem

func NewFileSystem(ctx *pulumi.Context,
	name string, args *FileSystemArgs, opts ...pulumi.ResourceOption) (*FileSystem, error)

NewFileSystem registers a new resource with the given unique name, arguments, and options.

func (*FileSystem) ElementType

func (*FileSystem) ElementType() reflect.Type

func (*FileSystem) ToFileSystemOutput

func (i *FileSystem) ToFileSystemOutput() FileSystemOutput

func (*FileSystem) ToFileSystemOutputWithContext

func (i *FileSystem) ToFileSystemOutputWithContext(ctx context.Context) FileSystemOutput

type FileSystemArgs

type FileSystemArgs struct {
	// The capacity of cache. This parameter is required when cache acceleration is enabled.
	CacheCapacityTib pulumi.IntPtrInput
	// The cache plan. The value can be `DISABLED` or `T2` or `T4`. When expanding the cache size, the cache plan should remain the same. For data lakes, cache must be enabled.
	CachePlan pulumi.StringInput
	// The name of file system.
	FsName pulumi.StringInput
	// The mode of file system. The value can be `HDFS_MODE` or `ACC_MODE`.
	Mode pulumi.StringInput
	// Whether the Namespace created automatically when mounting the TOS Bucket is read-only. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	ReadOnly pulumi.BoolPtrInput
	// The id of security group. This parameter is required when cache acceleration is enabled.
	SecurityGroupId pulumi.StringPtrInput
	// The id of subnet. This parameter is required when cache acceleration is enabled.
	SubnetId pulumi.StringPtrInput
	// When a data lake scenario instance chooses to associate a bucket under another account, you need to set the ID of the account. When importing resources, this attribute will not be imported.
	TosAccountId pulumi.IntPtrInput
	// The tos ak. When the data lake scenario chooses to associate buckets under other accounts, need to set the Access Key ID of the account. When importing resources, this attribute will not be imported.
	TosAk pulumi.StringPtrInput
	// The tos bucket. When importing ACC_MODE resources, this attribute will not be imported.
	TosBucket pulumi.StringPtrInput
	// The tos prefix. Must not start with /, but must end with /, such as prefix/. When it is empty, it means the root path. When importing ACC_MODE resources, this attribute will not be imported.
	TosPrefix pulumi.StringPtrInput
	// The tos sk. When the data lake scenario chooses to associate buckets under other accounts, need to set the Secret Access Key of the account. When importing resources, this attribute will not be imported.
	TosSk pulumi.StringPtrInput
	// Whether enable all vpc route.
	VpcRouteEnabled pulumi.BoolPtrInput
	// The id of zone.
	ZoneId pulumi.StringInput
}

The set of arguments for constructing a FileSystem resource.

func (FileSystemArgs) ElementType

func (FileSystemArgs) ElementType() reflect.Type

type FileSystemArray

type FileSystemArray []FileSystemInput

func (FileSystemArray) ElementType

func (FileSystemArray) ElementType() reflect.Type

func (FileSystemArray) ToFileSystemArrayOutput

func (i FileSystemArray) ToFileSystemArrayOutput() FileSystemArrayOutput

func (FileSystemArray) ToFileSystemArrayOutputWithContext

func (i FileSystemArray) ToFileSystemArrayOutputWithContext(ctx context.Context) FileSystemArrayOutput

type FileSystemArrayInput

type FileSystemArrayInput interface {
	pulumi.Input

	ToFileSystemArrayOutput() FileSystemArrayOutput
	ToFileSystemArrayOutputWithContext(context.Context) FileSystemArrayOutput
}

FileSystemArrayInput is an input type that accepts FileSystemArray and FileSystemArrayOutput values. You can construct a concrete instance of `FileSystemArrayInput` via:

FileSystemArray{ FileSystemArgs{...} }

type FileSystemArrayOutput

type FileSystemArrayOutput struct{ *pulumi.OutputState }

func (FileSystemArrayOutput) ElementType

func (FileSystemArrayOutput) ElementType() reflect.Type

func (FileSystemArrayOutput) Index

func (FileSystemArrayOutput) ToFileSystemArrayOutput

func (o FileSystemArrayOutput) ToFileSystemArrayOutput() FileSystemArrayOutput

func (FileSystemArrayOutput) ToFileSystemArrayOutputWithContext

func (o FileSystemArrayOutput) ToFileSystemArrayOutputWithContext(ctx context.Context) FileSystemArrayOutput

type FileSystemInput

type FileSystemInput interface {
	pulumi.Input

	ToFileSystemOutput() FileSystemOutput
	ToFileSystemOutputWithContext(ctx context.Context) FileSystemOutput
}

type FileSystemMap

type FileSystemMap map[string]FileSystemInput

func (FileSystemMap) ElementType

func (FileSystemMap) ElementType() reflect.Type

func (FileSystemMap) ToFileSystemMapOutput

func (i FileSystemMap) ToFileSystemMapOutput() FileSystemMapOutput

func (FileSystemMap) ToFileSystemMapOutputWithContext

func (i FileSystemMap) ToFileSystemMapOutputWithContext(ctx context.Context) FileSystemMapOutput

type FileSystemMapInput

type FileSystemMapInput interface {
	pulumi.Input

	ToFileSystemMapOutput() FileSystemMapOutput
	ToFileSystemMapOutputWithContext(context.Context) FileSystemMapOutput
}

FileSystemMapInput is an input type that accepts FileSystemMap and FileSystemMapOutput values. You can construct a concrete instance of `FileSystemMapInput` via:

FileSystemMap{ "key": FileSystemArgs{...} }

type FileSystemMapOutput

type FileSystemMapOutput struct{ *pulumi.OutputState }

func (FileSystemMapOutput) ElementType

func (FileSystemMapOutput) ElementType() reflect.Type

func (FileSystemMapOutput) MapIndex

func (FileSystemMapOutput) ToFileSystemMapOutput

func (o FileSystemMapOutput) ToFileSystemMapOutput() FileSystemMapOutput

func (FileSystemMapOutput) ToFileSystemMapOutputWithContext

func (o FileSystemMapOutput) ToFileSystemMapOutputWithContext(ctx context.Context) FileSystemMapOutput

type FileSystemOutput

type FileSystemOutput struct{ *pulumi.OutputState }

func (FileSystemOutput) AccessId

func (o FileSystemOutput) AccessId() pulumi.StringOutput

The default vpc access id.

func (FileSystemOutput) CacheCapacityTib

func (o FileSystemOutput) CacheCapacityTib() pulumi.IntPtrOutput

The capacity of cache. This parameter is required when cache acceleration is enabled.

func (FileSystemOutput) CachePlan

func (o FileSystemOutput) CachePlan() pulumi.StringOutput

The cache plan. The value can be `DISABLED` or `T2` or `T4`. When expanding the cache size, the cache plan should remain the same. For data lakes, cache must be enabled.

func (FileSystemOutput) CreatedTime

func (o FileSystemOutput) CreatedTime() pulumi.StringOutput

The creation time.

func (FileSystemOutput) ElementType

func (FileSystemOutput) ElementType() reflect.Type

func (FileSystemOutput) FsName

The name of file system.

func (FileSystemOutput) Mode

The mode of file system. The value can be `HDFS_MODE` or `ACC_MODE`.

func (FileSystemOutput) MountPoint

func (o FileSystemOutput) MountPoint() pulumi.StringOutput

The point mount.

func (FileSystemOutput) ReadOnly

func (o FileSystemOutput) ReadOnly() pulumi.BoolPtrOutput

Whether the Namespace created automatically when mounting the TOS Bucket is read-only. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.

func (FileSystemOutput) SecurityGroupId

func (o FileSystemOutput) SecurityGroupId() pulumi.StringPtrOutput

The id of security group. This parameter is required when cache acceleration is enabled.

func (FileSystemOutput) Status

Status of file system.

func (FileSystemOutput) SubnetId

The id of subnet. This parameter is required when cache acceleration is enabled.

func (FileSystemOutput) ToFileSystemOutput

func (o FileSystemOutput) ToFileSystemOutput() FileSystemOutput

func (FileSystemOutput) ToFileSystemOutputWithContext

func (o FileSystemOutput) ToFileSystemOutputWithContext(ctx context.Context) FileSystemOutput

func (FileSystemOutput) TosAccountId

func (o FileSystemOutput) TosAccountId() pulumi.IntPtrOutput

When a data lake scenario instance chooses to associate a bucket under another account, you need to set the ID of the account. When importing resources, this attribute will not be imported.

func (FileSystemOutput) TosAk

The tos ak. When the data lake scenario chooses to associate buckets under other accounts, need to set the Access Key ID of the account. When importing resources, this attribute will not be imported.

func (FileSystemOutput) TosBucket

func (o FileSystemOutput) TosBucket() pulumi.StringPtrOutput

The tos bucket. When importing ACC_MODE resources, this attribute will not be imported.

func (FileSystemOutput) TosPrefix

func (o FileSystemOutput) TosPrefix() pulumi.StringPtrOutput

The tos prefix. Must not start with /, but must end with /, such as prefix/. When it is empty, it means the root path. When importing ACC_MODE resources, this attribute will not be imported.

func (FileSystemOutput) TosSk

The tos sk. When the data lake scenario chooses to associate buckets under other accounts, need to set the Secret Access Key of the account. When importing resources, this attribute will not be imported.

func (FileSystemOutput) VpcId

The id of vpc.

func (FileSystemOutput) VpcRouteEnabled

func (o FileSystemOutput) VpcRouteEnabled() pulumi.BoolPtrOutput

Whether enable all vpc route.

func (FileSystemOutput) ZoneId

The id of zone.

type FileSystemState

type FileSystemState struct {
	// The default vpc access id.
	AccessId pulumi.StringPtrInput
	// The capacity of cache. This parameter is required when cache acceleration is enabled.
	CacheCapacityTib pulumi.IntPtrInput
	// The cache plan. The value can be `DISABLED` or `T2` or `T4`. When expanding the cache size, the cache plan should remain the same. For data lakes, cache must be enabled.
	CachePlan pulumi.StringPtrInput
	// The creation time.
	CreatedTime pulumi.StringPtrInput
	// The name of file system.
	FsName pulumi.StringPtrInput
	// The mode of file system. The value can be `HDFS_MODE` or `ACC_MODE`.
	Mode pulumi.StringPtrInput
	// The point mount.
	MountPoint pulumi.StringPtrInput
	// Whether the Namespace created automatically when mounting the TOS Bucket is read-only. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	ReadOnly pulumi.BoolPtrInput
	// The id of security group. This parameter is required when cache acceleration is enabled.
	SecurityGroupId pulumi.StringPtrInput
	// Status of file system.
	Status pulumi.StringPtrInput
	// The id of subnet. This parameter is required when cache acceleration is enabled.
	SubnetId pulumi.StringPtrInput
	// When a data lake scenario instance chooses to associate a bucket under another account, you need to set the ID of the account. When importing resources, this attribute will not be imported.
	TosAccountId pulumi.IntPtrInput
	// The tos ak. When the data lake scenario chooses to associate buckets under other accounts, need to set the Access Key ID of the account. When importing resources, this attribute will not be imported.
	TosAk pulumi.StringPtrInput
	// The tos bucket. When importing ACC_MODE resources, this attribute will not be imported.
	TosBucket pulumi.StringPtrInput
	// The tos prefix. Must not start with /, but must end with /, such as prefix/. When it is empty, it means the root path. When importing ACC_MODE resources, this attribute will not be imported.
	TosPrefix pulumi.StringPtrInput
	// The tos sk. When the data lake scenario chooses to associate buckets under other accounts, need to set the Secret Access Key of the account. When importing resources, this attribute will not be imported.
	TosSk pulumi.StringPtrInput
	// The id of vpc.
	VpcId pulumi.StringPtrInput
	// Whether enable all vpc route.
	VpcRouteEnabled pulumi.BoolPtrInput
	// The id of zone.
	ZoneId pulumi.StringPtrInput
}

func (FileSystemState) ElementType

func (FileSystemState) ElementType() reflect.Type

type FileSystemsArgs

type FileSystemsArgs struct {
	// The name of file system.
	FsName *string `pulumi:"fsName"`
	// The status of file system.
	MetaStatus *string `pulumi:"metaStatus"`
	// A Name Regex of cloudfs.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking FileSystems.

type FileSystemsFileSystem

type FileSystemsFileSystem struct {
	// The capacity of cache.
	CacheCapacityTib int `pulumi:"cacheCapacityTib"`
	// The plan of cache.
	CachePlan string `pulumi:"cachePlan"`
	// The creation time.
	CreatedTime string `pulumi:"createdTime"`
	// The ID of file system.
	Id string `pulumi:"id"`
	// The mode of file system.
	Mode string `pulumi:"mode"`
	// The point mount.
	MountPoint string `pulumi:"mountPoint"`
	// The name of file system.
	Name string `pulumi:"name"`
	// The id of region.
	RegionId string `pulumi:"regionId"`
	// The id of security group.
	SecurityGroupId string `pulumi:"securityGroupId"`
	// The status of file system.
	Status string `pulumi:"status"`
	// The id of subnet.
	SubnetId string `pulumi:"subnetId"`
	// The tos bucket.
	TosBucket string `pulumi:"tosBucket"`
	// The tos prefix.
	TosPrefix string `pulumi:"tosPrefix"`
	// The id of vpc.
	VpcId string `pulumi:"vpcId"`
	// The id of zone.
	ZoneId string `pulumi:"zoneId"`
}

type FileSystemsFileSystemArgs

type FileSystemsFileSystemArgs struct {
	// The capacity of cache.
	CacheCapacityTib pulumi.IntInput `pulumi:"cacheCapacityTib"`
	// The plan of cache.
	CachePlan pulumi.StringInput `pulumi:"cachePlan"`
	// The creation time.
	CreatedTime pulumi.StringInput `pulumi:"createdTime"`
	// The ID of file system.
	Id pulumi.StringInput `pulumi:"id"`
	// The mode of file system.
	Mode pulumi.StringInput `pulumi:"mode"`
	// The point mount.
	MountPoint pulumi.StringInput `pulumi:"mountPoint"`
	// The name of file system.
	Name pulumi.StringInput `pulumi:"name"`
	// The id of region.
	RegionId pulumi.StringInput `pulumi:"regionId"`
	// The id of security group.
	SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"`
	// The status of file system.
	Status pulumi.StringInput `pulumi:"status"`
	// The id of subnet.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
	// The tos bucket.
	TosBucket pulumi.StringInput `pulumi:"tosBucket"`
	// The tos prefix.
	TosPrefix pulumi.StringInput `pulumi:"tosPrefix"`
	// The id of vpc.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
	// The id of zone.
	ZoneId pulumi.StringInput `pulumi:"zoneId"`
}

func (FileSystemsFileSystemArgs) ElementType

func (FileSystemsFileSystemArgs) ElementType() reflect.Type

func (FileSystemsFileSystemArgs) ToFileSystemsFileSystemOutput

func (i FileSystemsFileSystemArgs) ToFileSystemsFileSystemOutput() FileSystemsFileSystemOutput

func (FileSystemsFileSystemArgs) ToFileSystemsFileSystemOutputWithContext

func (i FileSystemsFileSystemArgs) ToFileSystemsFileSystemOutputWithContext(ctx context.Context) FileSystemsFileSystemOutput

type FileSystemsFileSystemArray

type FileSystemsFileSystemArray []FileSystemsFileSystemInput

func (FileSystemsFileSystemArray) ElementType

func (FileSystemsFileSystemArray) ElementType() reflect.Type

func (FileSystemsFileSystemArray) ToFileSystemsFileSystemArrayOutput

func (i FileSystemsFileSystemArray) ToFileSystemsFileSystemArrayOutput() FileSystemsFileSystemArrayOutput

func (FileSystemsFileSystemArray) ToFileSystemsFileSystemArrayOutputWithContext

func (i FileSystemsFileSystemArray) ToFileSystemsFileSystemArrayOutputWithContext(ctx context.Context) FileSystemsFileSystemArrayOutput

type FileSystemsFileSystemArrayInput

type FileSystemsFileSystemArrayInput interface {
	pulumi.Input

	ToFileSystemsFileSystemArrayOutput() FileSystemsFileSystemArrayOutput
	ToFileSystemsFileSystemArrayOutputWithContext(context.Context) FileSystemsFileSystemArrayOutput
}

FileSystemsFileSystemArrayInput is an input type that accepts FileSystemsFileSystemArray and FileSystemsFileSystemArrayOutput values. You can construct a concrete instance of `FileSystemsFileSystemArrayInput` via:

FileSystemsFileSystemArray{ FileSystemsFileSystemArgs{...} }

type FileSystemsFileSystemArrayOutput

type FileSystemsFileSystemArrayOutput struct{ *pulumi.OutputState }

func (FileSystemsFileSystemArrayOutput) ElementType

func (FileSystemsFileSystemArrayOutput) Index

func (FileSystemsFileSystemArrayOutput) ToFileSystemsFileSystemArrayOutput

func (o FileSystemsFileSystemArrayOutput) ToFileSystemsFileSystemArrayOutput() FileSystemsFileSystemArrayOutput

func (FileSystemsFileSystemArrayOutput) ToFileSystemsFileSystemArrayOutputWithContext

func (o FileSystemsFileSystemArrayOutput) ToFileSystemsFileSystemArrayOutputWithContext(ctx context.Context) FileSystemsFileSystemArrayOutput

type FileSystemsFileSystemInput

type FileSystemsFileSystemInput interface {
	pulumi.Input

	ToFileSystemsFileSystemOutput() FileSystemsFileSystemOutput
	ToFileSystemsFileSystemOutputWithContext(context.Context) FileSystemsFileSystemOutput
}

FileSystemsFileSystemInput is an input type that accepts FileSystemsFileSystemArgs and FileSystemsFileSystemOutput values. You can construct a concrete instance of `FileSystemsFileSystemInput` via:

FileSystemsFileSystemArgs{...}

type FileSystemsFileSystemOutput

type FileSystemsFileSystemOutput struct{ *pulumi.OutputState }

func (FileSystemsFileSystemOutput) CacheCapacityTib

func (o FileSystemsFileSystemOutput) CacheCapacityTib() pulumi.IntOutput

The capacity of cache.

func (FileSystemsFileSystemOutput) CachePlan

The plan of cache.

func (FileSystemsFileSystemOutput) CreatedTime

The creation time.

func (FileSystemsFileSystemOutput) ElementType

func (FileSystemsFileSystemOutput) Id

The ID of file system.

func (FileSystemsFileSystemOutput) Mode

The mode of file system.

func (FileSystemsFileSystemOutput) MountPoint

The point mount.

func (FileSystemsFileSystemOutput) Name

The name of file system.

func (FileSystemsFileSystemOutput) RegionId

The id of region.

func (FileSystemsFileSystemOutput) SecurityGroupId

func (o FileSystemsFileSystemOutput) SecurityGroupId() pulumi.StringOutput

The id of security group.

func (FileSystemsFileSystemOutput) Status

The status of file system.

func (FileSystemsFileSystemOutput) SubnetId

The id of subnet.

func (FileSystemsFileSystemOutput) ToFileSystemsFileSystemOutput

func (o FileSystemsFileSystemOutput) ToFileSystemsFileSystemOutput() FileSystemsFileSystemOutput

func (FileSystemsFileSystemOutput) ToFileSystemsFileSystemOutputWithContext

func (o FileSystemsFileSystemOutput) ToFileSystemsFileSystemOutputWithContext(ctx context.Context) FileSystemsFileSystemOutput

func (FileSystemsFileSystemOutput) TosBucket

The tos bucket.

func (FileSystemsFileSystemOutput) TosPrefix

The tos prefix.

func (FileSystemsFileSystemOutput) VpcId

The id of vpc.

func (FileSystemsFileSystemOutput) ZoneId

The id of zone.

type FileSystemsOutputArgs

type FileSystemsOutputArgs struct {
	// The name of file system.
	FsName pulumi.StringPtrInput `pulumi:"fsName"`
	// The status of file system.
	MetaStatus pulumi.StringPtrInput `pulumi:"metaStatus"`
	// A Name Regex of cloudfs.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking FileSystems.

func (FileSystemsOutputArgs) ElementType

func (FileSystemsOutputArgs) ElementType() reflect.Type

type FileSystemsResult

type FileSystemsResult struct {
	// The collection of query.
	FileSystems []FileSystemsFileSystem `pulumi:"fileSystems"`
	FsName      *string                 `pulumi:"fsName"`
	// The provider-assigned unique ID for this managed resource.
	Id         string  `pulumi:"id"`
	MetaStatus *string `pulumi:"metaStatus"`
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// The total count of query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by FileSystems.

func FileSystems

func FileSystems(ctx *pulumi.Context, args *FileSystemsArgs, opts ...pulumi.InvokeOption) (*FileSystemsResult, error)

Use this data source to query detailed information of cloudfs file systems ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloudfs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudfs.FileSystems(ctx, &cloudfs.FileSystemsArgs{
			FsName: pulumi.StringRef("tftest2"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type FileSystemsResultOutput

type FileSystemsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by FileSystems.

func (FileSystemsResultOutput) ElementType

func (FileSystemsResultOutput) ElementType() reflect.Type

func (FileSystemsResultOutput) FileSystems

The collection of query.

func (FileSystemsResultOutput) FsName

func (FileSystemsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (FileSystemsResultOutput) MetaStatus

func (FileSystemsResultOutput) NameRegex

func (FileSystemsResultOutput) OutputFile

func (FileSystemsResultOutput) ToFileSystemsResultOutput

func (o FileSystemsResultOutput) ToFileSystemsResultOutput() FileSystemsResultOutput

func (FileSystemsResultOutput) ToFileSystemsResultOutputWithContext

func (o FileSystemsResultOutput) ToFileSystemsResultOutputWithContext(ctx context.Context) FileSystemsResultOutput

func (FileSystemsResultOutput) TotalCount

func (o FileSystemsResultOutput) TotalCount() pulumi.IntOutput

The total count of query.

type Namespace

type Namespace struct {
	pulumi.CustomResourceState

	// The creation time of the namespace.
	CreatedTime pulumi.StringOutput `pulumi:"createdTime"`
	// The name of file system.
	FsName pulumi.StringOutput `pulumi:"fsName"`
	// Whether the tos bucket is your own bucket.
	IsMyBucket pulumi.BoolOutput `pulumi:"isMyBucket"`
	// The id of namespace.
	NsId pulumi.StringOutput `pulumi:"nsId"`
	// Whether the namespace is read-only.
	ReadOnly pulumi.BoolPtrOutput `pulumi:"readOnly"`
	// Whether the namespace is the official service for volcengine.
	ServiceManaged pulumi.BoolOutput `pulumi:"serviceManaged"`
	// The status of the namespace.
	Status pulumi.StringOutput `pulumi:"status"`
	// When a data lake scenario instance chooses to associate a bucket under another account, you need to set the ID of the account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	TosAccountId pulumi.IntPtrOutput `pulumi:"tosAccountId"`
	// The tos ak. When the data lake scenario chooses to associate buckets under other accounts, need to set the Access Key ID of the account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	TosAk pulumi.StringPtrOutput `pulumi:"tosAk"`
	// The name of tos bucket.
	TosBucket pulumi.StringOutput `pulumi:"tosBucket"`
	// The tos prefix. Must not start with /, but must end with /, such as prefix/. When it is empty, it means the root path.
	TosPrefix pulumi.StringPtrOutput `pulumi:"tosPrefix"`
	// The tos sk. When the data lake scenario chooses to associate buckets under other accounts, need to set the Secret Access Key of the account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	TosSk pulumi.StringPtrOutput `pulumi:"tosSk"`
}

Provides a resource to manage cloudfs namespace ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloudfs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudfs.NewNamespace(ctx, "foo", &cloudfs.NamespaceArgs{
			FsName:    pulumi.String("tf-test-fs"),
			ReadOnly:  pulumi.Bool(true),
			TosBucket: pulumi.String("tf-test"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CloudfsNamespace can be imported using the FsName:NsId, e.g.

```sh

$ pulumi import volcengine:cloudfs/namespace:Namespace default tfname:1801439850948****

```

func GetNamespace

func GetNamespace(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NamespaceState, opts ...pulumi.ResourceOption) (*Namespace, error)

GetNamespace gets an existing Namespace resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewNamespace

func NewNamespace(ctx *pulumi.Context,
	name string, args *NamespaceArgs, opts ...pulumi.ResourceOption) (*Namespace, error)

NewNamespace registers a new resource with the given unique name, arguments, and options.

func (*Namespace) ElementType

func (*Namespace) ElementType() reflect.Type

func (*Namespace) ToNamespaceOutput

func (i *Namespace) ToNamespaceOutput() NamespaceOutput

func (*Namespace) ToNamespaceOutputWithContext

func (i *Namespace) ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput

type NamespaceArgs

type NamespaceArgs struct {
	// The name of file system.
	FsName pulumi.StringInput
	// Whether the namespace is read-only.
	ReadOnly pulumi.BoolPtrInput
	// When a data lake scenario instance chooses to associate a bucket under another account, you need to set the ID of the account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	TosAccountId pulumi.IntPtrInput
	// The tos ak. When the data lake scenario chooses to associate buckets under other accounts, need to set the Access Key ID of the account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	TosAk pulumi.StringPtrInput
	// The name of tos bucket.
	TosBucket pulumi.StringInput
	// The tos prefix. Must not start with /, but must end with /, such as prefix/. When it is empty, it means the root path.
	TosPrefix pulumi.StringPtrInput
	// The tos sk. When the data lake scenario chooses to associate buckets under other accounts, need to set the Secret Access Key of the account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	TosSk pulumi.StringPtrInput
}

The set of arguments for constructing a Namespace resource.

func (NamespaceArgs) ElementType

func (NamespaceArgs) ElementType() reflect.Type

type NamespaceArray

type NamespaceArray []NamespaceInput

func (NamespaceArray) ElementType

func (NamespaceArray) ElementType() reflect.Type

func (NamespaceArray) ToNamespaceArrayOutput

func (i NamespaceArray) ToNamespaceArrayOutput() NamespaceArrayOutput

func (NamespaceArray) ToNamespaceArrayOutputWithContext

func (i NamespaceArray) ToNamespaceArrayOutputWithContext(ctx context.Context) NamespaceArrayOutput

type NamespaceArrayInput

type NamespaceArrayInput interface {
	pulumi.Input

	ToNamespaceArrayOutput() NamespaceArrayOutput
	ToNamespaceArrayOutputWithContext(context.Context) NamespaceArrayOutput
}

NamespaceArrayInput is an input type that accepts NamespaceArray and NamespaceArrayOutput values. You can construct a concrete instance of `NamespaceArrayInput` via:

NamespaceArray{ NamespaceArgs{...} }

type NamespaceArrayOutput

type NamespaceArrayOutput struct{ *pulumi.OutputState }

func (NamespaceArrayOutput) ElementType

func (NamespaceArrayOutput) ElementType() reflect.Type

func (NamespaceArrayOutput) Index

func (NamespaceArrayOutput) ToNamespaceArrayOutput

func (o NamespaceArrayOutput) ToNamespaceArrayOutput() NamespaceArrayOutput

func (NamespaceArrayOutput) ToNamespaceArrayOutputWithContext

func (o NamespaceArrayOutput) ToNamespaceArrayOutputWithContext(ctx context.Context) NamespaceArrayOutput

type NamespaceInput

type NamespaceInput interface {
	pulumi.Input

	ToNamespaceOutput() NamespaceOutput
	ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput
}

type NamespaceMap

type NamespaceMap map[string]NamespaceInput

func (NamespaceMap) ElementType

func (NamespaceMap) ElementType() reflect.Type

func (NamespaceMap) ToNamespaceMapOutput

func (i NamespaceMap) ToNamespaceMapOutput() NamespaceMapOutput

func (NamespaceMap) ToNamespaceMapOutputWithContext

func (i NamespaceMap) ToNamespaceMapOutputWithContext(ctx context.Context) NamespaceMapOutput

type NamespaceMapInput

type NamespaceMapInput interface {
	pulumi.Input

	ToNamespaceMapOutput() NamespaceMapOutput
	ToNamespaceMapOutputWithContext(context.Context) NamespaceMapOutput
}

NamespaceMapInput is an input type that accepts NamespaceMap and NamespaceMapOutput values. You can construct a concrete instance of `NamespaceMapInput` via:

NamespaceMap{ "key": NamespaceArgs{...} }

type NamespaceMapOutput

type NamespaceMapOutput struct{ *pulumi.OutputState }

func (NamespaceMapOutput) ElementType

func (NamespaceMapOutput) ElementType() reflect.Type

func (NamespaceMapOutput) MapIndex

func (NamespaceMapOutput) ToNamespaceMapOutput

func (o NamespaceMapOutput) ToNamespaceMapOutput() NamespaceMapOutput

func (NamespaceMapOutput) ToNamespaceMapOutputWithContext

func (o NamespaceMapOutput) ToNamespaceMapOutputWithContext(ctx context.Context) NamespaceMapOutput

type NamespaceOutput

type NamespaceOutput struct{ *pulumi.OutputState }

func (NamespaceOutput) CreatedTime

func (o NamespaceOutput) CreatedTime() pulumi.StringOutput

The creation time of the namespace.

func (NamespaceOutput) ElementType

func (NamespaceOutput) ElementType() reflect.Type

func (NamespaceOutput) FsName

func (o NamespaceOutput) FsName() pulumi.StringOutput

The name of file system.

func (NamespaceOutput) IsMyBucket

func (o NamespaceOutput) IsMyBucket() pulumi.BoolOutput

Whether the tos bucket is your own bucket.

func (NamespaceOutput) NsId

The id of namespace.

func (NamespaceOutput) ReadOnly

func (o NamespaceOutput) ReadOnly() pulumi.BoolPtrOutput

Whether the namespace is read-only.

func (NamespaceOutput) ServiceManaged

func (o NamespaceOutput) ServiceManaged() pulumi.BoolOutput

Whether the namespace is the official service for volcengine.

func (NamespaceOutput) Status

func (o NamespaceOutput) Status() pulumi.StringOutput

The status of the namespace.

func (NamespaceOutput) ToNamespaceOutput

func (o NamespaceOutput) ToNamespaceOutput() NamespaceOutput

func (NamespaceOutput) ToNamespaceOutputWithContext

func (o NamespaceOutput) ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput

func (NamespaceOutput) TosAccountId

func (o NamespaceOutput) TosAccountId() pulumi.IntPtrOutput

When a data lake scenario instance chooses to associate a bucket under another account, you need to set the ID of the account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.

func (NamespaceOutput) TosAk

The tos ak. When the data lake scenario chooses to associate buckets under other accounts, need to set the Access Key ID of the account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.

func (NamespaceOutput) TosBucket

func (o NamespaceOutput) TosBucket() pulumi.StringOutput

The name of tos bucket.

func (NamespaceOutput) TosPrefix

func (o NamespaceOutput) TosPrefix() pulumi.StringPtrOutput

The tos prefix. Must not start with /, but must end with /, such as prefix/. When it is empty, it means the root path.

func (NamespaceOutput) TosSk

The tos sk. When the data lake scenario chooses to associate buckets under other accounts, need to set the Secret Access Key of the account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.

type NamespaceState

type NamespaceState struct {
	// The creation time of the namespace.
	CreatedTime pulumi.StringPtrInput
	// The name of file system.
	FsName pulumi.StringPtrInput
	// Whether the tos bucket is your own bucket.
	IsMyBucket pulumi.BoolPtrInput
	// The id of namespace.
	NsId pulumi.StringPtrInput
	// Whether the namespace is read-only.
	ReadOnly pulumi.BoolPtrInput
	// Whether the namespace is the official service for volcengine.
	ServiceManaged pulumi.BoolPtrInput
	// The status of the namespace.
	Status pulumi.StringPtrInput
	// When a data lake scenario instance chooses to associate a bucket under another account, you need to set the ID of the account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	TosAccountId pulumi.IntPtrInput
	// The tos ak. When the data lake scenario chooses to associate buckets under other accounts, need to set the Access Key ID of the account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	TosAk pulumi.StringPtrInput
	// The name of tos bucket.
	TosBucket pulumi.StringPtrInput
	// The tos prefix. Must not start with /, but must end with /, such as prefix/. When it is empty, it means the root path.
	TosPrefix pulumi.StringPtrInput
	// The tos sk. When the data lake scenario chooses to associate buckets under other accounts, need to set the Secret Access Key of the account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	TosSk pulumi.StringPtrInput
}

func (NamespaceState) ElementType

func (NamespaceState) ElementType() reflect.Type

type NamespacesArgs

type NamespacesArgs struct {
	// The name of file system.
	FsName string `pulumi:"fsName"`
	// The id of namespace.
	NsId *string `pulumi:"nsId"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The name of tos bucket.
	TosBucket *string `pulumi:"tosBucket"`
}

A collection of arguments for invoking Namespaces.

type NamespacesNamespace

type NamespacesNamespace struct {
	// The creation time of the namespace.
	CreatedTime string `pulumi:"createdTime"`
	// The ID of the namespace.
	Id string `pulumi:"id"`
	// Whether the tos bucket is your own bucket.
	IsMyBucket bool `pulumi:"isMyBucket"`
	// Whether the namespace is read-only.
	ReadOnly bool `pulumi:"readOnly"`
	// Whether the namespace is the official service for volcengine.
	ServiceManaged bool `pulumi:"serviceManaged"`
	// The status of the namespace.
	Status string `pulumi:"status"`
	// The name of tos bucket.
	TosBucket string `pulumi:"tosBucket"`
	// The tos prefix.
	TosPrefix string `pulumi:"tosPrefix"`
}

type NamespacesNamespaceArgs

type NamespacesNamespaceArgs struct {
	// The creation time of the namespace.
	CreatedTime pulumi.StringInput `pulumi:"createdTime"`
	// The ID of the namespace.
	Id pulumi.StringInput `pulumi:"id"`
	// Whether the tos bucket is your own bucket.
	IsMyBucket pulumi.BoolInput `pulumi:"isMyBucket"`
	// Whether the namespace is read-only.
	ReadOnly pulumi.BoolInput `pulumi:"readOnly"`
	// Whether the namespace is the official service for volcengine.
	ServiceManaged pulumi.BoolInput `pulumi:"serviceManaged"`
	// The status of the namespace.
	Status pulumi.StringInput `pulumi:"status"`
	// The name of tos bucket.
	TosBucket pulumi.StringInput `pulumi:"tosBucket"`
	// The tos prefix.
	TosPrefix pulumi.StringInput `pulumi:"tosPrefix"`
}

func (NamespacesNamespaceArgs) ElementType

func (NamespacesNamespaceArgs) ElementType() reflect.Type

func (NamespacesNamespaceArgs) ToNamespacesNamespaceOutput

func (i NamespacesNamespaceArgs) ToNamespacesNamespaceOutput() NamespacesNamespaceOutput

func (NamespacesNamespaceArgs) ToNamespacesNamespaceOutputWithContext

func (i NamespacesNamespaceArgs) ToNamespacesNamespaceOutputWithContext(ctx context.Context) NamespacesNamespaceOutput

type NamespacesNamespaceArray

type NamespacesNamespaceArray []NamespacesNamespaceInput

func (NamespacesNamespaceArray) ElementType

func (NamespacesNamespaceArray) ElementType() reflect.Type

func (NamespacesNamespaceArray) ToNamespacesNamespaceArrayOutput

func (i NamespacesNamespaceArray) ToNamespacesNamespaceArrayOutput() NamespacesNamespaceArrayOutput

func (NamespacesNamespaceArray) ToNamespacesNamespaceArrayOutputWithContext

func (i NamespacesNamespaceArray) ToNamespacesNamespaceArrayOutputWithContext(ctx context.Context) NamespacesNamespaceArrayOutput

type NamespacesNamespaceArrayInput

type NamespacesNamespaceArrayInput interface {
	pulumi.Input

	ToNamespacesNamespaceArrayOutput() NamespacesNamespaceArrayOutput
	ToNamespacesNamespaceArrayOutputWithContext(context.Context) NamespacesNamespaceArrayOutput
}

NamespacesNamespaceArrayInput is an input type that accepts NamespacesNamespaceArray and NamespacesNamespaceArrayOutput values. You can construct a concrete instance of `NamespacesNamespaceArrayInput` via:

NamespacesNamespaceArray{ NamespacesNamespaceArgs{...} }

type NamespacesNamespaceArrayOutput

type NamespacesNamespaceArrayOutput struct{ *pulumi.OutputState }

func (NamespacesNamespaceArrayOutput) ElementType

func (NamespacesNamespaceArrayOutput) Index

func (NamespacesNamespaceArrayOutput) ToNamespacesNamespaceArrayOutput

func (o NamespacesNamespaceArrayOutput) ToNamespacesNamespaceArrayOutput() NamespacesNamespaceArrayOutput

func (NamespacesNamespaceArrayOutput) ToNamespacesNamespaceArrayOutputWithContext

func (o NamespacesNamespaceArrayOutput) ToNamespacesNamespaceArrayOutputWithContext(ctx context.Context) NamespacesNamespaceArrayOutput

type NamespacesNamespaceInput

type NamespacesNamespaceInput interface {
	pulumi.Input

	ToNamespacesNamespaceOutput() NamespacesNamespaceOutput
	ToNamespacesNamespaceOutputWithContext(context.Context) NamespacesNamespaceOutput
}

NamespacesNamespaceInput is an input type that accepts NamespacesNamespaceArgs and NamespacesNamespaceOutput values. You can construct a concrete instance of `NamespacesNamespaceInput` via:

NamespacesNamespaceArgs{...}

type NamespacesNamespaceOutput

type NamespacesNamespaceOutput struct{ *pulumi.OutputState }

func (NamespacesNamespaceOutput) CreatedTime

The creation time of the namespace.

func (NamespacesNamespaceOutput) ElementType

func (NamespacesNamespaceOutput) ElementType() reflect.Type

func (NamespacesNamespaceOutput) Id

The ID of the namespace.

func (NamespacesNamespaceOutput) IsMyBucket

Whether the tos bucket is your own bucket.

func (NamespacesNamespaceOutput) ReadOnly

Whether the namespace is read-only.

func (NamespacesNamespaceOutput) ServiceManaged

func (o NamespacesNamespaceOutput) ServiceManaged() pulumi.BoolOutput

Whether the namespace is the official service for volcengine.

func (NamespacesNamespaceOutput) Status

The status of the namespace.

func (NamespacesNamespaceOutput) ToNamespacesNamespaceOutput

func (o NamespacesNamespaceOutput) ToNamespacesNamespaceOutput() NamespacesNamespaceOutput

func (NamespacesNamespaceOutput) ToNamespacesNamespaceOutputWithContext

func (o NamespacesNamespaceOutput) ToNamespacesNamespaceOutputWithContext(ctx context.Context) NamespacesNamespaceOutput

func (NamespacesNamespaceOutput) TosBucket

The name of tos bucket.

func (NamespacesNamespaceOutput) TosPrefix

The tos prefix.

type NamespacesOutputArgs

type NamespacesOutputArgs struct {
	// The name of file system.
	FsName pulumi.StringInput `pulumi:"fsName"`
	// The id of namespace.
	NsId pulumi.StringPtrInput `pulumi:"nsId"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The name of tos bucket.
	TosBucket pulumi.StringPtrInput `pulumi:"tosBucket"`
}

A collection of arguments for invoking Namespaces.

func (NamespacesOutputArgs) ElementType

func (NamespacesOutputArgs) ElementType() reflect.Type

type NamespacesResult

type NamespacesResult struct {
	FsName string `pulumi:"fsName"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The collection of query.
	Namespaces []NamespacesNamespace `pulumi:"namespaces"`
	NsId       *string               `pulumi:"nsId"`
	OutputFile *string               `pulumi:"outputFile"`
	// The name of the tos bucket.
	TosBucket *string `pulumi:"tosBucket"`
	// The total count of query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by Namespaces.

func Namespaces

func Namespaces(ctx *pulumi.Context, args *NamespacesArgs, opts ...pulumi.InvokeOption) (*NamespacesResult, error)

Use this data source to query detailed information of cloudfs namespaces ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloudfs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudfs.Namespaces(ctx, &cloudfs.NamespacesArgs{
			FsName: "tf-test-fs",
			NsId:   pulumi.StringRef("1801439850948****"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type NamespacesResultOutput

type NamespacesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by Namespaces.

func (NamespacesResultOutput) ElementType

func (NamespacesResultOutput) ElementType() reflect.Type

func (NamespacesResultOutput) FsName

func (NamespacesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (NamespacesResultOutput) Namespaces

The collection of query.

func (NamespacesResultOutput) NsId

func (NamespacesResultOutput) OutputFile

func (NamespacesResultOutput) ToNamespacesResultOutput

func (o NamespacesResultOutput) ToNamespacesResultOutput() NamespacesResultOutput

func (NamespacesResultOutput) ToNamespacesResultOutputWithContext

func (o NamespacesResultOutput) ToNamespacesResultOutputWithContext(ctx context.Context) NamespacesResultOutput

func (NamespacesResultOutput) TosBucket

The name of the tos bucket.

func (NamespacesResultOutput) TotalCount

func (o NamespacesResultOutput) TotalCount() pulumi.IntOutput

The total count of query.

type NsQuotasArgs

type NsQuotasArgs struct {
	// A list of fs name.
	FsNames []string `pulumi:"fsNames"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking NsQuotas.

type NsQuotasOutputArgs

type NsQuotasOutputArgs struct {
	// A list of fs name.
	FsNames pulumi.StringArrayInput `pulumi:"fsNames"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking NsQuotas.

func (NsQuotasOutputArgs) ElementType

func (NsQuotasOutputArgs) ElementType() reflect.Type

type NsQuotasQuota

type NsQuotasQuota struct {
	// The ID of account.
	AccountId int `pulumi:"accountId"`
	// The name of fs.
	FsName string `pulumi:"fsName"`
	// The count of cloud fs namespace.
	NsCount int `pulumi:"nsCount"`
	// This file stores the number of namespaces under the instance.
	NsCountPerFs int `pulumi:"nsCountPerFs"`
	// The quota of cloud fs namespace.
	NsQuota int `pulumi:"nsQuota"`
	// This file stores the total namespace quota under the instance.
	NsQuotaPerFs int `pulumi:"nsQuotaPerFs"`
	// Whether is enough of cloud fs namespace.
	QuotaEnough bool `pulumi:"quotaEnough"`
}

type NsQuotasQuotaArgs

type NsQuotasQuotaArgs struct {
	// The ID of account.
	AccountId pulumi.IntInput `pulumi:"accountId"`
	// The name of fs.
	FsName pulumi.StringInput `pulumi:"fsName"`
	// The count of cloud fs namespace.
	NsCount pulumi.IntInput `pulumi:"nsCount"`
	// This file stores the number of namespaces under the instance.
	NsCountPerFs pulumi.IntInput `pulumi:"nsCountPerFs"`
	// The quota of cloud fs namespace.
	NsQuota pulumi.IntInput `pulumi:"nsQuota"`
	// This file stores the total namespace quota under the instance.
	NsQuotaPerFs pulumi.IntInput `pulumi:"nsQuotaPerFs"`
	// Whether is enough of cloud fs namespace.
	QuotaEnough pulumi.BoolInput `pulumi:"quotaEnough"`
}

func (NsQuotasQuotaArgs) ElementType

func (NsQuotasQuotaArgs) ElementType() reflect.Type

func (NsQuotasQuotaArgs) ToNsQuotasQuotaOutput

func (i NsQuotasQuotaArgs) ToNsQuotasQuotaOutput() NsQuotasQuotaOutput

func (NsQuotasQuotaArgs) ToNsQuotasQuotaOutputWithContext

func (i NsQuotasQuotaArgs) ToNsQuotasQuotaOutputWithContext(ctx context.Context) NsQuotasQuotaOutput

type NsQuotasQuotaArray

type NsQuotasQuotaArray []NsQuotasQuotaInput

func (NsQuotasQuotaArray) ElementType

func (NsQuotasQuotaArray) ElementType() reflect.Type

func (NsQuotasQuotaArray) ToNsQuotasQuotaArrayOutput

func (i NsQuotasQuotaArray) ToNsQuotasQuotaArrayOutput() NsQuotasQuotaArrayOutput

func (NsQuotasQuotaArray) ToNsQuotasQuotaArrayOutputWithContext

func (i NsQuotasQuotaArray) ToNsQuotasQuotaArrayOutputWithContext(ctx context.Context) NsQuotasQuotaArrayOutput

type NsQuotasQuotaArrayInput

type NsQuotasQuotaArrayInput interface {
	pulumi.Input

	ToNsQuotasQuotaArrayOutput() NsQuotasQuotaArrayOutput
	ToNsQuotasQuotaArrayOutputWithContext(context.Context) NsQuotasQuotaArrayOutput
}

NsQuotasQuotaArrayInput is an input type that accepts NsQuotasQuotaArray and NsQuotasQuotaArrayOutput values. You can construct a concrete instance of `NsQuotasQuotaArrayInput` via:

NsQuotasQuotaArray{ NsQuotasQuotaArgs{...} }

type NsQuotasQuotaArrayOutput

type NsQuotasQuotaArrayOutput struct{ *pulumi.OutputState }

func (NsQuotasQuotaArrayOutput) ElementType

func (NsQuotasQuotaArrayOutput) ElementType() reflect.Type

func (NsQuotasQuotaArrayOutput) Index

func (NsQuotasQuotaArrayOutput) ToNsQuotasQuotaArrayOutput

func (o NsQuotasQuotaArrayOutput) ToNsQuotasQuotaArrayOutput() NsQuotasQuotaArrayOutput

func (NsQuotasQuotaArrayOutput) ToNsQuotasQuotaArrayOutputWithContext

func (o NsQuotasQuotaArrayOutput) ToNsQuotasQuotaArrayOutputWithContext(ctx context.Context) NsQuotasQuotaArrayOutput

type NsQuotasQuotaInput

type NsQuotasQuotaInput interface {
	pulumi.Input

	ToNsQuotasQuotaOutput() NsQuotasQuotaOutput
	ToNsQuotasQuotaOutputWithContext(context.Context) NsQuotasQuotaOutput
}

NsQuotasQuotaInput is an input type that accepts NsQuotasQuotaArgs and NsQuotasQuotaOutput values. You can construct a concrete instance of `NsQuotasQuotaInput` via:

NsQuotasQuotaArgs{...}

type NsQuotasQuotaOutput

type NsQuotasQuotaOutput struct{ *pulumi.OutputState }

func (NsQuotasQuotaOutput) AccountId

func (o NsQuotasQuotaOutput) AccountId() pulumi.IntOutput

The ID of account.

func (NsQuotasQuotaOutput) ElementType

func (NsQuotasQuotaOutput) ElementType() reflect.Type

func (NsQuotasQuotaOutput) FsName

The name of fs.

func (NsQuotasQuotaOutput) NsCount

func (o NsQuotasQuotaOutput) NsCount() pulumi.IntOutput

The count of cloud fs namespace.

func (NsQuotasQuotaOutput) NsCountPerFs

func (o NsQuotasQuotaOutput) NsCountPerFs() pulumi.IntOutput

This file stores the number of namespaces under the instance.

func (NsQuotasQuotaOutput) NsQuota

func (o NsQuotasQuotaOutput) NsQuota() pulumi.IntOutput

The quota of cloud fs namespace.

func (NsQuotasQuotaOutput) NsQuotaPerFs

func (o NsQuotasQuotaOutput) NsQuotaPerFs() pulumi.IntOutput

This file stores the total namespace quota under the instance.

func (NsQuotasQuotaOutput) QuotaEnough

func (o NsQuotasQuotaOutput) QuotaEnough() pulumi.BoolOutput

Whether is enough of cloud fs namespace.

func (NsQuotasQuotaOutput) ToNsQuotasQuotaOutput

func (o NsQuotasQuotaOutput) ToNsQuotasQuotaOutput() NsQuotasQuotaOutput

func (NsQuotasQuotaOutput) ToNsQuotasQuotaOutputWithContext

func (o NsQuotasQuotaOutput) ToNsQuotasQuotaOutputWithContext(ctx context.Context) NsQuotasQuotaOutput

type NsQuotasResult

type NsQuotasResult struct {
	FsNames []string `pulumi:"fsNames"`
	// The provider-assigned unique ID for this managed resource.
	Id         string  `pulumi:"id"`
	OutputFile *string `pulumi:"outputFile"`
	// The collection of query.
	Quotas []NsQuotasQuota `pulumi:"quotas"`
	// The total count of cloud fs quota query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by NsQuotas.

func NsQuotas

func NsQuotas(ctx *pulumi.Context, args *NsQuotasArgs, opts ...pulumi.InvokeOption) (*NsQuotasResult, error)

Use this data source to query detailed information of cloudfs ns quotas ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloudfs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudfs.NsQuotas(ctx, &cloudfs.NsQuotasArgs{
			FsNames: []string{
				"tffile",
				"tftest2",
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type NsQuotasResultOutput

type NsQuotasResultOutput struct{ *pulumi.OutputState }

A collection of values returned by NsQuotas.

func (NsQuotasResultOutput) ElementType

func (NsQuotasResultOutput) ElementType() reflect.Type

func (NsQuotasResultOutput) FsNames

func (NsQuotasResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (NsQuotasResultOutput) OutputFile

func (NsQuotasResultOutput) Quotas

The collection of query.

func (NsQuotasResultOutput) ToNsQuotasResultOutput

func (o NsQuotasResultOutput) ToNsQuotasResultOutput() NsQuotasResultOutput

func (NsQuotasResultOutput) ToNsQuotasResultOutputWithContext

func (o NsQuotasResultOutput) ToNsQuotasResultOutputWithContext(ctx context.Context) NsQuotasResultOutput

func (NsQuotasResultOutput) TotalCount

func (o NsQuotasResultOutput) TotalCount() pulumi.IntOutput

The total count of cloud fs quota query.

type QuotasArgs

type QuotasArgs struct {
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking Quotas.

type QuotasOutputArgs

type QuotasOutputArgs struct {
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking Quotas.

func (QuotasOutputArgs) ElementType

func (QuotasOutputArgs) ElementType() reflect.Type

type QuotasQuota

type QuotasQuota struct {
	// The ID of account.
	AccountId int `pulumi:"accountId"`
	// The count of cloud fs.
	FsCount int `pulumi:"fsCount"`
	// The quota of cloud fs.
	FsQuota int `pulumi:"fsQuota"`
	// Whether is enough of cloud fs.
	QuotaEnough bool `pulumi:"quotaEnough"`
}

type QuotasQuotaArgs

type QuotasQuotaArgs struct {
	// The ID of account.
	AccountId pulumi.IntInput `pulumi:"accountId"`
	// The count of cloud fs.
	FsCount pulumi.IntInput `pulumi:"fsCount"`
	// The quota of cloud fs.
	FsQuota pulumi.IntInput `pulumi:"fsQuota"`
	// Whether is enough of cloud fs.
	QuotaEnough pulumi.BoolInput `pulumi:"quotaEnough"`
}

func (QuotasQuotaArgs) ElementType

func (QuotasQuotaArgs) ElementType() reflect.Type

func (QuotasQuotaArgs) ToQuotasQuotaOutput

func (i QuotasQuotaArgs) ToQuotasQuotaOutput() QuotasQuotaOutput

func (QuotasQuotaArgs) ToQuotasQuotaOutputWithContext

func (i QuotasQuotaArgs) ToQuotasQuotaOutputWithContext(ctx context.Context) QuotasQuotaOutput

type QuotasQuotaArray

type QuotasQuotaArray []QuotasQuotaInput

func (QuotasQuotaArray) ElementType

func (QuotasQuotaArray) ElementType() reflect.Type

func (QuotasQuotaArray) ToQuotasQuotaArrayOutput

func (i QuotasQuotaArray) ToQuotasQuotaArrayOutput() QuotasQuotaArrayOutput

func (QuotasQuotaArray) ToQuotasQuotaArrayOutputWithContext

func (i QuotasQuotaArray) ToQuotasQuotaArrayOutputWithContext(ctx context.Context) QuotasQuotaArrayOutput

type QuotasQuotaArrayInput

type QuotasQuotaArrayInput interface {
	pulumi.Input

	ToQuotasQuotaArrayOutput() QuotasQuotaArrayOutput
	ToQuotasQuotaArrayOutputWithContext(context.Context) QuotasQuotaArrayOutput
}

QuotasQuotaArrayInput is an input type that accepts QuotasQuotaArray and QuotasQuotaArrayOutput values. You can construct a concrete instance of `QuotasQuotaArrayInput` via:

QuotasQuotaArray{ QuotasQuotaArgs{...} }

type QuotasQuotaArrayOutput

type QuotasQuotaArrayOutput struct{ *pulumi.OutputState }

func (QuotasQuotaArrayOutput) ElementType

func (QuotasQuotaArrayOutput) ElementType() reflect.Type

func (QuotasQuotaArrayOutput) Index

func (QuotasQuotaArrayOutput) ToQuotasQuotaArrayOutput

func (o QuotasQuotaArrayOutput) ToQuotasQuotaArrayOutput() QuotasQuotaArrayOutput

func (QuotasQuotaArrayOutput) ToQuotasQuotaArrayOutputWithContext

func (o QuotasQuotaArrayOutput) ToQuotasQuotaArrayOutputWithContext(ctx context.Context) QuotasQuotaArrayOutput

type QuotasQuotaInput

type QuotasQuotaInput interface {
	pulumi.Input

	ToQuotasQuotaOutput() QuotasQuotaOutput
	ToQuotasQuotaOutputWithContext(context.Context) QuotasQuotaOutput
}

QuotasQuotaInput is an input type that accepts QuotasQuotaArgs and QuotasQuotaOutput values. You can construct a concrete instance of `QuotasQuotaInput` via:

QuotasQuotaArgs{...}

type QuotasQuotaOutput

type QuotasQuotaOutput struct{ *pulumi.OutputState }

func (QuotasQuotaOutput) AccountId

func (o QuotasQuotaOutput) AccountId() pulumi.IntOutput

The ID of account.

func (QuotasQuotaOutput) ElementType

func (QuotasQuotaOutput) ElementType() reflect.Type

func (QuotasQuotaOutput) FsCount

func (o QuotasQuotaOutput) FsCount() pulumi.IntOutput

The count of cloud fs.

func (QuotasQuotaOutput) FsQuota

func (o QuotasQuotaOutput) FsQuota() pulumi.IntOutput

The quota of cloud fs.

func (QuotasQuotaOutput) QuotaEnough

func (o QuotasQuotaOutput) QuotaEnough() pulumi.BoolOutput

Whether is enough of cloud fs.

func (QuotasQuotaOutput) ToQuotasQuotaOutput

func (o QuotasQuotaOutput) ToQuotasQuotaOutput() QuotasQuotaOutput

func (QuotasQuotaOutput) ToQuotasQuotaOutputWithContext

func (o QuotasQuotaOutput) ToQuotasQuotaOutputWithContext(ctx context.Context) QuotasQuotaOutput

type QuotasResult

type QuotasResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string  `pulumi:"id"`
	OutputFile *string `pulumi:"outputFile"`
	// The collection of query.
	Quotas []QuotasQuota `pulumi:"quotas"`
	// The total count of cloud fs quota query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by Quotas.

func Quotas

func Quotas(ctx *pulumi.Context, args *QuotasArgs, opts ...pulumi.InvokeOption) (*QuotasResult, error)

Use this data source to query detailed information of cloudfs quotas ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloudfs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudfs.Quotas(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type QuotasResultOutput

type QuotasResultOutput struct{ *pulumi.OutputState }

A collection of values returned by Quotas.

func QuotasOutput

func QuotasOutput(ctx *pulumi.Context, args QuotasOutputArgs, opts ...pulumi.InvokeOption) QuotasResultOutput

func (QuotasResultOutput) ElementType

func (QuotasResultOutput) ElementType() reflect.Type

func (QuotasResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (QuotasResultOutput) OutputFile

func (o QuotasResultOutput) OutputFile() pulumi.StringPtrOutput

func (QuotasResultOutput) Quotas

The collection of query.

func (QuotasResultOutput) ToQuotasResultOutput

func (o QuotasResultOutput) ToQuotasResultOutput() QuotasResultOutput

func (QuotasResultOutput) ToQuotasResultOutputWithContext

func (o QuotasResultOutput) ToQuotasResultOutputWithContext(ctx context.Context) QuotasResultOutput

func (QuotasResultOutput) TotalCount

func (o QuotasResultOutput) TotalCount() pulumi.IntOutput

The total count of cloud fs quota query.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL