opentelekomcloud.SfsFileSystemV2
Explore with Pulumi AI
Up-to-date reference of API arguments for SFS file system you can get at documentation portal
Provides a Scalable File System resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const shareName = config.requireObject("shareName");
const shareDescription = config.requireObject("shareDescription");
const share_file = new opentelekomcloud.SfsFileSystemV2("share-file", {
size: 50,
description: shareDescription,
shareProto: "NFS",
tags: {
muh: "kuh",
},
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
share_name = config.require_object("shareName")
share_description = config.require_object("shareDescription")
share_file = opentelekomcloud.SfsFileSystemV2("share-file",
size=50,
description=share_description,
share_proto="NFS",
tags={
"muh": "kuh",
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"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")
_, err := opentelekomcloud.NewSfsFileSystemV2(ctx, "share-file", &opentelekomcloud.SfsFileSystemV2Args{
Size: pulumi.Float64(50),
Description: pulumi.Any(shareDescription),
ShareProto: pulumi.String("NFS"),
Tags: pulumi.StringMap{
"muh": pulumi.String("kuh"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var shareName = config.RequireObject<dynamic>("shareName");
var shareDescription = config.RequireObject<dynamic>("shareDescription");
var share_file = new Opentelekomcloud.SfsFileSystemV2("share-file", new()
{
Size = 50,
Description = shareDescription,
ShareProto = "NFS",
Tags =
{
{ "muh", "kuh" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.SfsFileSystemV2;
import com.pulumi.opentelekomcloud.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 share_file = new SfsFileSystemV2("share-file", SfsFileSystemV2Args.builder()
.size(50)
.description(shareDescription)
.shareProto("NFS")
.tags(Map.of("muh", "kuh"))
.build());
}
}
configuration:
shareName:
type: dynamic
shareDescription:
type: dynamic
resources:
share-file:
type: opentelekomcloud:SfsFileSystemV2
properties:
size: 50
description: ${shareDescription}
shareProto: NFS
tags:
muh: kuh
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,
tags: Optional[Mapping[str, 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: opentelekomcloud: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 Opentelekomcloud.SfsFileSystemV2("sfsFileSystemV2Resource", new()
{
Size = 0,
Metadata =
{
{ "string", "string" },
},
AvailabilityZone = "string",
Description = "string",
IsPublic = false,
Name = "string",
Region = "string",
SfsFileSystemV2Id = "string",
ShareProto = "string",
Tags =
{
{ "string", "string" },
},
Timeouts = new Opentelekomcloud.Inputs.SfsFileSystemV2TimeoutsArgs
{
Create = "string",
Delete = "string",
},
});
example, err := opentelekomcloud.NewSfsFileSystemV2(ctx, "sfsFileSystemV2Resource", &opentelekomcloud.SfsFileSystemV2Args{
Size: pulumi.Float64(0),
Metadata: pulumi.StringMap{
"string": pulumi.String("string"),
},
AvailabilityZone: pulumi.String("string"),
Description: pulumi.String("string"),
IsPublic: pulumi.Bool(false),
Name: pulumi.String("string"),
Region: pulumi.String("string"),
SfsFileSystemV2Id: pulumi.String("string"),
ShareProto: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &opentelekomcloud.SfsFileSystemV2TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
})
var sfsFileSystemV2Resource = new SfsFileSystemV2("sfsFileSystemV2Resource", SfsFileSystemV2Args.builder()
.size(0)
.metadata(Map.of("string", "string"))
.availabilityZone("string")
.description("string")
.isPublic(false)
.name("string")
.region("string")
.sfsFileSystemV2Id("string")
.shareProto("string")
.tags(Map.of("string", "string"))
.timeouts(SfsFileSystemV2TimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.build());
sfs_file_system_v2_resource = opentelekomcloud.SfsFileSystemV2("sfsFileSystemV2Resource",
size=0,
metadata={
"string": "string",
},
availability_zone="string",
description="string",
is_public=False,
name="string",
region="string",
sfs_file_system_v2_id="string",
share_proto="string",
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
})
const sfsFileSystemV2Resource = new opentelekomcloud.SfsFileSystemV2("sfsFileSystemV2Resource", {
size: 0,
metadata: {
string: "string",
},
availabilityZone: "string",
description: "string",
isPublic: false,
name: "string",
region: "string",
sfsFileSystemV2Id: "string",
shareProto: "string",
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
},
});
type: opentelekomcloud:SfsFileSystemV2
properties:
availabilityZone: string
description: string
isPublic: false
metadata:
string: string
name: string
region: string
sfsFileSystemV2Id: string
shareProto: string
size: 0
tags:
string: string
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 - The access level of the shared file system. Changing this will create
a new access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - Access
To string - The access that the back end grants or denies. Changing this will
create new access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - Access
Type string - The type of the share access rule. Changing this will create a new
access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - 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.
- Metadata Dictionary<string, string>
- Metadata key/value pairs as a dictionary of strings. Changing this will create a new resource.
- Name string
- The name of the shared file system.
- Region string
- The region in which to obtain the V2 SFS client. If omitted, the
region
argument of the provider is used. Changing this creates a new share. - Sfs
File stringSystem V2Id - The UUID of the shared file system.
- string
- The protocol for sharing file systems. The default value is
NFS
. - Dictionary<string, string>
- Tags key/value pairs to associate with the SFS File System.
- Timeouts
Sfs
File System V2Timeouts
- Size float64
- The size (GB) of the shared file system.
- Access
Level string - The access level of the shared file system. Changing this will create
a new access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - Access
To string - The access that the back end grants or denies. Changing this will
create new access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - Access
Type string - The type of the share access rule. Changing this will create a new
access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - 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.
- Metadata map[string]string
- Metadata key/value pairs as a dictionary of strings. Changing this will create a new resource.
- Name string
- The name of the shared file system.
- Region string
- The region in which to obtain the V2 SFS client. If omitted, the
region
argument of the provider is used. Changing this creates a new share. - Sfs
File stringSystem V2Id - The UUID of the shared file system.
- string
- The protocol for sharing file systems. The default value is
NFS
. - map[string]string
- Tags key/value pairs to associate with the SFS File System.
- Timeouts
Sfs
File System V2Timeouts Args
- size Double
- The size (GB) of the shared file system.
- access
Level String - The access level of the shared file system. Changing this will create
a new access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - access
To String - The access that the back end grants or denies. Changing this will
create new access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - access
Type String - The type of the share access rule. Changing this will create a new
access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - 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.
- metadata Map<String,String>
- Metadata key/value pairs as a dictionary of strings. Changing this will create a new resource.
- name String
- The name of the shared file system.
- region String
- The region in which to obtain the V2 SFS client. If omitted, the
region
argument of the provider is used. Changing this creates a new share. - sfs
File StringSystem V2Id - The UUID of the shared file system.
- String
- The protocol for sharing file systems. The default value is
NFS
. - Map<String,String>
- Tags key/value pairs to associate with the SFS File System.
- timeouts
Sfs
File System V2Timeouts
- size number
- The size (GB) of the shared file system.
- access
Level string - The access level of the shared file system. Changing this will create
a new access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - access
To string - The access that the back end grants or denies. Changing this will
create new access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - access
Type string - The type of the share access rule. Changing this will create a new
access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - 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.
- metadata {[key: string]: string}
- Metadata key/value pairs as a dictionary of strings. Changing this will create a new resource.
- name string
- The name of the shared file system.
- region string
- The region in which to obtain the V2 SFS client. If omitted, the
region
argument of the provider is used. Changing this creates a new share. - sfs
File stringSystem V2Id - The UUID of the shared file system.
- string
- The protocol for sharing file systems. The default value is
NFS
. - {[key: string]: string}
- Tags key/value pairs to associate with the SFS File System.
- timeouts
Sfs
File System V2Timeouts
- size float
- The size (GB) of the shared file system.
- access_
level str - The access level of the shared file system. Changing this will create
a new access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - access_
to str - The access that the back end grants or denies. Changing this will
create new access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - access_
type str - The type of the share access rule. Changing this will create a new
access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - 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.
- metadata Mapping[str, str]
- Metadata key/value pairs as a dictionary of strings. Changing this will create a new resource.
- name str
- The name of the shared file system.
- region str
- The region in which to obtain the V2 SFS client. If omitted, the
region
argument of the provider is used. Changing this creates a new share. - sfs_
file_ strsystem_ v2_ id - The UUID of the shared file system.
- str
- The protocol for sharing file systems. The default value is
NFS
. - Mapping[str, str]
- Tags key/value pairs to associate with the SFS File System.
- timeouts
Sfs
File System V2Timeouts Args
- size Number
- The size (GB) of the shared file system.
- access
Level String - The access level of the shared file system. Changing this will create
a new access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - access
To String - The access that the back end grants or denies. Changing this will
create new access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - access
Type String - The type of the share access rule. Changing this will create a new
access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - 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.
- metadata Map<String>
- Metadata key/value pairs as a dictionary of strings. Changing this will create a new resource.
- name String
- The name of the shared file system.
- region String
- The region in which to obtain the V2 SFS client. If omitted, the
region
argument of the provider is used. Changing this creates a new share. - sfs
File StringSystem V2Id - The UUID of the shared file system.
- String
- The protocol for sharing file systems. The default value is
NFS
. - Map<String>
- Tags key/value pairs to associate with the SFS File System.
- 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.
- Export
Location string - The address for accessing the shared file system.
- Host string
- The host name of the shared file system.
- Id string
- The provider-assigned unique ID for this managed resource.
- string
- The UUID of the share access rule.
- string
- The storage service type assigned for the shared file system, such as high-performance storage (composed of SSDs) and large-capacity storage (composed of SATA disks).
- Status string
- The status of the shared file system.
- Volume
Type string - The volume type.
- Access
Rule stringStatus - The status of the share access rule.
- Export
Location string - The address for accessing the shared file system.
- Host string
- The host name of the shared file system.
- Id string
- The provider-assigned unique ID for this managed resource.
- string
- The UUID of the share access rule.
- string
- The storage service type assigned for the shared file system, such as high-performance storage (composed of SSDs) and large-capacity storage (composed of SATA disks).
- Status string
- The status of the shared file system.
- Volume
Type string - The volume type.
- access
Rule StringStatus - The status of the share access rule.
- export
Location String - The address for accessing the shared file system.
- host String
- The host name of the shared file system.
- id String
- The provider-assigned unique ID for this managed resource.
- String
- The UUID of the share access rule.
- String
- The storage service type assigned for the shared file system, such as high-performance storage (composed of SSDs) and large-capacity storage (composed of SATA disks).
- status String
- The status of the shared file system.
- volume
Type String - The volume type.
- access
Rule stringStatus - The status of the share access rule.
- export
Location string - The address for accessing the shared file system.
- host string
- The host name of the shared file system.
- id string
- The provider-assigned unique ID for this managed resource.
- string
- The UUID of the share access rule.
- string
- The storage service type assigned for the shared file system, such as high-performance storage (composed of SSDs) and large-capacity storage (composed of SATA disks).
- status string
- The status of the shared file system.
- volume
Type string - The volume type.
- access_
rule_ strstatus - The status of the share access rule.
- export_
location str - The address for accessing the shared file system.
- host str
- The host name of the shared file system.
- id str
- The provider-assigned unique ID for this managed resource.
- str
- The UUID of the share access rule.
- str
- The storage service type assigned for the shared file system, such as high-performance storage (composed of SSDs) and large-capacity storage (composed of SATA disks).
- status str
- The status of the shared file system.
- volume_
type str - The volume type.
- access
Rule StringStatus - The status of the share access rule.
- export
Location String - The address for accessing the shared file system.
- host String
- The host name of the shared file system.
- id String
- The provider-assigned unique ID for this managed resource.
- String
- The UUID of the share access rule.
- String
- The storage service type assigned for the shared file system, such as high-performance storage (composed of SSDs) and large-capacity storage (composed of SATA disks).
- status String
- The status of the shared file system.
- 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_to: Optional[str] = None,
access_type: Optional[str] = None,
availability_zone: Optional[str] = None,
description: Optional[str] = None,
export_location: Optional[str] = None,
host: 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,
share_type: Optional[str] = None,
size: Optional[float] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, 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: opentelekomcloud: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 - The access level of the shared file system. Changing this will create
a new access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - Access
Rule stringStatus - The status of the share access rule.
- Access
To string - The access that the back end grants or denies. Changing this will
create new access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - Access
Type string - The type of the share access rule. Changing this will create a new
access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - 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.
- Host string
- The host name of the shared file system.
- Is
Public bool - The level of visibility for the shared file system.
- Metadata Dictionary<string, string>
- Metadata key/value pairs as a dictionary of strings. Changing this will create a new resource.
- Name string
- The name of the shared file system.
- Region string
- The region in which to obtain the V2 SFS client. If omitted, the
region
argument of the provider is used. Changing this creates a new share. - 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
. - string
- The storage service type assigned for the shared file system, such as high-performance storage (composed of SSDs) and large-capacity storage (composed of SATA disks).
- Size double
- The size (GB) of the shared file system.
- Status string
- The status of the shared file system.
- Dictionary<string, string>
- Tags key/value pairs to associate with the SFS File System.
- Timeouts
Sfs
File System V2Timeouts - Volume
Type string - The volume type.
- Access
Level string - The access level of the shared file system. Changing this will create
a new access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - Access
Rule stringStatus - The status of the share access rule.
- Access
To string - The access that the back end grants or denies. Changing this will
create new access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - Access
Type string - The type of the share access rule. Changing this will create a new
access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - 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.
- Host string
- The host name of the shared file system.
- Is
Public bool - The level of visibility for the shared file system.
- Metadata map[string]string
- Metadata key/value pairs as a dictionary of strings. Changing this will create a new resource.
- Name string
- The name of the shared file system.
- Region string
- The region in which to obtain the V2 SFS client. If omitted, the
region
argument of the provider is used. Changing this creates a new share. - 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
. - string
- The storage service type assigned for the shared file system, such as high-performance storage (composed of SSDs) and large-capacity storage (composed of SATA disks).
- Size float64
- The size (GB) of the shared file system.
- Status string
- The status of the shared file system.
- map[string]string
- Tags key/value pairs to associate with the SFS File System.
- Timeouts
Sfs
File System V2Timeouts Args - Volume
Type string - The volume type.
- access
Level String - The access level of the shared file system. Changing this will create
a new access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - access
Rule StringStatus - The status of the share access rule.
- access
To String - The access that the back end grants or denies. Changing this will
create new access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - access
Type String - The type of the share access rule. Changing this will create a new
access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - 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.
- host String
- The host name of the shared file system.
- is
Public Boolean - The level of visibility for the shared file system.
- metadata Map<String,String>
- Metadata key/value pairs as a dictionary of strings. Changing this will create a new resource.
- name String
- The name of the shared file system.
- region String
- The region in which to obtain the V2 SFS client. If omitted, the
region
argument of the provider is used. Changing this creates a new share. - 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
. - String
- The storage service type assigned for the shared file system, such as high-performance storage (composed of SSDs) and large-capacity storage (composed of SATA disks).
- size Double
- The size (GB) of the shared file system.
- status String
- The status of the shared file system.
- Map<String,String>
- Tags key/value pairs to associate with the SFS File System.
- timeouts
Sfs
File System V2Timeouts - volume
Type String - The volume type.
- access
Level string - The access level of the shared file system. Changing this will create
a new access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - access
Rule stringStatus - The status of the share access rule.
- access
To string - The access that the back end grants or denies. Changing this will
create new access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - access
Type string - The type of the share access rule. Changing this will create a new
access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - 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.
- host string
- The host name of the shared file system.
- is
Public boolean - The level of visibility for the shared file system.
- metadata {[key: string]: string}
- Metadata key/value pairs as a dictionary of strings. Changing this will create a new resource.
- name string
- The name of the shared file system.
- region string
- The region in which to obtain the V2 SFS client. If omitted, the
region
argument of the provider is used. Changing this creates a new share. - 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
. - string
- The storage service type assigned for the shared file system, such as high-performance storage (composed of SSDs) and large-capacity storage (composed of SATA disks).
- size number
- The size (GB) of the shared file system.
- status string
- The status of the shared file system.
- {[key: string]: string}
- Tags key/value pairs to associate with the SFS File System.
- timeouts
Sfs
File System V2Timeouts - volume
Type string - The volume type.
- access_
level str - The access level of the shared file system. Changing this will create
a new access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - access_
rule_ strstatus - The status of the share access rule.
- access_
to str - The access that the back end grants or denies. Changing this will
create new access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - access_
type str - The type of the share access rule. Changing this will create a new
access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - 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.
- host str
- The host name of the shared file system.
- is_
public bool - The level of visibility for the shared file system.
- metadata Mapping[str, str]
- Metadata key/value pairs as a dictionary of strings. Changing this will create a new resource.
- name str
- The name of the shared file system.
- region str
- The region in which to obtain the V2 SFS client. If omitted, the
region
argument of the provider is used. Changing this creates a new share. - 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
. - str
- The storage service type assigned for the shared file system, such as high-performance storage (composed of SSDs) and large-capacity storage (composed of SATA disks).
- size float
- The size (GB) of the shared file system.
- status str
- The status of the shared file system.
- Mapping[str, str]
- Tags key/value pairs to associate with the SFS File System.
- timeouts
Sfs
File System V2Timeouts Args - volume_
type str - The volume type.
- access
Level String - The access level of the shared file system. Changing this will create
a new access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - access
Rule StringStatus - The status of the share access rule.
- access
To String - The access that the back end grants or denies. Changing this will
create new access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - access
Type String - The type of the share access rule. Changing this will create a new
access rule. Deprecated, please use the
opentelekomcloud_sfs_share_access_rule_v2
resource instead. - 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.
- host String
- The host name of the shared file system.
- is
Public Boolean - The level of visibility for the shared file system.
- metadata Map<String>
- Metadata key/value pairs as a dictionary of strings. Changing this will create a new resource.
- name String
- The name of the shared file system.
- region String
- The region in which to obtain the V2 SFS client. If omitted, the
region
argument of the provider is used. Changing this creates a new share. - 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
. - String
- The storage service type assigned for the shared file system, such as high-performance storage (composed of SSDs) and large-capacity storage (composed of SATA disks).
- size Number
- The size (GB) of the shared file system.
- status String
- The status of the shared file system.
- Map<String>
- Tags key/value pairs to associate with the SFS File System.
- timeouts Property Map
- volume
Type String - The volume type.
Supporting Types
SfsFileSystemV2Timeouts, SfsFileSystemV2TimeoutsArgs
Import
SFS can be imported using the id
, e.g.
$ pulumi import opentelekomcloud:index/sfsFileSystemV2:SfsFileSystemV2 opentelekomcloud_sfs_file_system_v2 4779ab1c-7c1a-44b1-a02e-93dfc361b32d
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.