flexibleengine.SfsAccessRuleV2
Explore with Pulumi AI
Provides an access rule resource of Scalable File Resource (SFS).
Example Usage
Usage in VPC authorization scenarios
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const config = new pulumi.Config();
const shareName = config.requireObject("shareName");
const exampleVpc = new flexibleengine.VpcV1("exampleVpc", {cidr: "192.168.0.0/16"});
const share_file = new flexibleengine.SfsFileSystemV2("share-file", {
size: 100,
shareProto: "NFS",
});
const rule1 = new flexibleengine.SfsAccessRuleV2("rule1", {
sfsId: share_file.sfsFileSystemV2Id,
accessTo: exampleVpc.vpcV1Id,
});
import pulumi
import pulumi_flexibleengine as flexibleengine
config = pulumi.Config()
share_name = config.require_object("shareName")
example_vpc = flexibleengine.VpcV1("exampleVpc", cidr="192.168.0.0/16")
share_file = flexibleengine.SfsFileSystemV2("share-file",
size=100,
share_proto="NFS")
rule1 = flexibleengine.SfsAccessRuleV2("rule1",
sfs_id=share_file.sfs_file_system_v2_id,
access_to=example_vpc.vpc_v1_id)
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")
exampleVpc, err := flexibleengine.NewVpcV1(ctx, "exampleVpc", &flexibleengine.VpcV1Args{
Cidr: pulumi.String("192.168.0.0/16"),
})
if err != nil {
return err
}
share_file, err := flexibleengine.NewSfsFileSystemV2(ctx, "share-file", &flexibleengine.SfsFileSystemV2Args{
Size: pulumi.Float64(100),
ShareProto: pulumi.String("NFS"),
})
if err != nil {
return err
}
_, err = flexibleengine.NewSfsAccessRuleV2(ctx, "rule1", &flexibleengine.SfsAccessRuleV2Args{
SfsId: share_file.SfsFileSystemV2Id,
AccessTo: exampleVpc.VpcV1Id,
})
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 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",
});
var rule1 = new Flexibleengine.SfsAccessRuleV2("rule1", new()
{
SfsId = share_file.SfsFileSystemV2Id,
AccessTo = exampleVpc.VpcV1Id,
});
});
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 com.pulumi.flexibleengine.SfsAccessRuleV2;
import com.pulumi.flexibleengine.SfsAccessRuleV2Args;
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");
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")
.build());
var rule1 = new SfsAccessRuleV2("rule1", SfsAccessRuleV2Args.builder()
.sfsId(share_file.sfsFileSystemV2Id())
.accessTo(exampleVpc.vpcV1Id())
.build());
}
}
configuration:
shareName:
type: dynamic
resources:
exampleVpc:
type: flexibleengine:VpcV1
properties:
cidr: 192.168.0.0/16
share-file:
type: flexibleengine:SfsFileSystemV2
properties:
size: 100
shareProto: NFS
rule1:
type: flexibleengine:SfsAccessRuleV2
properties:
sfsId: ${["share-file"].sfsFileSystemV2Id}
accessTo: ${exampleVpc.vpcV1Id}
Create SfsAccessRuleV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SfsAccessRuleV2(name: string, args: SfsAccessRuleV2Args, opts?: CustomResourceOptions);
@overload
def SfsAccessRuleV2(resource_name: str,
args: SfsAccessRuleV2Args,
opts: Optional[ResourceOptions] = None)
@overload
def SfsAccessRuleV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
access_to: Optional[str] = None,
sfs_id: Optional[str] = None,
access_level: Optional[str] = None,
access_type: Optional[str] = None,
sfs_access_rule_v2_id: Optional[str] = None,
timeouts: Optional[SfsAccessRuleV2TimeoutsArgs] = None)
func NewSfsAccessRuleV2(ctx *Context, name string, args SfsAccessRuleV2Args, opts ...ResourceOption) (*SfsAccessRuleV2, error)
public SfsAccessRuleV2(string name, SfsAccessRuleV2Args args, CustomResourceOptions? opts = null)
public SfsAccessRuleV2(String name, SfsAccessRuleV2Args args)
public SfsAccessRuleV2(String name, SfsAccessRuleV2Args args, CustomResourceOptions options)
type: flexibleengine:SfsAccessRuleV2
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 SfsAccessRuleV2Args
- 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 SfsAccessRuleV2Args
- 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 SfsAccessRuleV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SfsAccessRuleV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SfsAccessRuleV2Args
- 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 sfsAccessRuleV2Resource = new Flexibleengine.SfsAccessRuleV2("sfsAccessRuleV2Resource", new()
{
AccessTo = "string",
SfsId = "string",
AccessLevel = "string",
AccessType = "string",
SfsAccessRuleV2Id = "string",
Timeouts = new Flexibleengine.Inputs.SfsAccessRuleV2TimeoutsArgs
{
Create = "string",
Delete = "string",
},
});
example, err := flexibleengine.NewSfsAccessRuleV2(ctx, "sfsAccessRuleV2Resource", &flexibleengine.SfsAccessRuleV2Args{
AccessTo: pulumi.String("string"),
SfsId: pulumi.String("string"),
AccessLevel: pulumi.String("string"),
AccessType: pulumi.String("string"),
SfsAccessRuleV2Id: pulumi.String("string"),
Timeouts: &flexibleengine.SfsAccessRuleV2TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
})
var sfsAccessRuleV2Resource = new SfsAccessRuleV2("sfsAccessRuleV2Resource", SfsAccessRuleV2Args.builder()
.accessTo("string")
.sfsId("string")
.accessLevel("string")
.accessType("string")
.sfsAccessRuleV2Id("string")
.timeouts(SfsAccessRuleV2TimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.build());
sfs_access_rule_v2_resource = flexibleengine.SfsAccessRuleV2("sfsAccessRuleV2Resource",
access_to="string",
sfs_id="string",
access_level="string",
access_type="string",
sfs_access_rule_v2_id="string",
timeouts={
"create": "string",
"delete": "string",
})
const sfsAccessRuleV2Resource = new flexibleengine.SfsAccessRuleV2("sfsAccessRuleV2Resource", {
accessTo: "string",
sfsId: "string",
accessLevel: "string",
accessType: "string",
sfsAccessRuleV2Id: "string",
timeouts: {
create: "string",
"delete": "string",
},
});
type: flexibleengine:SfsAccessRuleV2
properties:
accessLevel: string
accessTo: string
accessType: string
sfsAccessRuleV2Id: string
sfsId: string
timeouts:
create: string
delete: string
SfsAccessRuleV2 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 SfsAccessRuleV2 resource accepts the following input properties:
- 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.
- Sfs
Id string - Specifies the UUID of the shared file system. Changing this will create a new 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
Type string - Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
- Sfs
Access stringRule V2Id - The UUID of the share access rule.
- Timeouts
Sfs
Access Rule V2Timeouts
- 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.
- Sfs
Id string - Specifies the UUID of the shared file system. Changing this will create a new 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
Type string - Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
- Sfs
Access stringRule V2Id - The UUID of the share access rule.
- Timeouts
Sfs
Access Rule V2Timeouts Args
- 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.
- sfs
Id String - Specifies the UUID of the shared file system. Changing this will create a new 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
Type String - Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
- sfs
Access StringRule V2Id - The UUID of the share access rule.
- timeouts
Sfs
Access Rule V2Timeouts
- 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.
- sfs
Id string - Specifies the UUID of the shared file system. Changing this will create a new 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
Type string - Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
- sfs
Access stringRule V2Id - The UUID of the share access rule.
- timeouts
Sfs
Access Rule V2Timeouts
- 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.
- sfs_
id str - Specifies the UUID of the shared file system. Changing this will create a new 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_
type str - Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
- sfs_
access_ strrule_ v2_ id - The UUID of the share access rule.
- timeouts
Sfs
Access Rule V2Timeouts Args
- 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.
- sfs
Id String - Specifies the UUID of the shared file system. Changing this will create a new 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
Type String - Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
- sfs
Access StringRule V2Id - The UUID of the share access rule.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the SfsAccessRuleV2 resource produces the following output properties:
Look up Existing SfsAccessRuleV2 Resource
Get an existing SfsAccessRuleV2 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?: SfsAccessRuleV2State, opts?: CustomResourceOptions): SfsAccessRuleV2
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_level: Optional[str] = None,
access_to: Optional[str] = None,
access_type: Optional[str] = None,
sfs_access_rule_v2_id: Optional[str] = None,
sfs_id: Optional[str] = None,
status: Optional[str] = None,
timeouts: Optional[SfsAccessRuleV2TimeoutsArgs] = None) -> SfsAccessRuleV2
func GetSfsAccessRuleV2(ctx *Context, name string, id IDInput, state *SfsAccessRuleV2State, opts ...ResourceOption) (*SfsAccessRuleV2, error)
public static SfsAccessRuleV2 Get(string name, Input<string> id, SfsAccessRuleV2State? state, CustomResourceOptions? opts = null)
public static SfsAccessRuleV2 get(String name, Output<String> id, SfsAccessRuleV2State state, CustomResourceOptions options)
resources: _: type: flexibleengine:SfsAccessRuleV2 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
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.
- Access
Type string - Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
- Sfs
Access stringRule V2Id - The UUID of the share access rule.
- Sfs
Id string - Specifies the UUID of the shared file system. Changing this will create a new access rule.
- Status string
- The status of the share access rule.
- Timeouts
Sfs
Access Rule V2Timeouts
- 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.
- Access
Type string - Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
- Sfs
Access stringRule V2Id - The UUID of the share access rule.
- Sfs
Id string - Specifies the UUID of the shared file system. Changing this will create a new access rule.
- Status string
- The status of the share access rule.
- Timeouts
Sfs
Access Rule V2Timeouts Args
- 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.
- access
Type String - Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
- sfs
Access StringRule V2Id - The UUID of the share access rule.
- sfs
Id String - Specifies the UUID of the shared file system. Changing this will create a new access rule.
- status String
- The status of the share access rule.
- timeouts
Sfs
Access Rule V2Timeouts
- 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.
- access
Type string - Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
- sfs
Access stringRule V2Id - The UUID of the share access rule.
- sfs
Id string - Specifies the UUID of the shared file system. Changing this will create a new access rule.
- status string
- The status of the share access rule.
- timeouts
Sfs
Access Rule V2Timeouts
- 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.
- access_
type str - Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
- sfs_
access_ strrule_ v2_ id - The UUID of the share access rule.
- sfs_
id str - Specifies the UUID of the shared file system. Changing this will create a new access rule.
- status str
- The status of the share access rule.
- timeouts
Sfs
Access Rule V2Timeouts Args
- 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.
- access
Type String - Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
- sfs
Access StringRule V2Id - The UUID of the share access rule.
- sfs
Id String - Specifies the UUID of the shared file system. Changing this will create a new access rule.
- status String
- The status of the share access rule.
- timeouts Property Map
Supporting Types
SfsAccessRuleV2Timeouts, SfsAccessRuleV2TimeoutsArgs
Import
SFS access rule can be imported by specifying the SFS ID and access rule ID separated by a slash, e.g.:
$ pulumi import flexibleengine:index/sfsAccessRuleV2:SfsAccessRuleV2 flexibleengine_sfs_access_rule_v2 <sfs_id>/<rule_id>
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.