flexibleengine.SfsFileSystemV2
Explore with Pulumi AI
Provides an Shared File System (SFS) resource.
Example Usage
basic example
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const config = new pulumi.Config();
const shareName = config.requireObject("shareName");
const shareDescription = config.requireObject("shareDescription");
const exampleVpc = new flexibleengine.VpcV1("exampleVpc", {cidr: "192.168.0.0/16"});
const share_file = new flexibleengine.SfsFileSystemV2("share-file", {
size: 100,
shareProto: "NFS",
accessLevel: "rw",
accessTo: exampleVpc.vpcV1Id,
description: shareDescription,
});
import pulumi
import pulumi_flexibleengine as flexibleengine
config = pulumi.Config()
share_name = config.require_object("shareName")
share_description = config.require_object("shareDescription")
example_vpc = flexibleengine.VpcV1("exampleVpc", cidr="192.168.0.0/16")
share_file = flexibleengine.SfsFileSystemV2("share-file",
size=100,
share_proto="NFS",
access_level="rw",
access_to=example_vpc.vpc_v1_id,
description=share_description)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
shareName := cfg.RequireObject("shareName")
shareDescription := cfg.RequireObject("shareDescription")
exampleVpc, err := flexibleengine.NewVpcV1(ctx, "exampleVpc", &flexibleengine.VpcV1Args{
Cidr: pulumi.String("192.168.0.0/16"),
})
if err != nil {
return err
}
_, err = flexibleengine.NewSfsFileSystemV2(ctx, "share-file", &flexibleengine.SfsFileSystemV2Args{
Size: pulumi.Float64(100),
ShareProto: pulumi.String("NFS"),
AccessLevel: pulumi.String("rw"),
AccessTo: exampleVpc.VpcV1Id,
Description: pulumi.Any(shareDescription),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var shareName = config.RequireObject<dynamic>("shareName");
var shareDescription = config.RequireObject<dynamic>("shareDescription");
var exampleVpc = new Flexibleengine.VpcV1("exampleVpc", new()
{
Cidr = "192.168.0.0/16",
});
var share_file = new Flexibleengine.SfsFileSystemV2("share-file", new()
{
Size = 100,
ShareProto = "NFS",
AccessLevel = "rw",
AccessTo = exampleVpc.VpcV1Id,
Description = shareDescription,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.VpcV1;
import com.pulumi.flexibleengine.VpcV1Args;
import com.pulumi.flexibleengine.SfsFileSystemV2;
import com.pulumi.flexibleengine.SfsFileSystemV2Args;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var shareName = config.get("shareName");
final var shareDescription = config.get("shareDescription");
var exampleVpc = new VpcV1("exampleVpc", VpcV1Args.builder()
.cidr("192.168.0.0/16")
.build());
var share_file = new SfsFileSystemV2("share-file", SfsFileSystemV2Args.builder()
.size(100)
.shareProto("NFS")
.accessLevel("rw")
.accessTo(exampleVpc.vpcV1Id())
.description(shareDescription)
.build());
}
}
configuration:
shareName:
type: dynamic
shareDescription:
type: dynamic
resources:
exampleVpc:
type: flexibleengine:VpcV1
properties:
cidr: 192.168.0.0/16
share-file:
type: flexibleengine:SfsFileSystemV2
properties:
size: 100
shareProto: NFS
accessLevel: rw
accessTo: ${exampleVpc.vpcV1Id}
description: ${shareDescription}
sfs with data encryption
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const config = new pulumi.Config();
const shareName = config.requireObject("shareName");
const shareDescription = config.requireObject("shareDescription");
const exampleVpc = new flexibleengine.VpcV1("exampleVpc", {cidr: "192.168.0.0/16"});
const mykey = new flexibleengine.KmsKeyV1("mykey", {
keyAlias: "kms_sfs",
pendingDays: "7",
});
const share_file = new flexibleengine.SfsFileSystemV2("share-file", {
size: 100,
shareProto: "NFS",
accessLevel: "rw",
accessTo: exampleVpc.vpcV1Id,
description: shareDescription,
metadata: {
"#sfs_crypt_key_id": mykey.kmsKeyV1Id,
"#sfs_crypt_domain_id": mykey.domainId,
"#sfs_crypt_alias": mykey.keyAlias,
},
});
import pulumi
import pulumi_flexibleengine as flexibleengine
config = pulumi.Config()
share_name = config.require_object("shareName")
share_description = config.require_object("shareDescription")
example_vpc = flexibleengine.VpcV1("exampleVpc", cidr="192.168.0.0/16")
mykey = flexibleengine.KmsKeyV1("mykey",
key_alias="kms_sfs",
pending_days="7")
share_file = flexibleengine.SfsFileSystemV2("share-file",
size=100,
share_proto="NFS",
access_level="rw",
access_to=example_vpc.vpc_v1_id,
description=share_description,
metadata={
"#sfs_crypt_key_id": mykey.kms_key_v1_id,
"#sfs_crypt_domain_id": mykey.domain_id,
"#sfs_crypt_alias": mykey.key_alias,
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
shareName := cfg.RequireObject("shareName")
shareDescription := cfg.RequireObject("shareDescription")
exampleVpc, err := flexibleengine.NewVpcV1(ctx, "exampleVpc", &flexibleengine.VpcV1Args{
Cidr: pulumi.String("192.168.0.0/16"),
})
if err != nil {
return err
}
mykey, err := flexibleengine.NewKmsKeyV1(ctx, "mykey", &flexibleengine.KmsKeyV1Args{
KeyAlias: pulumi.String("kms_sfs"),
PendingDays: pulumi.String("7"),
})
if err != nil {
return err
}
_, err = flexibleengine.NewSfsFileSystemV2(ctx, "share-file", &flexibleengine.SfsFileSystemV2Args{
Size: pulumi.Float64(100),
ShareProto: pulumi.String("NFS"),
AccessLevel: pulumi.String("rw"),
AccessTo: exampleVpc.VpcV1Id,
Description: pulumi.Any(shareDescription),
Metadata: pulumi.StringMap{
"#sfs_crypt_key_id": mykey.KmsKeyV1Id,
"#sfs_crypt_domain_id": mykey.DomainId,
"#sfs_crypt_alias": mykey.KeyAlias,
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var shareName = config.RequireObject<dynamic>("shareName");
var shareDescription = config.RequireObject<dynamic>("shareDescription");
var exampleVpc = new Flexibleengine.VpcV1("exampleVpc", new()
{
Cidr = "192.168.0.0/16",
});
var mykey = new Flexibleengine.KmsKeyV1("mykey", new()
{
KeyAlias = "kms_sfs",
PendingDays = "7",
});
var share_file = new Flexibleengine.SfsFileSystemV2("share-file", new()
{
Size = 100,
ShareProto = "NFS",
AccessLevel = "rw",
AccessTo = exampleVpc.VpcV1Id,
Description = shareDescription,
Metadata =
{
{ "#sfs_crypt_key_id", mykey.KmsKeyV1Id },
{ "#sfs_crypt_domain_id", mykey.DomainId },
{ "#sfs_crypt_alias", mykey.KeyAlias },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.VpcV1;
import com.pulumi.flexibleengine.VpcV1Args;
import com.pulumi.flexibleengine.KmsKeyV1;
import com.pulumi.flexibleengine.KmsKeyV1Args;
import com.pulumi.flexibleengine.SfsFileSystemV2;
import com.pulumi.flexibleengine.SfsFileSystemV2Args;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var shareName = config.get("shareName");
final var shareDescription = config.get("shareDescription");
var exampleVpc = new VpcV1("exampleVpc", VpcV1Args.builder()
.cidr("192.168.0.0/16")
.build());
var mykey = new KmsKeyV1("mykey", KmsKeyV1Args.builder()
.keyAlias("kms_sfs")
.pendingDays("7")
.build());
var share_file = new SfsFileSystemV2("share-file", SfsFileSystemV2Args.builder()
.size(100)
.shareProto("NFS")
.accessLevel("rw")
.accessTo(exampleVpc.vpcV1Id())
.description(shareDescription)
.metadata(Map.ofEntries(
Map.entry("#sfs_crypt_key_id", mykey.kmsKeyV1Id()),
Map.entry("#sfs_crypt_domain_id", mykey.domainId()),
Map.entry("#sfs_crypt_alias", mykey.keyAlias())
))
.build());
}
}
configuration:
shareName:
type: dynamic
shareDescription:
type: dynamic
resources:
exampleVpc:
type: flexibleengine:VpcV1
properties:
cidr: 192.168.0.0/16
mykey:
type: flexibleengine:KmsKeyV1
properties:
keyAlias: kms_sfs
pendingDays: '7'
share-file:
type: flexibleengine:SfsFileSystemV2
properties:
size: 100
shareProto: NFS
accessLevel: rw
accessTo: ${exampleVpc.vpcV1Id}
description: ${shareDescription}
metadata:
'#sfs_crypt_key_id': ${mykey.kmsKeyV1Id}
'#sfs_crypt_domain_id': ${mykey.domainId}
'#sfs_crypt_alias': ${mykey.keyAlias}
Create SfsFileSystemV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SfsFileSystemV2(name: string, args: SfsFileSystemV2Args, opts?: CustomResourceOptions);
@overload
def SfsFileSystemV2(resource_name: str,
args: SfsFileSystemV2Args,
opts: Optional[ResourceOptions] = None)
@overload
def SfsFileSystemV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
size: Optional[float] = None,
metadata: Optional[Mapping[str, str]] = None,
access_type: Optional[str] = None,
availability_zone: Optional[str] = None,
description: Optional[str] = None,
is_public: Optional[bool] = None,
access_level: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
sfs_file_system_v2_id: Optional[str] = None,
share_proto: Optional[str] = None,
access_to: Optional[str] = None,
timeouts: Optional[SfsFileSystemV2TimeoutsArgs] = None)
func NewSfsFileSystemV2(ctx *Context, name string, args SfsFileSystemV2Args, opts ...ResourceOption) (*SfsFileSystemV2, error)
public SfsFileSystemV2(string name, SfsFileSystemV2Args args, CustomResourceOptions? opts = null)
public SfsFileSystemV2(String name, SfsFileSystemV2Args args)
public SfsFileSystemV2(String name, SfsFileSystemV2Args args, CustomResourceOptions options)
type: flexibleengine:SfsFileSystemV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SfsFileSystemV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SfsFileSystemV2Args
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SfsFileSystemV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SfsFileSystemV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SfsFileSystemV2Args
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var sfsFileSystemV2Resource = new Flexibleengine.SfsFileSystemV2("sfsFileSystemV2Resource", new()
{
Size = 0,
Metadata =
{
{ "string", "string" },
},
AccessType = "string",
AvailabilityZone = "string",
Description = "string",
IsPublic = false,
AccessLevel = "string",
Name = "string",
Region = "string",
SfsFileSystemV2Id = "string",
ShareProto = "string",
AccessTo = "string",
Timeouts = new Flexibleengine.Inputs.SfsFileSystemV2TimeoutsArgs
{
Create = "string",
Delete = "string",
},
});
example, err := flexibleengine.NewSfsFileSystemV2(ctx, "sfsFileSystemV2Resource", &flexibleengine.SfsFileSystemV2Args{
Size: pulumi.Float64(0),
Metadata: pulumi.StringMap{
"string": pulumi.String("string"),
},
AccessType: pulumi.String("string"),
AvailabilityZone: pulumi.String("string"),
Description: pulumi.String("string"),
IsPublic: pulumi.Bool(false),
AccessLevel: pulumi.String("string"),
Name: pulumi.String("string"),
Region: pulumi.String("string"),
SfsFileSystemV2Id: pulumi.String("string"),
ShareProto: pulumi.String("string"),
AccessTo: pulumi.String("string"),
Timeouts: &flexibleengine.SfsFileSystemV2TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
})
var sfsFileSystemV2Resource = new SfsFileSystemV2("sfsFileSystemV2Resource", SfsFileSystemV2Args.builder()
.size(0)
.metadata(Map.of("string", "string"))
.accessType("string")
.availabilityZone("string")
.description("string")
.isPublic(false)
.accessLevel("string")
.name("string")
.region("string")
.sfsFileSystemV2Id("string")
.shareProto("string")
.accessTo("string")
.timeouts(SfsFileSystemV2TimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.build());
sfs_file_system_v2_resource = flexibleengine.SfsFileSystemV2("sfsFileSystemV2Resource",
size=0,
metadata={
"string": "string",
},
access_type="string",
availability_zone="string",
description="string",
is_public=False,
access_level="string",
name="string",
region="string",
sfs_file_system_v2_id="string",
share_proto="string",
access_to="string",
timeouts={
"create": "string",
"delete": "string",
})
const sfsFileSystemV2Resource = new flexibleengine.SfsFileSystemV2("sfsFileSystemV2Resource", {
size: 0,
metadata: {
string: "string",
},
accessType: "string",
availabilityZone: "string",
description: "string",
isPublic: false,
accessLevel: "string",
name: "string",
region: "string",
sfsFileSystemV2Id: "string",
shareProto: "string",
accessTo: "string",
timeouts: {
create: "string",
"delete": "string",
},
});
type: flexibleengine:SfsFileSystemV2
properties:
accessLevel: string
accessTo: string
accessType: string
availabilityZone: string
description: string
isPublic: false
metadata:
string: string
name: string
region: string
sfsFileSystemV2Id: string
shareProto: string
size: 0
timeouts:
create: string
delete: string
SfsFileSystemV2 Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SfsFileSystemV2 resource accepts the following input properties:
- Size double
- The size (GB) of the shared file system.
- Access
Level string - Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
- Access
To string Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:
- Set the VPC ID in VPC authorization scenarios.
- Set this parameter in IP address authorization scenario.
For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.
For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.
NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.
- Access
Type string - Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
- Availability
Zone string - The availability zone name. Changing this parameter will create a new resource.
- Description string
- Describes the shared file system.
- Is
Public bool - The level of visibility for the shared file system. Changing this will create a new resource.
- Metadata Dictionary<string, string>
- Metadata key and value pairs as a dictionary of strings. The supported metadata keys are "#sfs_crypt_key_id", "#sfs_crypt_domain_id" and "#sfs_crypt_alias", and the keys should be existed at the same time to enable the data encryption function. Changing this will create a new resource.
- Name string
- The name of the shared file system.
- Region string
- Specifies the region in which to create the sfs file system resource. If omitted, the provider-level region will be used. Changing this will create a new sfs file system resource.
- Sfs
File stringSystem V2Id - The UUID of the shared file system.
- string
- The protocol for sharing file systems. The default value is NFS.
- Timeouts
Sfs
File System V2Timeouts
- Size float64
- The size (GB) of the shared file system.
- Access
Level string - Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
- Access
To string Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:
- Set the VPC ID in VPC authorization scenarios.
- Set this parameter in IP address authorization scenario.
For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.
For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.
NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.
- Access
Type string - Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
- Availability
Zone string - The availability zone name. Changing this parameter will create a new resource.
- Description string
- Describes the shared file system.
- Is
Public bool - The level of visibility for the shared file system. Changing this will create a new resource.
- Metadata map[string]string
- Metadata key and value pairs as a dictionary of strings. The supported metadata keys are "#sfs_crypt_key_id", "#sfs_crypt_domain_id" and "#sfs_crypt_alias", and the keys should be existed at the same time to enable the data encryption function. Changing this will create a new resource.
- Name string
- The name of the shared file system.
- Region string
- Specifies the region in which to create the sfs file system resource. If omitted, the provider-level region will be used. Changing this will create a new sfs file system resource.
- Sfs
File stringSystem V2Id - The UUID of the shared file system.
- string
- The protocol for sharing file systems. The default value is NFS.
- Timeouts
Sfs
File System V2Timeouts Args
- size Double
- The size (GB) of the shared file system.
- access
Level String - Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
- access
To String Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:
- Set the VPC ID in VPC authorization scenarios.
- Set this parameter in IP address authorization scenario.
For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.
For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.
NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.
- access
Type String - Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
- availability
Zone String - The availability zone name. Changing this parameter will create a new resource.
- description String
- Describes the shared file system.
- is
Public Boolean - The level of visibility for the shared file system. Changing this will create a new resource.
- metadata Map<String,String>
- Metadata key and value pairs as a dictionary of strings. The supported metadata keys are "#sfs_crypt_key_id", "#sfs_crypt_domain_id" and "#sfs_crypt_alias", and the keys should be existed at the same time to enable the data encryption function. Changing this will create a new resource.
- name String
- The name of the shared file system.
- region String
- Specifies the region in which to create the sfs file system resource. If omitted, the provider-level region will be used. Changing this will create a new sfs file system resource.
- sfs
File StringSystem V2Id - The UUID of the shared file system.
- String
- The protocol for sharing file systems. The default value is NFS.
- timeouts
Sfs
File System V2Timeouts
- size number
- The size (GB) of the shared file system.
- access
Level string - Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
- access
To string Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:
- Set the VPC ID in VPC authorization scenarios.
- Set this parameter in IP address authorization scenario.
For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.
For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.
NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.
- access
Type string - Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
- availability
Zone string - The availability zone name. Changing this parameter will create a new resource.
- description string
- Describes the shared file system.
- is
Public boolean - The level of visibility for the shared file system. Changing this will create a new resource.
- metadata {[key: string]: string}
- Metadata key and value pairs as a dictionary of strings. The supported metadata keys are "#sfs_crypt_key_id", "#sfs_crypt_domain_id" and "#sfs_crypt_alias", and the keys should be existed at the same time to enable the data encryption function. Changing this will create a new resource.
- name string
- The name of the shared file system.
- region string
- Specifies the region in which to create the sfs file system resource. If omitted, the provider-level region will be used. Changing this will create a new sfs file system resource.
- sfs
File stringSystem V2Id - The UUID of the shared file system.
- string
- The protocol for sharing file systems. The default value is NFS.
- timeouts
Sfs
File System V2Timeouts
- size float
- The size (GB) of the shared file system.
- access_
level str - Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
- access_
to str Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:
- Set the VPC ID in VPC authorization scenarios.
- Set this parameter in IP address authorization scenario.
For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.
For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.
NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.
- access_
type str - Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
- availability_
zone str - The availability zone name. Changing this parameter will create a new resource.
- description str
- Describes the shared file system.
- is_
public bool - The level of visibility for the shared file system. Changing this will create a new resource.
- metadata Mapping[str, str]
- Metadata key and value pairs as a dictionary of strings. The supported metadata keys are "#sfs_crypt_key_id", "#sfs_crypt_domain_id" and "#sfs_crypt_alias", and the keys should be existed at the same time to enable the data encryption function. Changing this will create a new resource.
- name str
- The name of the shared file system.
- region str
- Specifies the region in which to create the sfs file system resource. If omitted, the provider-level region will be used. Changing this will create a new sfs file system resource.
- sfs_
file_ strsystem_ v2_ id - The UUID of the shared file system.
- str
- The protocol for sharing file systems. The default value is NFS.
- timeouts
Sfs
File System V2Timeouts Args
- size Number
- The size (GB) of the shared file system.
- access
Level String - Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
- access
To String Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:
- Set the VPC ID in VPC authorization scenarios.
- Set this parameter in IP address authorization scenario.
For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.
For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.
NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.
- access
Type String - Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
- availability
Zone String - The availability zone name. Changing this parameter will create a new resource.
- description String
- Describes the shared file system.
- is
Public Boolean - The level of visibility for the shared file system. Changing this will create a new resource.
- metadata Map<String>
- Metadata key and value pairs as a dictionary of strings. The supported metadata keys are "#sfs_crypt_key_id", "#sfs_crypt_domain_id" and "#sfs_crypt_alias", and the keys should be existed at the same time to enable the data encryption function. Changing this will create a new resource.
- name String
- The name of the shared file system.
- region String
- Specifies the region in which to create the sfs file system resource. If omitted, the provider-level region will be used. Changing this will create a new sfs file system resource.
- sfs
File StringSystem V2Id - The UUID of the shared file system.
- String
- The protocol for sharing file systems. The default value is NFS.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the SfsFileSystemV2 resource produces the following output properties:
- Access
Rule stringStatus - The status of the share access rule.
- Access
Rules List<SfsFile System V2Access Rule> - All access rules of the shared file system. The access_rules object structure is documented below.
- Export
Location string - The address for accessing the shared file system.
- Id string
- The provider-assigned unique ID for this managed resource.
- string
- The UUID of the share access rule.
- Status string
- The status of the share access rule.
- Volume
Type string - The volume type.
- Access
Rule stringStatus - The status of the share access rule.
- Access
Rules []SfsFile System V2Access Rule - All access rules of the shared file system. The access_rules object structure is documented below.
- Export
Location string - The address for accessing the shared file system.
- Id string
- The provider-assigned unique ID for this managed resource.
- string
- The UUID of the share access rule.
- Status string
- The status of the share access rule.
- Volume
Type string - The volume type.
- access
Rule StringStatus - The status of the share access rule.
- access
Rules List<SfsFile System V2Access Rule> - All access rules of the shared file system. The access_rules object structure is documented below.
- export
Location String - The address for accessing the shared file system.
- id String
- The provider-assigned unique ID for this managed resource.
- String
- The UUID of the share access rule.
- status String
- The status of the share access rule.
- volume
Type String - The volume type.
- access
Rule stringStatus - The status of the share access rule.
- access
Rules SfsFile System V2Access Rule[] - All access rules of the shared file system. The access_rules object structure is documented below.
- export
Location string - The address for accessing the shared file system.
- id string
- The provider-assigned unique ID for this managed resource.
- string
- The UUID of the share access rule.
- status string
- The status of the share access rule.
- volume
Type string - The volume type.
- access_
rule_ strstatus - The status of the share access rule.
- access_
rules Sequence[SfsFile System V2Access Rule] - All access rules of the shared file system. The access_rules object structure is documented below.
- export_
location str - The address for accessing the shared file system.
- id str
- The provider-assigned unique ID for this managed resource.
- str
- The UUID of the share access rule.
- status str
- The status of the share access rule.
- volume_
type str - The volume type.
- access
Rule StringStatus - The status of the share access rule.
- access
Rules List<Property Map> - All access rules of the shared file system. The access_rules object structure is documented below.
- export
Location String - The address for accessing the shared file system.
- id String
- The provider-assigned unique ID for this managed resource.
- String
- The UUID of the share access rule.
- status String
- The status of the share access rule.
- volume
Type String - The volume type.
Look up Existing SfsFileSystemV2 Resource
Get an existing SfsFileSystemV2 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SfsFileSystemV2State, opts?: CustomResourceOptions): SfsFileSystemV2
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_level: Optional[str] = None,
access_rule_status: Optional[str] = None,
access_rules: Optional[Sequence[SfsFileSystemV2AccessRuleArgs]] = None,
access_to: Optional[str] = None,
access_type: Optional[str] = None,
availability_zone: Optional[str] = None,
description: Optional[str] = None,
export_location: Optional[str] = None,
is_public: Optional[bool] = None,
metadata: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
region: Optional[str] = None,
sfs_file_system_v2_id: Optional[str] = None,
share_access_id: Optional[str] = None,
share_proto: Optional[str] = None,
size: Optional[float] = None,
status: Optional[str] = None,
timeouts: Optional[SfsFileSystemV2TimeoutsArgs] = None,
volume_type: Optional[str] = None) -> SfsFileSystemV2
func GetSfsFileSystemV2(ctx *Context, name string, id IDInput, state *SfsFileSystemV2State, opts ...ResourceOption) (*SfsFileSystemV2, error)
public static SfsFileSystemV2 Get(string name, Input<string> id, SfsFileSystemV2State? state, CustomResourceOptions? opts = null)
public static SfsFileSystemV2 get(String name, Output<String> id, SfsFileSystemV2State state, CustomResourceOptions options)
resources: _: type: flexibleengine:SfsFileSystemV2 get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Access
Level string - Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
- Access
Rule stringStatus - The status of the share access rule.
- Access
Rules List<SfsFile System V2Access Rule> - All access rules of the shared file system. The access_rules object structure is documented below.
- Access
To string Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:
- Set the VPC ID in VPC authorization scenarios.
- Set this parameter in IP address authorization scenario.
For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.
For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.
NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.
- Access
Type string - Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
- Availability
Zone string - The availability zone name. Changing this parameter will create a new resource.
- Description string
- Describes the shared file system.
- Export
Location string - The address for accessing the shared file system.
- Is
Public bool - The level of visibility for the shared file system. Changing this will create a new resource.
- Metadata Dictionary<string, string>
- Metadata key and value pairs as a dictionary of strings. The supported metadata keys are "#sfs_crypt_key_id", "#sfs_crypt_domain_id" and "#sfs_crypt_alias", and the keys should be existed at the same time to enable the data encryption function. Changing this will create a new resource.
- Name string
- The name of the shared file system.
- Region string
- Specifies the region in which to create the sfs file system resource. If omitted, the provider-level region will be used. Changing this will create a new sfs file system resource.
- Sfs
File stringSystem V2Id - The UUID of the shared file system.
- string
- The UUID of the share access rule.
- string
- The protocol for sharing file systems. The default value is NFS.
- Size double
- The size (GB) of the shared file system.
- Status string
- The status of the share access rule.
- Timeouts
Sfs
File System V2Timeouts - Volume
Type string - The volume type.
- Access
Level string - Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
- Access
Rule stringStatus - The status of the share access rule.
- Access
Rules []SfsFile System V2Access Rule Args - All access rules of the shared file system. The access_rules object structure is documented below.
- Access
To string Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:
- Set the VPC ID in VPC authorization scenarios.
- Set this parameter in IP address authorization scenario.
For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.
For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.
NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.
- Access
Type string - Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
- Availability
Zone string - The availability zone name. Changing this parameter will create a new resource.
- Description string
- Describes the shared file system.
- Export
Location string - The address for accessing the shared file system.
- Is
Public bool - The level of visibility for the shared file system. Changing this will create a new resource.
- Metadata map[string]string
- Metadata key and value pairs as a dictionary of strings. The supported metadata keys are "#sfs_crypt_key_id", "#sfs_crypt_domain_id" and "#sfs_crypt_alias", and the keys should be existed at the same time to enable the data encryption function. Changing this will create a new resource.
- Name string
- The name of the shared file system.
- Region string
- Specifies the region in which to create the sfs file system resource. If omitted, the provider-level region will be used. Changing this will create a new sfs file system resource.
- Sfs
File stringSystem V2Id - The UUID of the shared file system.
- string
- The UUID of the share access rule.
- string
- The protocol for sharing file systems. The default value is NFS.
- Size float64
- The size (GB) of the shared file system.
- Status string
- The status of the share access rule.
- Timeouts
Sfs
File System V2Timeouts Args - Volume
Type string - The volume type.
- access
Level String - Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
- access
Rule StringStatus - The status of the share access rule.
- access
Rules List<SfsFile System V2Access Rule> - All access rules of the shared file system. The access_rules object structure is documented below.
- access
To String Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:
- Set the VPC ID in VPC authorization scenarios.
- Set this parameter in IP address authorization scenario.
For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.
For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.
NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.
- access
Type String - Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
- availability
Zone String - The availability zone name. Changing this parameter will create a new resource.
- description String
- Describes the shared file system.
- export
Location String - The address for accessing the shared file system.
- is
Public Boolean - The level of visibility for the shared file system. Changing this will create a new resource.
- metadata Map<String,String>
- Metadata key and value pairs as a dictionary of strings. The supported metadata keys are "#sfs_crypt_key_id", "#sfs_crypt_domain_id" and "#sfs_crypt_alias", and the keys should be existed at the same time to enable the data encryption function. Changing this will create a new resource.
- name String
- The name of the shared file system.
- region String
- Specifies the region in which to create the sfs file system resource. If omitted, the provider-level region will be used. Changing this will create a new sfs file system resource.
- sfs
File StringSystem V2Id - The UUID of the shared file system.
- String
- The UUID of the share access rule.
- String
- The protocol for sharing file systems. The default value is NFS.
- size Double
- The size (GB) of the shared file system.
- status String
- The status of the share access rule.
- timeouts
Sfs
File System V2Timeouts - volume
Type String - The volume type.
- access
Level string - Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
- access
Rule stringStatus - The status of the share access rule.
- access
Rules SfsFile System V2Access Rule[] - All access rules of the shared file system. The access_rules object structure is documented below.
- access
To string Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:
- Set the VPC ID in VPC authorization scenarios.
- Set this parameter in IP address authorization scenario.
For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.
For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.
NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.
- access
Type string - Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
- availability
Zone string - The availability zone name. Changing this parameter will create a new resource.
- description string
- Describes the shared file system.
- export
Location string - The address for accessing the shared file system.
- is
Public boolean - The level of visibility for the shared file system. Changing this will create a new resource.
- metadata {[key: string]: string}
- Metadata key and value pairs as a dictionary of strings. The supported metadata keys are "#sfs_crypt_key_id", "#sfs_crypt_domain_id" and "#sfs_crypt_alias", and the keys should be existed at the same time to enable the data encryption function. Changing this will create a new resource.
- name string
- The name of the shared file system.
- region string
- Specifies the region in which to create the sfs file system resource. If omitted, the provider-level region will be used. Changing this will create a new sfs file system resource.
- sfs
File stringSystem V2Id - The UUID of the shared file system.
- string
- The UUID of the share access rule.
- string
- The protocol for sharing file systems. The default value is NFS.
- size number
- The size (GB) of the shared file system.
- status string
- The status of the share access rule.
- timeouts
Sfs
File System V2Timeouts - volume
Type string - The volume type.
- access_
level str - Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
- access_
rule_ strstatus - The status of the share access rule.
- access_
rules Sequence[SfsFile System V2Access Rule Args] - All access rules of the shared file system. The access_rules object structure is documented below.
- access_
to str Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:
- Set the VPC ID in VPC authorization scenarios.
- Set this parameter in IP address authorization scenario.
For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.
For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.
NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.
- access_
type str - Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
- availability_
zone str - The availability zone name. Changing this parameter will create a new resource.
- description str
- Describes the shared file system.
- export_
location str - The address for accessing the shared file system.
- is_
public bool - The level of visibility for the shared file system. Changing this will create a new resource.
- metadata Mapping[str, str]
- Metadata key and value pairs as a dictionary of strings. The supported metadata keys are "#sfs_crypt_key_id", "#sfs_crypt_domain_id" and "#sfs_crypt_alias", and the keys should be existed at the same time to enable the data encryption function. Changing this will create a new resource.
- name str
- The name of the shared file system.
- region str
- Specifies the region in which to create the sfs file system resource. If omitted, the provider-level region will be used. Changing this will create a new sfs file system resource.
- sfs_
file_ strsystem_ v2_ id - The UUID of the shared file system.
- str
- The UUID of the share access rule.
- str
- The protocol for sharing file systems. The default value is NFS.
- size float
- The size (GB) of the shared file system.
- status str
- The status of the share access rule.
- timeouts
Sfs
File System V2Timeouts Args - volume_
type str - The volume type.
- access
Level String - Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
- access
Rule StringStatus - The status of the share access rule.
- access
Rules List<Property Map> - All access rules of the shared file system. The access_rules object structure is documented below.
- access
To String Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:
- Set the VPC ID in VPC authorization scenarios.
- Set this parameter in IP address authorization scenario.
For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.
For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.
NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.
- access
Type String - Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
- availability
Zone String - The availability zone name. Changing this parameter will create a new resource.
- description String
- Describes the shared file system.
- export
Location String - The address for accessing the shared file system.
- is
Public Boolean - The level of visibility for the shared file system. Changing this will create a new resource.
- metadata Map<String>
- Metadata key and value pairs as a dictionary of strings. The supported metadata keys are "#sfs_crypt_key_id", "#sfs_crypt_domain_id" and "#sfs_crypt_alias", and the keys should be existed at the same time to enable the data encryption function. Changing this will create a new resource.
- name String
- The name of the shared file system.
- region String
- Specifies the region in which to create the sfs file system resource. If omitted, the provider-level region will be used. Changing this will create a new sfs file system resource.
- sfs
File StringSystem V2Id - The UUID of the shared file system.
- String
- The UUID of the share access rule.
- String
- The protocol for sharing file systems. The default value is NFS.
- size Number
- The size (GB) of the shared file system.
- status String
- The status of the share access rule.
- timeouts Property Map
- volume
Type String - The volume type.
Supporting Types
SfsFileSystemV2AccessRule, SfsFileSystemV2AccessRuleArgs
- Access
Level string - Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
- Access
Rule stringId - The UUID of the share access rule.
- Access
To string Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:
- Set the VPC ID in VPC authorization scenarios.
- Set this parameter in IP address authorization scenario.
For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.
For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.
NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.
- Access
Type string - Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
- Status string
- The status of the share access rule.
- Access
Level string - Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
- Access
Rule stringId - The UUID of the share access rule.
- Access
To string Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:
- Set the VPC ID in VPC authorization scenarios.
- Set this parameter in IP address authorization scenario.
For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.
For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.
NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.
- Access
Type string - Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
- Status string
- The status of the share access rule.
- access
Level String - Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
- access
Rule StringId - The UUID of the share access rule.
- access
To String Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:
- Set the VPC ID in VPC authorization scenarios.
- Set this parameter in IP address authorization scenario.
For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.
For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.
NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.
- access
Type String - Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
- status String
- The status of the share access rule.
- access
Level string - Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
- access
Rule stringId - The UUID of the share access rule.
- access
To string Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:
- Set the VPC ID in VPC authorization scenarios.
- Set this parameter in IP address authorization scenario.
For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.
For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.
NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.
- access
Type string - Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
- status string
- The status of the share access rule.
- access_
level str - Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
- access_
rule_ strid - The UUID of the share access rule.
- access_
to str Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:
- Set the VPC ID in VPC authorization scenarios.
- Set this parameter in IP address authorization scenario.
For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.
For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.
NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.
- access_
type str - Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
- status str
- The status of the share access rule.
- access
Level String - Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
- access
Rule StringId - The UUID of the share access rule.
- access
To String Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:
- Set the VPC ID in VPC authorization scenarios.
- Set this parameter in IP address authorization scenario.
For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.
For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.
NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.
- access
Type String - Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
- status String
- The status of the share access rule.
SfsFileSystemV2Timeouts, SfsFileSystemV2TimeoutsArgs
Import
SFS can be imported using the id
, e.g.
$ pulumi import flexibleengine:index/sfsFileSystemV2:SfsFileSystemV2 flexibleengine_sfs_file_system_v2 4779ab1c-7c1a-44b1-a02e-93dfc361b32d
Please importing them by flexibleengine_sfs_access_rule_v2.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengine
Terraform Provider.