Documentation ¶
Index ¶
- type Access
- type AccessArgs
- type AccessArray
- type AccessArrayInput
- type AccessArrayOutput
- type AccessInput
- type AccessMap
- type AccessMapInput
- type AccessMapOutput
- type AccessOutput
- func (o AccessOutput) AccessAccountId() pulumi.IntOutput
- func (o AccessOutput) AccessIamRole() pulumi.StringPtrOutput
- func (o AccessOutput) AccessId() pulumi.StringOutput
- func (o AccessOutput) AccessServiceName() pulumi.StringOutput
- func (o AccessOutput) CreatedTime() pulumi.StringOutput
- func (AccessOutput) ElementType() reflect.Type
- func (o AccessOutput) FsName() pulumi.StringOutput
- func (o AccessOutput) IsDefault() pulumi.BoolOutput
- func (o AccessOutput) SecurityGroupId() pulumi.StringOutput
- func (o AccessOutput) Status() pulumi.StringOutput
- func (o AccessOutput) SubnetId() pulumi.StringOutput
- func (o AccessOutput) ToAccessOutput() AccessOutput
- func (o AccessOutput) ToAccessOutputWithContext(ctx context.Context) AccessOutput
- func (o AccessOutput) VpcId() pulumi.StringOutput
- func (o AccessOutput) VpcRouteEnabled() pulumi.BoolPtrOutput
- type AccessState
- type AccessesAccess
- type AccessesAccessArgs
- type AccessesAccessArray
- type AccessesAccessArrayInput
- type AccessesAccessArrayOutput
- func (AccessesAccessArrayOutput) ElementType() reflect.Type
- func (o AccessesAccessArrayOutput) Index(i pulumi.IntInput) AccessesAccessOutput
- func (o AccessesAccessArrayOutput) ToAccessesAccessArrayOutput() AccessesAccessArrayOutput
- func (o AccessesAccessArrayOutput) ToAccessesAccessArrayOutputWithContext(ctx context.Context) AccessesAccessArrayOutput
- type AccessesAccessInput
- type AccessesAccessOutput
- func (o AccessesAccessOutput) AccessAccountId() pulumi.IntOutput
- func (o AccessesAccessOutput) AccessId() pulumi.StringOutput
- func (o AccessesAccessOutput) AccessServiceName() pulumi.StringOutput
- func (o AccessesAccessOutput) CreatedTime() pulumi.StringOutput
- func (AccessesAccessOutput) ElementType() reflect.Type
- func (o AccessesAccessOutput) FsName() pulumi.StringOutput
- func (o AccessesAccessOutput) IsDefault() pulumi.BoolOutput
- func (o AccessesAccessOutput) SecurityGroupId() pulumi.StringOutput
- func (o AccessesAccessOutput) Status() pulumi.StringOutput
- func (o AccessesAccessOutput) SubnetId() pulumi.StringOutput
- func (o AccessesAccessOutput) ToAccessesAccessOutput() AccessesAccessOutput
- func (o AccessesAccessOutput) ToAccessesAccessOutputWithContext(ctx context.Context) AccessesAccessOutput
- func (o AccessesAccessOutput) VpcId() pulumi.StringOutput
- func (o AccessesAccessOutput) VpcRouteEnabled() pulumi.BoolOutput
- type AccessesArgs
- type AccessesOutputArgs
- type AccessesResult
- type AccessesResultOutput
- func (o AccessesResultOutput) Accesses() AccessesAccessArrayOutput
- func (AccessesResultOutput) ElementType() reflect.Type
- func (o AccessesResultOutput) FsName() pulumi.StringOutput
- func (o AccessesResultOutput) Id() pulumi.StringOutput
- func (o AccessesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o AccessesResultOutput) ToAccessesResultOutput() AccessesResultOutput
- func (o AccessesResultOutput) ToAccessesResultOutputWithContext(ctx context.Context) AccessesResultOutput
- func (o AccessesResultOutput) TotalCount() pulumi.IntOutput
- type FileSystem
- type FileSystemArgs
- type FileSystemArray
- type FileSystemArrayInput
- type FileSystemArrayOutput
- func (FileSystemArrayOutput) ElementType() reflect.Type
- func (o FileSystemArrayOutput) Index(i pulumi.IntInput) FileSystemOutput
- func (o FileSystemArrayOutput) ToFileSystemArrayOutput() FileSystemArrayOutput
- func (o FileSystemArrayOutput) ToFileSystemArrayOutputWithContext(ctx context.Context) FileSystemArrayOutput
- type FileSystemInput
- type FileSystemMap
- type FileSystemMapInput
- type FileSystemMapOutput
- func (FileSystemMapOutput) ElementType() reflect.Type
- func (o FileSystemMapOutput) MapIndex(k pulumi.StringInput) FileSystemOutput
- func (o FileSystemMapOutput) ToFileSystemMapOutput() FileSystemMapOutput
- func (o FileSystemMapOutput) ToFileSystemMapOutputWithContext(ctx context.Context) FileSystemMapOutput
- type FileSystemOutput
- func (o FileSystemOutput) AccessId() pulumi.StringOutput
- func (o FileSystemOutput) CacheCapacityTib() pulumi.IntPtrOutput
- func (o FileSystemOutput) CachePlan() pulumi.StringOutput
- func (o FileSystemOutput) CreatedTime() pulumi.StringOutput
- func (FileSystemOutput) ElementType() reflect.Type
- func (o FileSystemOutput) FsName() pulumi.StringOutput
- func (o FileSystemOutput) Mode() pulumi.StringOutput
- func (o FileSystemOutput) MountPoint() pulumi.StringOutput
- func (o FileSystemOutput) ReadOnly() pulumi.BoolPtrOutput
- func (o FileSystemOutput) SecurityGroupId() pulumi.StringPtrOutput
- func (o FileSystemOutput) Status() pulumi.StringOutput
- func (o FileSystemOutput) SubnetId() pulumi.StringPtrOutput
- func (o FileSystemOutput) ToFileSystemOutput() FileSystemOutput
- func (o FileSystemOutput) ToFileSystemOutputWithContext(ctx context.Context) FileSystemOutput
- func (o FileSystemOutput) TosAccountId() pulumi.IntPtrOutput
- func (o FileSystemOutput) TosAk() pulumi.StringPtrOutput
- func (o FileSystemOutput) TosBucket() pulumi.StringPtrOutput
- func (o FileSystemOutput) TosPrefix() pulumi.StringPtrOutput
- func (o FileSystemOutput) TosSk() pulumi.StringPtrOutput
- func (o FileSystemOutput) VpcId() pulumi.StringOutput
- func (o FileSystemOutput) VpcRouteEnabled() pulumi.BoolPtrOutput
- func (o FileSystemOutput) ZoneId() pulumi.StringOutput
- type FileSystemState
- type FileSystemsArgs
- type FileSystemsFileSystem
- type FileSystemsFileSystemArgs
- type FileSystemsFileSystemArray
- func (FileSystemsFileSystemArray) ElementType() reflect.Type
- func (i FileSystemsFileSystemArray) ToFileSystemsFileSystemArrayOutput() FileSystemsFileSystemArrayOutput
- func (i FileSystemsFileSystemArray) ToFileSystemsFileSystemArrayOutputWithContext(ctx context.Context) FileSystemsFileSystemArrayOutput
- type FileSystemsFileSystemArrayInput
- type FileSystemsFileSystemArrayOutput
- func (FileSystemsFileSystemArrayOutput) ElementType() reflect.Type
- func (o FileSystemsFileSystemArrayOutput) Index(i pulumi.IntInput) FileSystemsFileSystemOutput
- func (o FileSystemsFileSystemArrayOutput) ToFileSystemsFileSystemArrayOutput() FileSystemsFileSystemArrayOutput
- func (o FileSystemsFileSystemArrayOutput) ToFileSystemsFileSystemArrayOutputWithContext(ctx context.Context) FileSystemsFileSystemArrayOutput
- type FileSystemsFileSystemInput
- type FileSystemsFileSystemOutput
- func (o FileSystemsFileSystemOutput) CacheCapacityTib() pulumi.IntOutput
- func (o FileSystemsFileSystemOutput) CachePlan() pulumi.StringOutput
- func (o FileSystemsFileSystemOutput) CreatedTime() pulumi.StringOutput
- func (FileSystemsFileSystemOutput) ElementType() reflect.Type
- func (o FileSystemsFileSystemOutput) Id() pulumi.StringOutput
- func (o FileSystemsFileSystemOutput) Mode() pulumi.StringOutput
- func (o FileSystemsFileSystemOutput) MountPoint() pulumi.StringOutput
- func (o FileSystemsFileSystemOutput) Name() pulumi.StringOutput
- func (o FileSystemsFileSystemOutput) RegionId() pulumi.StringOutput
- func (o FileSystemsFileSystemOutput) SecurityGroupId() pulumi.StringOutput
- func (o FileSystemsFileSystemOutput) Status() pulumi.StringOutput
- func (o FileSystemsFileSystemOutput) SubnetId() pulumi.StringOutput
- func (o FileSystemsFileSystemOutput) ToFileSystemsFileSystemOutput() FileSystemsFileSystemOutput
- func (o FileSystemsFileSystemOutput) ToFileSystemsFileSystemOutputWithContext(ctx context.Context) FileSystemsFileSystemOutput
- func (o FileSystemsFileSystemOutput) TosBucket() pulumi.StringOutput
- func (o FileSystemsFileSystemOutput) TosPrefix() pulumi.StringOutput
- func (o FileSystemsFileSystemOutput) VpcId() pulumi.StringOutput
- func (o FileSystemsFileSystemOutput) ZoneId() pulumi.StringOutput
- type FileSystemsOutputArgs
- type FileSystemsResult
- type FileSystemsResultOutput
- func (FileSystemsResultOutput) ElementType() reflect.Type
- func (o FileSystemsResultOutput) FileSystems() FileSystemsFileSystemArrayOutput
- func (o FileSystemsResultOutput) FsName() pulumi.StringPtrOutput
- func (o FileSystemsResultOutput) Id() pulumi.StringOutput
- func (o FileSystemsResultOutput) MetaStatus() pulumi.StringPtrOutput
- func (o FileSystemsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o FileSystemsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o FileSystemsResultOutput) ToFileSystemsResultOutput() FileSystemsResultOutput
- func (o FileSystemsResultOutput) ToFileSystemsResultOutputWithContext(ctx context.Context) FileSystemsResultOutput
- func (o FileSystemsResultOutput) TotalCount() pulumi.IntOutput
- type Namespace
- type NamespaceArgs
- type NamespaceArray
- type NamespaceArrayInput
- type NamespaceArrayOutput
- func (NamespaceArrayOutput) ElementType() reflect.Type
- func (o NamespaceArrayOutput) Index(i pulumi.IntInput) NamespaceOutput
- func (o NamespaceArrayOutput) ToNamespaceArrayOutput() NamespaceArrayOutput
- func (o NamespaceArrayOutput) ToNamespaceArrayOutputWithContext(ctx context.Context) NamespaceArrayOutput
- type NamespaceInput
- type NamespaceMap
- type NamespaceMapInput
- type NamespaceMapOutput
- type NamespaceOutput
- func (o NamespaceOutput) CreatedTime() pulumi.StringOutput
- func (NamespaceOutput) ElementType() reflect.Type
- func (o NamespaceOutput) FsName() pulumi.StringOutput
- func (o NamespaceOutput) IsMyBucket() pulumi.BoolOutput
- func (o NamespaceOutput) NsId() pulumi.StringOutput
- func (o NamespaceOutput) ReadOnly() pulumi.BoolPtrOutput
- func (o NamespaceOutput) ServiceManaged() pulumi.BoolOutput
- func (o NamespaceOutput) Status() pulumi.StringOutput
- func (o NamespaceOutput) ToNamespaceOutput() NamespaceOutput
- func (o NamespaceOutput) ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput
- func (o NamespaceOutput) TosAccountId() pulumi.IntPtrOutput
- func (o NamespaceOutput) TosAk() pulumi.StringPtrOutput
- func (o NamespaceOutput) TosBucket() pulumi.StringOutput
- func (o NamespaceOutput) TosPrefix() pulumi.StringPtrOutput
- func (o NamespaceOutput) TosSk() pulumi.StringPtrOutput
- type NamespaceState
- type NamespacesArgs
- type NamespacesNamespace
- type NamespacesNamespaceArgs
- type NamespacesNamespaceArray
- type NamespacesNamespaceArrayInput
- type NamespacesNamespaceArrayOutput
- func (NamespacesNamespaceArrayOutput) ElementType() reflect.Type
- func (o NamespacesNamespaceArrayOutput) Index(i pulumi.IntInput) NamespacesNamespaceOutput
- func (o NamespacesNamespaceArrayOutput) ToNamespacesNamespaceArrayOutput() NamespacesNamespaceArrayOutput
- func (o NamespacesNamespaceArrayOutput) ToNamespacesNamespaceArrayOutputWithContext(ctx context.Context) NamespacesNamespaceArrayOutput
- type NamespacesNamespaceInput
- type NamespacesNamespaceOutput
- func (o NamespacesNamespaceOutput) CreatedTime() pulumi.StringOutput
- func (NamespacesNamespaceOutput) ElementType() reflect.Type
- func (o NamespacesNamespaceOutput) Id() pulumi.StringOutput
- func (o NamespacesNamespaceOutput) IsMyBucket() pulumi.BoolOutput
- func (o NamespacesNamespaceOutput) ReadOnly() pulumi.BoolOutput
- func (o NamespacesNamespaceOutput) ServiceManaged() pulumi.BoolOutput
- func (o NamespacesNamespaceOutput) Status() pulumi.StringOutput
- func (o NamespacesNamespaceOutput) ToNamespacesNamespaceOutput() NamespacesNamespaceOutput
- func (o NamespacesNamespaceOutput) ToNamespacesNamespaceOutputWithContext(ctx context.Context) NamespacesNamespaceOutput
- func (o NamespacesNamespaceOutput) TosBucket() pulumi.StringOutput
- func (o NamespacesNamespaceOutput) TosPrefix() pulumi.StringOutput
- type NamespacesOutputArgs
- type NamespacesResult
- type NamespacesResultOutput
- func (NamespacesResultOutput) ElementType() reflect.Type
- func (o NamespacesResultOutput) FsName() pulumi.StringOutput
- func (o NamespacesResultOutput) Id() pulumi.StringOutput
- func (o NamespacesResultOutput) Namespaces() NamespacesNamespaceArrayOutput
- func (o NamespacesResultOutput) NsId() pulumi.StringPtrOutput
- func (o NamespacesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o NamespacesResultOutput) ToNamespacesResultOutput() NamespacesResultOutput
- func (o NamespacesResultOutput) ToNamespacesResultOutputWithContext(ctx context.Context) NamespacesResultOutput
- func (o NamespacesResultOutput) TosBucket() pulumi.StringPtrOutput
- func (o NamespacesResultOutput) TotalCount() pulumi.IntOutput
- type NsQuotasArgs
- type NsQuotasOutputArgs
- type NsQuotasQuota
- type NsQuotasQuotaArgs
- type NsQuotasQuotaArray
- type NsQuotasQuotaArrayInput
- type NsQuotasQuotaArrayOutput
- func (NsQuotasQuotaArrayOutput) ElementType() reflect.Type
- func (o NsQuotasQuotaArrayOutput) Index(i pulumi.IntInput) NsQuotasQuotaOutput
- func (o NsQuotasQuotaArrayOutput) ToNsQuotasQuotaArrayOutput() NsQuotasQuotaArrayOutput
- func (o NsQuotasQuotaArrayOutput) ToNsQuotasQuotaArrayOutputWithContext(ctx context.Context) NsQuotasQuotaArrayOutput
- type NsQuotasQuotaInput
- type NsQuotasQuotaOutput
- func (o NsQuotasQuotaOutput) AccountId() pulumi.IntOutput
- func (NsQuotasQuotaOutput) ElementType() reflect.Type
- func (o NsQuotasQuotaOutput) FsName() pulumi.StringOutput
- func (o NsQuotasQuotaOutput) NsCount() pulumi.IntOutput
- func (o NsQuotasQuotaOutput) NsCountPerFs() pulumi.IntOutput
- func (o NsQuotasQuotaOutput) NsQuota() pulumi.IntOutput
- func (o NsQuotasQuotaOutput) NsQuotaPerFs() pulumi.IntOutput
- func (o NsQuotasQuotaOutput) QuotaEnough() pulumi.BoolOutput
- func (o NsQuotasQuotaOutput) ToNsQuotasQuotaOutput() NsQuotasQuotaOutput
- func (o NsQuotasQuotaOutput) ToNsQuotasQuotaOutputWithContext(ctx context.Context) NsQuotasQuotaOutput
- type NsQuotasResult
- type NsQuotasResultOutput
- func (NsQuotasResultOutput) ElementType() reflect.Type
- func (o NsQuotasResultOutput) FsNames() pulumi.StringArrayOutput
- func (o NsQuotasResultOutput) Id() pulumi.StringOutput
- func (o NsQuotasResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o NsQuotasResultOutput) Quotas() NsQuotasQuotaArrayOutput
- func (o NsQuotasResultOutput) ToNsQuotasResultOutput() NsQuotasResultOutput
- func (o NsQuotasResultOutput) ToNsQuotasResultOutputWithContext(ctx context.Context) NsQuotasResultOutput
- func (o NsQuotasResultOutput) TotalCount() pulumi.IntOutput
- type QuotasArgs
- type QuotasOutputArgs
- type QuotasQuota
- type QuotasQuotaArgs
- type QuotasQuotaArray
- type QuotasQuotaArrayInput
- type QuotasQuotaArrayOutput
- func (QuotasQuotaArrayOutput) ElementType() reflect.Type
- func (o QuotasQuotaArrayOutput) Index(i pulumi.IntInput) QuotasQuotaOutput
- func (o QuotasQuotaArrayOutput) ToQuotasQuotaArrayOutput() QuotasQuotaArrayOutput
- func (o QuotasQuotaArrayOutput) ToQuotasQuotaArrayOutputWithContext(ctx context.Context) QuotasQuotaArrayOutput
- type QuotasQuotaInput
- type QuotasQuotaOutput
- func (o QuotasQuotaOutput) AccountId() pulumi.IntOutput
- func (QuotasQuotaOutput) ElementType() reflect.Type
- func (o QuotasQuotaOutput) FsCount() pulumi.IntOutput
- func (o QuotasQuotaOutput) FsQuota() pulumi.IntOutput
- func (o QuotasQuotaOutput) QuotaEnough() pulumi.BoolOutput
- func (o QuotasQuotaOutput) ToQuotasQuotaOutput() QuotasQuotaOutput
- func (o QuotasQuotaOutput) ToQuotasQuotaOutputWithContext(ctx context.Context) QuotasQuotaOutput
- type QuotasResult
- type QuotasResultOutput
- func (QuotasResultOutput) ElementType() reflect.Type
- func (o QuotasResultOutput) Id() pulumi.StringOutput
- func (o QuotasResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o QuotasResultOutput) Quotas() QuotasQuotaArrayOutput
- func (o QuotasResultOutput) ToQuotasResultOutput() QuotasResultOutput
- func (o QuotasResultOutput) ToQuotasResultOutputWithContext(ctx context.Context) QuotasResultOutput
- func (o QuotasResultOutput) TotalCount() pulumi.IntOutput
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) 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 (o AccessArrayOutput) Index(i pulumi.IntInput) AccessOutput
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) 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 (o AccessMapOutput) MapIndex(k pulumi.StringInput) AccessOutput
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) 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) 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 (o AccessesAccessArrayOutput) Index(i pulumi.IntInput) AccessesAccessOutput
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 ¶
func (o AccessesAccessOutput) AccessId() pulumi.StringOutput
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 ¶
func (o AccessesAccessOutput) FsName() pulumi.StringOutput
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 ¶
func (o AccessesAccessOutput) Status() pulumi.StringOutput
The status of access.
func (AccessesAccessOutput) SubnetId ¶
func (o AccessesAccessOutput) SubnetId() pulumi.StringOutput
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 ¶
func (o AccessesAccessOutput) VpcId() pulumi.StringOutput
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 AccessesOutput ¶
func AccessesOutput(ctx *pulumi.Context, args AccessesOutputArgs, opts ...pulumi.InvokeOption) AccessesResultOutput
func (AccessesResultOutput) Accesses ¶
func (o AccessesResultOutput) Accesses() AccessesAccessArrayOutput
The collection of query.
func (AccessesResultOutput) ElementType ¶
func (AccessesResultOutput) ElementType() reflect.Type
func (AccessesResultOutput) FsName ¶
func (o AccessesResultOutput) FsName() pulumi.StringOutput
The name of cloud fs.
func (AccessesResultOutput) Id ¶
func (o AccessesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (AccessesResultOutput) OutputFile ¶
func (o AccessesResultOutput) OutputFile() pulumi.StringPtrOutput
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 (o FileSystemArrayOutput) Index(i pulumi.IntInput) FileSystemOutput
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 (o FileSystemMapOutput) MapIndex(k pulumi.StringInput) FileSystemOutput
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 ¶
func (o FileSystemOutput) FsName() pulumi.StringOutput
The name of file system.
func (FileSystemOutput) Mode ¶
func (o FileSystemOutput) Mode() pulumi.StringOutput
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 ¶
func (o FileSystemOutput) Status() pulumi.StringOutput
Status of file system.
func (FileSystemOutput) SubnetId ¶
func (o FileSystemOutput) SubnetId() pulumi.StringPtrOutput
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 ¶
func (o FileSystemOutput) TosAk() pulumi.StringPtrOutput
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 ¶
func (o FileSystemOutput) TosSk() pulumi.StringPtrOutput
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 ¶
func (o FileSystemOutput) VpcId() pulumi.StringOutput
The id of vpc.
func (FileSystemOutput) VpcRouteEnabled ¶
func (o FileSystemOutput) VpcRouteEnabled() pulumi.BoolPtrOutput
Whether enable all vpc route.
func (FileSystemOutput) ZoneId ¶
func (o FileSystemOutput) ZoneId() pulumi.StringOutput
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) ElementType() reflect.Type
func (FileSystemsFileSystemArrayOutput) Index ¶
func (o FileSystemsFileSystemArrayOutput) Index(i pulumi.IntInput) FileSystemsFileSystemOutput
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 ¶
func (o FileSystemsFileSystemOutput) CachePlan() pulumi.StringOutput
The plan of cache.
func (FileSystemsFileSystemOutput) CreatedTime ¶
func (o FileSystemsFileSystemOutput) CreatedTime() pulumi.StringOutput
The creation time.
func (FileSystemsFileSystemOutput) ElementType ¶
func (FileSystemsFileSystemOutput) ElementType() reflect.Type
func (FileSystemsFileSystemOutput) Id ¶
func (o FileSystemsFileSystemOutput) Id() pulumi.StringOutput
The ID of file system.
func (FileSystemsFileSystemOutput) Mode ¶
func (o FileSystemsFileSystemOutput) Mode() pulumi.StringOutput
The mode of file system.
func (FileSystemsFileSystemOutput) MountPoint ¶
func (o FileSystemsFileSystemOutput) MountPoint() pulumi.StringOutput
The point mount.
func (FileSystemsFileSystemOutput) Name ¶
func (o FileSystemsFileSystemOutput) Name() pulumi.StringOutput
The name of file system.
func (FileSystemsFileSystemOutput) RegionId ¶
func (o FileSystemsFileSystemOutput) RegionId() pulumi.StringOutput
The id of region.
func (FileSystemsFileSystemOutput) SecurityGroupId ¶
func (o FileSystemsFileSystemOutput) SecurityGroupId() pulumi.StringOutput
The id of security group.
func (FileSystemsFileSystemOutput) Status ¶
func (o FileSystemsFileSystemOutput) Status() pulumi.StringOutput
The status of file system.
func (FileSystemsFileSystemOutput) SubnetId ¶
func (o FileSystemsFileSystemOutput) SubnetId() pulumi.StringOutput
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 ¶
func (o FileSystemsFileSystemOutput) TosBucket() pulumi.StringOutput
The tos bucket.
func (FileSystemsFileSystemOutput) TosPrefix ¶
func (o FileSystemsFileSystemOutput) TosPrefix() pulumi.StringOutput
The tos prefix.
func (FileSystemsFileSystemOutput) VpcId ¶
func (o FileSystemsFileSystemOutput) VpcId() pulumi.StringOutput
The id of vpc.
func (FileSystemsFileSystemOutput) ZoneId ¶
func (o FileSystemsFileSystemOutput) ZoneId() pulumi.StringOutput
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 FileSystemsOutput ¶
func FileSystemsOutput(ctx *pulumi.Context, args FileSystemsOutputArgs, opts ...pulumi.InvokeOption) FileSystemsResultOutput
func (FileSystemsResultOutput) ElementType ¶
func (FileSystemsResultOutput) ElementType() reflect.Type
func (FileSystemsResultOutput) FileSystems ¶
func (o FileSystemsResultOutput) FileSystems() FileSystemsFileSystemArrayOutput
The collection of query.
func (FileSystemsResultOutput) FsName ¶
func (o FileSystemsResultOutput) FsName() pulumi.StringPtrOutput
func (FileSystemsResultOutput) Id ¶
func (o FileSystemsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (FileSystemsResultOutput) MetaStatus ¶
func (o FileSystemsResultOutput) MetaStatus() pulumi.StringPtrOutput
func (FileSystemsResultOutput) NameRegex ¶
func (o FileSystemsResultOutput) NameRegex() pulumi.StringPtrOutput
func (FileSystemsResultOutput) OutputFile ¶
func (o FileSystemsResultOutput) OutputFile() pulumi.StringPtrOutput
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) 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 (o NamespaceArrayOutput) Index(i pulumi.IntInput) NamespaceOutput
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 (o NamespaceMapOutput) MapIndex(k pulumi.StringInput) NamespaceOutput
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 ¶
func (o NamespaceOutput) NsId() pulumi.StringOutput
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 ¶
func (o NamespaceOutput) TosAk() pulumi.StringPtrOutput
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 ¶
func (o NamespaceOutput) TosSk() pulumi.StringPtrOutput
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) ElementType() reflect.Type
func (NamespacesNamespaceArrayOutput) Index ¶
func (o NamespacesNamespaceArrayOutput) Index(i pulumi.IntInput) NamespacesNamespaceOutput
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 ¶
func (o NamespacesNamespaceOutput) CreatedTime() pulumi.StringOutput
The creation time of the namespace.
func (NamespacesNamespaceOutput) ElementType ¶
func (NamespacesNamespaceOutput) ElementType() reflect.Type
func (NamespacesNamespaceOutput) Id ¶
func (o NamespacesNamespaceOutput) Id() pulumi.StringOutput
The ID of the namespace.
func (NamespacesNamespaceOutput) IsMyBucket ¶
func (o NamespacesNamespaceOutput) IsMyBucket() pulumi.BoolOutput
Whether the tos bucket is your own bucket.
func (NamespacesNamespaceOutput) ReadOnly ¶
func (o NamespacesNamespaceOutput) ReadOnly() pulumi.BoolOutput
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 ¶
func (o NamespacesNamespaceOutput) Status() pulumi.StringOutput
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 ¶
func (o NamespacesNamespaceOutput) TosBucket() pulumi.StringOutput
The name of tos bucket.
func (NamespacesNamespaceOutput) TosPrefix ¶
func (o NamespacesNamespaceOutput) TosPrefix() pulumi.StringOutput
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 NamespacesOutput ¶
func NamespacesOutput(ctx *pulumi.Context, args NamespacesOutputArgs, opts ...pulumi.InvokeOption) NamespacesResultOutput
func (NamespacesResultOutput) ElementType ¶
func (NamespacesResultOutput) ElementType() reflect.Type
func (NamespacesResultOutput) FsName ¶
func (o NamespacesResultOutput) FsName() pulumi.StringOutput
func (NamespacesResultOutput) Id ¶
func (o NamespacesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (NamespacesResultOutput) Namespaces ¶
func (o NamespacesResultOutput) Namespaces() NamespacesNamespaceArrayOutput
The collection of query.
func (NamespacesResultOutput) NsId ¶
func (o NamespacesResultOutput) NsId() pulumi.StringPtrOutput
func (NamespacesResultOutput) OutputFile ¶
func (o NamespacesResultOutput) OutputFile() pulumi.StringPtrOutput
func (NamespacesResultOutput) ToNamespacesResultOutput ¶
func (o NamespacesResultOutput) ToNamespacesResultOutput() NamespacesResultOutput
func (NamespacesResultOutput) ToNamespacesResultOutputWithContext ¶
func (o NamespacesResultOutput) ToNamespacesResultOutputWithContext(ctx context.Context) NamespacesResultOutput
func (NamespacesResultOutput) TosBucket ¶
func (o NamespacesResultOutput) TosBucket() pulumi.StringPtrOutput
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 (o NsQuotasQuotaArrayOutput) Index(i pulumi.IntInput) NsQuotasQuotaOutput
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 ¶
func (o NsQuotasQuotaOutput) FsName() pulumi.StringOutput
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 NsQuotasOutput ¶
func NsQuotasOutput(ctx *pulumi.Context, args NsQuotasOutputArgs, opts ...pulumi.InvokeOption) NsQuotasResultOutput
func (NsQuotasResultOutput) ElementType ¶
func (NsQuotasResultOutput) ElementType() reflect.Type
func (NsQuotasResultOutput) FsNames ¶
func (o NsQuotasResultOutput) FsNames() pulumi.StringArrayOutput
func (NsQuotasResultOutput) Id ¶
func (o NsQuotasResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (NsQuotasResultOutput) OutputFile ¶
func (o NsQuotasResultOutput) OutputFile() pulumi.StringPtrOutput
func (NsQuotasResultOutput) Quotas ¶
func (o NsQuotasResultOutput) Quotas() NsQuotasQuotaArrayOutput
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 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 (o QuotasQuotaArrayOutput) Index(i pulumi.IntInput) QuotasQuotaOutput
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 ¶
func (o QuotasResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (QuotasResultOutput) OutputFile ¶
func (o QuotasResultOutput) OutputFile() pulumi.StringPtrOutput
func (QuotasResultOutput) Quotas ¶
func (o QuotasResultOutput) Quotas() QuotasQuotaArrayOutput
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.