opentelekomcloud.SfsTurboShareV1
Explore with Pulumi AI
Up-to-date reference of API arguments for SFS turbo share you can get at documentation portal
Provides a Shared File System (SFS) Turbo resource.
Example Usage
Basic SFS Turbo share
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const vpcId = config.requireObject("vpcId");
const subnetId = config.requireObject("subnetId");
const sgId = config.requireObject("sgId");
const az = config.requireObject("az");
const sfs_turbo = new opentelekomcloud.SfsTurboShareV1("sfs-turbo", {
size: 500,
shareProto: "NFS",
vpcId: vpcId,
subnetId: subnetId,
securityGroupId: sgId,
availabilityZone: az,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
vpc_id = config.require_object("vpcId")
subnet_id = config.require_object("subnetId")
sg_id = config.require_object("sgId")
az = config.require_object("az")
sfs_turbo = opentelekomcloud.SfsTurboShareV1("sfs-turbo",
size=500,
share_proto="NFS",
vpc_id=vpc_id,
subnet_id=subnet_id,
security_group_id=sg_id,
availability_zone=az)
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, "")
vpcId := cfg.RequireObject("vpcId")
subnetId := cfg.RequireObject("subnetId")
sgId := cfg.RequireObject("sgId")
az := cfg.RequireObject("az")
_, err := opentelekomcloud.NewSfsTurboShareV1(ctx, "sfs-turbo", &opentelekomcloud.SfsTurboShareV1Args{
Size: pulumi.Float64(500),
ShareProto: pulumi.String("NFS"),
VpcId: pulumi.Any(vpcId),
SubnetId: pulumi.Any(subnetId),
SecurityGroupId: pulumi.Any(sgId),
AvailabilityZone: pulumi.Any(az),
})
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 vpcId = config.RequireObject<dynamic>("vpcId");
var subnetId = config.RequireObject<dynamic>("subnetId");
var sgId = config.RequireObject<dynamic>("sgId");
var az = config.RequireObject<dynamic>("az");
var sfs_turbo = new Opentelekomcloud.SfsTurboShareV1("sfs-turbo", new()
{
Size = 500,
ShareProto = "NFS",
VpcId = vpcId,
SubnetId = subnetId,
SecurityGroupId = sgId,
AvailabilityZone = az,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.SfsTurboShareV1;
import com.pulumi.opentelekomcloud.SfsTurboShareV1Args;
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 vpcId = config.get("vpcId");
final var subnetId = config.get("subnetId");
final var sgId = config.get("sgId");
final var az = config.get("az");
var sfs_turbo = new SfsTurboShareV1("sfs-turbo", SfsTurboShareV1Args.builder()
.size(500)
.shareProto("NFS")
.vpcId(vpcId)
.subnetId(subnetId)
.securityGroupId(sgId)
.availabilityZone(az)
.build());
}
}
configuration:
vpcId:
type: dynamic
subnetId:
type: dynamic
sgId:
type: dynamic
az:
type: dynamic
resources:
sfs-turbo:
type: opentelekomcloud:SfsTurboShareV1
properties:
size: 500
shareProto: NFS
vpcId: ${vpcId}
subnetId: ${subnetId}
securityGroupId: ${sgId}
availabilityZone: ${az}
Enhanced SFS Turbo Performance share
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const vpcId = config.requireObject("vpcId");
const subnetId = config.requireObject("subnetId");
const sgId = config.requireObject("sgId");
const az = config.requireObject("az");
const sfs_turbo = new opentelekomcloud.SfsTurboShareV1("sfs-turbo", {
size: 500,
shareProto: "NFS",
shareType: "PERFORMANCE",
expandType: "bandwidth",
vpcId: vpcId,
subnetId: subnetId,
securityGroupId: sgId,
availabilityZone: az,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
vpc_id = config.require_object("vpcId")
subnet_id = config.require_object("subnetId")
sg_id = config.require_object("sgId")
az = config.require_object("az")
sfs_turbo = opentelekomcloud.SfsTurboShareV1("sfs-turbo",
size=500,
share_proto="NFS",
share_type="PERFORMANCE",
expand_type="bandwidth",
vpc_id=vpc_id,
subnet_id=subnet_id,
security_group_id=sg_id,
availability_zone=az)
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, "")
vpcId := cfg.RequireObject("vpcId")
subnetId := cfg.RequireObject("subnetId")
sgId := cfg.RequireObject("sgId")
az := cfg.RequireObject("az")
_, err := opentelekomcloud.NewSfsTurboShareV1(ctx, "sfs-turbo", &opentelekomcloud.SfsTurboShareV1Args{
Size: pulumi.Float64(500),
ShareProto: pulumi.String("NFS"),
ShareType: pulumi.String("PERFORMANCE"),
ExpandType: pulumi.String("bandwidth"),
VpcId: pulumi.Any(vpcId),
SubnetId: pulumi.Any(subnetId),
SecurityGroupId: pulumi.Any(sgId),
AvailabilityZone: pulumi.Any(az),
})
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 vpcId = config.RequireObject<dynamic>("vpcId");
var subnetId = config.RequireObject<dynamic>("subnetId");
var sgId = config.RequireObject<dynamic>("sgId");
var az = config.RequireObject<dynamic>("az");
var sfs_turbo = new Opentelekomcloud.SfsTurboShareV1("sfs-turbo", new()
{
Size = 500,
ShareProto = "NFS",
ShareType = "PERFORMANCE",
ExpandType = "bandwidth",
VpcId = vpcId,
SubnetId = subnetId,
SecurityGroupId = sgId,
AvailabilityZone = az,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.SfsTurboShareV1;
import com.pulumi.opentelekomcloud.SfsTurboShareV1Args;
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 vpcId = config.get("vpcId");
final var subnetId = config.get("subnetId");
final var sgId = config.get("sgId");
final var az = config.get("az");
var sfs_turbo = new SfsTurboShareV1("sfs-turbo", SfsTurboShareV1Args.builder()
.size(500)
.shareProto("NFS")
.shareType("PERFORMANCE")
.expandType("bandwidth")
.vpcId(vpcId)
.subnetId(subnetId)
.securityGroupId(sgId)
.availabilityZone(az)
.build());
}
}
configuration:
vpcId:
type: dynamic
subnetId:
type: dynamic
sgId:
type: dynamic
az:
type: dynamic
resources:
sfs-turbo:
type: opentelekomcloud:SfsTurboShareV1
properties:
size: 500
shareProto: NFS
shareType: PERFORMANCE
expandType: bandwidth
vpcId: ${vpcId}
subnetId: ${subnetId}
securityGroupId: ${sgId}
availabilityZone: ${az}
SFS Turbo share with 20, 40, 125 or 250 MB/s/TiB file system
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const vpcId = config.requireObject("vpcId");
const subnetId = config.requireObject("subnetId");
const sgId = config.requireObject("sgId");
const az = config.requireObject("az");
const sfs_turbo = new opentelekomcloud.SfsTurboShareV1("sfs-turbo", {
size: 3686,
shareProto: "NFS",
expandType: "hpc",
hpcBw: "20M",
vpcId: vpcId,
subnetId: subnetId,
securityGroupId: sgId,
availabilityZone: az,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
vpc_id = config.require_object("vpcId")
subnet_id = config.require_object("subnetId")
sg_id = config.require_object("sgId")
az = config.require_object("az")
sfs_turbo = opentelekomcloud.SfsTurboShareV1("sfs-turbo",
size=3686,
share_proto="NFS",
expand_type="hpc",
hpc_bw="20M",
vpc_id=vpc_id,
subnet_id=subnet_id,
security_group_id=sg_id,
availability_zone=az)
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, "")
vpcId := cfg.RequireObject("vpcId")
subnetId := cfg.RequireObject("subnetId")
sgId := cfg.RequireObject("sgId")
az := cfg.RequireObject("az")
_, err := opentelekomcloud.NewSfsTurboShareV1(ctx, "sfs-turbo", &opentelekomcloud.SfsTurboShareV1Args{
Size: pulumi.Float64(3686),
ShareProto: pulumi.String("NFS"),
ExpandType: pulumi.String("hpc"),
HpcBw: pulumi.String("20M"),
VpcId: pulumi.Any(vpcId),
SubnetId: pulumi.Any(subnetId),
SecurityGroupId: pulumi.Any(sgId),
AvailabilityZone: pulumi.Any(az),
})
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 vpcId = config.RequireObject<dynamic>("vpcId");
var subnetId = config.RequireObject<dynamic>("subnetId");
var sgId = config.RequireObject<dynamic>("sgId");
var az = config.RequireObject<dynamic>("az");
var sfs_turbo = new Opentelekomcloud.SfsTurboShareV1("sfs-turbo", new()
{
Size = 3686,
ShareProto = "NFS",
ExpandType = "hpc",
HpcBw = "20M",
VpcId = vpcId,
SubnetId = subnetId,
SecurityGroupId = sgId,
AvailabilityZone = az,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.SfsTurboShareV1;
import com.pulumi.opentelekomcloud.SfsTurboShareV1Args;
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 vpcId = config.get("vpcId");
final var subnetId = config.get("subnetId");
final var sgId = config.get("sgId");
final var az = config.get("az");
var sfs_turbo = new SfsTurboShareV1("sfs-turbo", SfsTurboShareV1Args.builder()
.size(3686)
.shareProto("NFS")
.expandType("hpc")
.hpcBw("20M")
.vpcId(vpcId)
.subnetId(subnetId)
.securityGroupId(sgId)
.availabilityZone(az)
.build());
}
}
configuration:
vpcId:
type: dynamic
subnetId:
type: dynamic
sgId:
type: dynamic
az:
type: dynamic
resources:
sfs-turbo:
type: opentelekomcloud:SfsTurboShareV1
properties:
size: 3686
shareProto: NFS
expandType: hpc
hpcBw: 20M
vpcId: ${vpcId}
subnetId: ${subnetId}
securityGroupId: ${sgId}
availabilityZone: ${az}
Create SfsTurboShareV1 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SfsTurboShareV1(name: string, args: SfsTurboShareV1Args, opts?: CustomResourceOptions);
@overload
def SfsTurboShareV1(resource_name: str,
args: SfsTurboShareV1Args,
opts: Optional[ResourceOptions] = None)
@overload
def SfsTurboShareV1(resource_name: str,
opts: Optional[ResourceOptions] = None,
availability_zone: Optional[str] = None,
vpc_id: Optional[str] = None,
subnet_id: Optional[str] = None,
size: Optional[float] = None,
security_group_id: Optional[str] = None,
region: Optional[str] = None,
name: Optional[str] = None,
hpc_bw: Optional[str] = None,
sfs_turbo_share_v1_id: Optional[str] = None,
share_proto: Optional[str] = None,
share_type: Optional[str] = None,
expand_type: Optional[str] = None,
enhanced: Optional[bool] = None,
timeouts: Optional[SfsTurboShareV1TimeoutsArgs] = None,
crypt_key_id: Optional[str] = None)
func NewSfsTurboShareV1(ctx *Context, name string, args SfsTurboShareV1Args, opts ...ResourceOption) (*SfsTurboShareV1, error)
public SfsTurboShareV1(string name, SfsTurboShareV1Args args, CustomResourceOptions? opts = null)
public SfsTurboShareV1(String name, SfsTurboShareV1Args args)
public SfsTurboShareV1(String name, SfsTurboShareV1Args args, CustomResourceOptions options)
type: opentelekomcloud:SfsTurboShareV1
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 SfsTurboShareV1Args
- 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 SfsTurboShareV1Args
- 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 SfsTurboShareV1Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SfsTurboShareV1Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SfsTurboShareV1Args
- 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 sfsTurboShareV1Resource = new Opentelekomcloud.SfsTurboShareV1("sfsTurboShareV1Resource", new()
{
AvailabilityZone = "string",
VpcId = "string",
SubnetId = "string",
Size = 0,
SecurityGroupId = "string",
Region = "string",
Name = "string",
HpcBw = "string",
SfsTurboShareV1Id = "string",
ShareProto = "string",
ShareType = "string",
ExpandType = "string",
Timeouts = new Opentelekomcloud.Inputs.SfsTurboShareV1TimeoutsArgs
{
Create = "string",
Delete = "string",
},
CryptKeyId = "string",
});
example, err := opentelekomcloud.NewSfsTurboShareV1(ctx, "sfsTurboShareV1Resource", &opentelekomcloud.SfsTurboShareV1Args{
AvailabilityZone: pulumi.String("string"),
VpcId: pulumi.String("string"),
SubnetId: pulumi.String("string"),
Size: pulumi.Float64(0),
SecurityGroupId: pulumi.String("string"),
Region: pulumi.String("string"),
Name: pulumi.String("string"),
HpcBw: pulumi.String("string"),
SfsTurboShareV1Id: pulumi.String("string"),
ShareProto: pulumi.String("string"),
ShareType: pulumi.String("string"),
ExpandType: pulumi.String("string"),
Timeouts: &opentelekomcloud.SfsTurboShareV1TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
CryptKeyId: pulumi.String("string"),
})
var sfsTurboShareV1Resource = new SfsTurboShareV1("sfsTurboShareV1Resource", SfsTurboShareV1Args.builder()
.availabilityZone("string")
.vpcId("string")
.subnetId("string")
.size(0.0)
.securityGroupId("string")
.region("string")
.name("string")
.hpcBw("string")
.sfsTurboShareV1Id("string")
.shareProto("string")
.shareType("string")
.expandType("string")
.timeouts(SfsTurboShareV1TimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.cryptKeyId("string")
.build());
sfs_turbo_share_v1_resource = opentelekomcloud.SfsTurboShareV1("sfsTurboShareV1Resource",
availability_zone="string",
vpc_id="string",
subnet_id="string",
size=0,
security_group_id="string",
region="string",
name="string",
hpc_bw="string",
sfs_turbo_share_v1_id="string",
share_proto="string",
share_type="string",
expand_type="string",
timeouts={
"create": "string",
"delete": "string",
},
crypt_key_id="string")
const sfsTurboShareV1Resource = new opentelekomcloud.SfsTurboShareV1("sfsTurboShareV1Resource", {
availabilityZone: "string",
vpcId: "string",
subnetId: "string",
size: 0,
securityGroupId: "string",
region: "string",
name: "string",
hpcBw: "string",
sfsTurboShareV1Id: "string",
shareProto: "string",
shareType: "string",
expandType: "string",
timeouts: {
create: "string",
"delete": "string",
},
cryptKeyId: "string",
});
type: opentelekomcloud:SfsTurboShareV1
properties:
availabilityZone: string
cryptKeyId: string
expandType: string
hpcBw: string
name: string
region: string
securityGroupId: string
sfsTurboShareV1Id: string
shareProto: string
shareType: string
size: 0
subnetId: string
timeouts:
create: string
delete: string
vpcId: string
SfsTurboShareV1 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 SfsTurboShareV1 resource accepts the following input properties:
- Availability
Zone string - Specifies the availability zone where the file system is located. Changing this will create a new resource.
- Security
Group stringId - Specifies the security group ID.
- Size double
- Specifies the capacity of a common file system, in GB. The value ranges
from
500
to32768
.For an SFS Turbo Enhanced file system, if expand_type is set to bandwidth in the metadata field, the capacity ranges from 10240 to 327680, in GiB. Ifexpand_type
is set tohpc
andhpc_bw
is set to20M
(20MB/s/TiB),40M
(40MB/s/TiB:),125M
(125MB/s/TiB), or250M
(250MB/s/TiB), the capacity ranges from 3686 to 1048576, in GiB. The capacity must be a multiple of 1.2 TiB. The value must be rounded down after being converted to GiB. For example, 3.6TiB->3686GiB, 4.8TiB->4915GiB, 8.4TiB->8601GiB. - Subnet
Id string - Specifies the network ID of the subnet. Changing this will create a new resource.
- Vpc
Id string - Specifies the VPC ID. Changing this will create a new resource.
- Crypt
Key stringId - Specifies the ID of a KMS key to encrypt the file system. Changing this will create a new resource.
- Enhanced bool
- Expand
Type string - Specifies the extension type. This parameter is mandatory when you are creating an SFS Turbo 250 MB/s/TiB, 125 MB/s/TiB, 40 MB/s/TiB, 20 MB/s/TiB, or Enhanced file system. Accepted values:
- Hpc
Bw string Specifies the file system bandwidth. This parameter is mandatory when you are creating an SFS Turbo 250 MB/s/TiB, 125 MB/s/TiB, 40 MB/s/TiB, 20 MB/s/TiB file system. Accepted values:
20M
(for a 20 MB/s/TiB file system),40M
(for a 40 MB/s/TiB file system),125M
(for a 125 MB/s/TiB file system), and250M
(for a 250 MB/s/TiB file system).SFS Turbo will create two private IP addresses and one virtual IP address under the subnet you specified. To ensure normal use, SFS Turbo will enable the inbound rules for ports
111
,445
,2049
,2051
,2052
, and20048
in the security group you specified.- Name string
- Specifies the name of an SFS Turbo file system. The value contains 4 to 64 characters and must start with a letter. Changing this will create a new resource.
- Region string
- The region in which to create the SFS Turbo resource. If omitted, the provider-level region will be used. Changing this creates a new SFS Turbo resource.
- string
- The UUID of the SFS Turbo file system.
- string
- Specifies the protocol for sharing file systems. The valid value is
NFS
. Changing this will create a new resource. - string
- Specifies the file system type. The valid values are
STANDARD
andPERFORMANCE
. Changing this will create a new resource. - Timeouts
Sfs
Turbo Share V1Timeouts
- Availability
Zone string - Specifies the availability zone where the file system is located. Changing this will create a new resource.
- Security
Group stringId - Specifies the security group ID.
- Size float64
- Specifies the capacity of a common file system, in GB. The value ranges
from
500
to32768
.For an SFS Turbo Enhanced file system, if expand_type is set to bandwidth in the metadata field, the capacity ranges from 10240 to 327680, in GiB. Ifexpand_type
is set tohpc
andhpc_bw
is set to20M
(20MB/s/TiB),40M
(40MB/s/TiB:),125M
(125MB/s/TiB), or250M
(250MB/s/TiB), the capacity ranges from 3686 to 1048576, in GiB. The capacity must be a multiple of 1.2 TiB. The value must be rounded down after being converted to GiB. For example, 3.6TiB->3686GiB, 4.8TiB->4915GiB, 8.4TiB->8601GiB. - Subnet
Id string - Specifies the network ID of the subnet. Changing this will create a new resource.
- Vpc
Id string - Specifies the VPC ID. Changing this will create a new resource.
- Crypt
Key stringId - Specifies the ID of a KMS key to encrypt the file system. Changing this will create a new resource.
- Enhanced bool
- Expand
Type string - Specifies the extension type. This parameter is mandatory when you are creating an SFS Turbo 250 MB/s/TiB, 125 MB/s/TiB, 40 MB/s/TiB, 20 MB/s/TiB, or Enhanced file system. Accepted values:
- Hpc
Bw string Specifies the file system bandwidth. This parameter is mandatory when you are creating an SFS Turbo 250 MB/s/TiB, 125 MB/s/TiB, 40 MB/s/TiB, 20 MB/s/TiB file system. Accepted values:
20M
(for a 20 MB/s/TiB file system),40M
(for a 40 MB/s/TiB file system),125M
(for a 125 MB/s/TiB file system), and250M
(for a 250 MB/s/TiB file system).SFS Turbo will create two private IP addresses and one virtual IP address under the subnet you specified. To ensure normal use, SFS Turbo will enable the inbound rules for ports
111
,445
,2049
,2051
,2052
, and20048
in the security group you specified.- Name string
- Specifies the name of an SFS Turbo file system. The value contains 4 to 64 characters and must start with a letter. Changing this will create a new resource.
- Region string
- The region in which to create the SFS Turbo resource. If omitted, the provider-level region will be used. Changing this creates a new SFS Turbo resource.
- string
- The UUID of the SFS Turbo file system.
- string
- Specifies the protocol for sharing file systems. The valid value is
NFS
. Changing this will create a new resource. - string
- Specifies the file system type. The valid values are
STANDARD
andPERFORMANCE
. Changing this will create a new resource. - Timeouts
Sfs
Turbo Share V1Timeouts Args
- availability
Zone String - Specifies the availability zone where the file system is located. Changing this will create a new resource.
- security
Group StringId - Specifies the security group ID.
- size Double
- Specifies the capacity of a common file system, in GB. The value ranges
from
500
to32768
.For an SFS Turbo Enhanced file system, if expand_type is set to bandwidth in the metadata field, the capacity ranges from 10240 to 327680, in GiB. Ifexpand_type
is set tohpc
andhpc_bw
is set to20M
(20MB/s/TiB),40M
(40MB/s/TiB:),125M
(125MB/s/TiB), or250M
(250MB/s/TiB), the capacity ranges from 3686 to 1048576, in GiB. The capacity must be a multiple of 1.2 TiB. The value must be rounded down after being converted to GiB. For example, 3.6TiB->3686GiB, 4.8TiB->4915GiB, 8.4TiB->8601GiB. - subnet
Id String - Specifies the network ID of the subnet. Changing this will create a new resource.
- vpc
Id String - Specifies the VPC ID. Changing this will create a new resource.
- crypt
Key StringId - Specifies the ID of a KMS key to encrypt the file system. Changing this will create a new resource.
- enhanced Boolean
- expand
Type String - Specifies the extension type. This parameter is mandatory when you are creating an SFS Turbo 250 MB/s/TiB, 125 MB/s/TiB, 40 MB/s/TiB, 20 MB/s/TiB, or Enhanced file system. Accepted values:
- hpc
Bw String Specifies the file system bandwidth. This parameter is mandatory when you are creating an SFS Turbo 250 MB/s/TiB, 125 MB/s/TiB, 40 MB/s/TiB, 20 MB/s/TiB file system. Accepted values:
20M
(for a 20 MB/s/TiB file system),40M
(for a 40 MB/s/TiB file system),125M
(for a 125 MB/s/TiB file system), and250M
(for a 250 MB/s/TiB file system).SFS Turbo will create two private IP addresses and one virtual IP address under the subnet you specified. To ensure normal use, SFS Turbo will enable the inbound rules for ports
111
,445
,2049
,2051
,2052
, and20048
in the security group you specified.- name String
- Specifies the name of an SFS Turbo file system. The value contains 4 to 64 characters and must start with a letter. Changing this will create a new resource.
- region String
- The region in which to create the SFS Turbo resource. If omitted, the provider-level region will be used. Changing this creates a new SFS Turbo resource.
- String
- The UUID of the SFS Turbo file system.
- String
- Specifies the protocol for sharing file systems. The valid value is
NFS
. Changing this will create a new resource. - String
- Specifies the file system type. The valid values are
STANDARD
andPERFORMANCE
. Changing this will create a new resource. - timeouts
Sfs
Turbo Share V1Timeouts
- availability
Zone string - Specifies the availability zone where the file system is located. Changing this will create a new resource.
- security
Group stringId - Specifies the security group ID.
- size number
- Specifies the capacity of a common file system, in GB. The value ranges
from
500
to32768
.For an SFS Turbo Enhanced file system, if expand_type is set to bandwidth in the metadata field, the capacity ranges from 10240 to 327680, in GiB. Ifexpand_type
is set tohpc
andhpc_bw
is set to20M
(20MB/s/TiB),40M
(40MB/s/TiB:),125M
(125MB/s/TiB), or250M
(250MB/s/TiB), the capacity ranges from 3686 to 1048576, in GiB. The capacity must be a multiple of 1.2 TiB. The value must be rounded down after being converted to GiB. For example, 3.6TiB->3686GiB, 4.8TiB->4915GiB, 8.4TiB->8601GiB. - subnet
Id string - Specifies the network ID of the subnet. Changing this will create a new resource.
- vpc
Id string - Specifies the VPC ID. Changing this will create a new resource.
- crypt
Key stringId - Specifies the ID of a KMS key to encrypt the file system. Changing this will create a new resource.
- enhanced boolean
- expand
Type string - Specifies the extension type. This parameter is mandatory when you are creating an SFS Turbo 250 MB/s/TiB, 125 MB/s/TiB, 40 MB/s/TiB, 20 MB/s/TiB, or Enhanced file system. Accepted values:
- hpc
Bw string Specifies the file system bandwidth. This parameter is mandatory when you are creating an SFS Turbo 250 MB/s/TiB, 125 MB/s/TiB, 40 MB/s/TiB, 20 MB/s/TiB file system. Accepted values:
20M
(for a 20 MB/s/TiB file system),40M
(for a 40 MB/s/TiB file system),125M
(for a 125 MB/s/TiB file system), and250M
(for a 250 MB/s/TiB file system).SFS Turbo will create two private IP addresses and one virtual IP address under the subnet you specified. To ensure normal use, SFS Turbo will enable the inbound rules for ports
111
,445
,2049
,2051
,2052
, and20048
in the security group you specified.- name string
- Specifies the name of an SFS Turbo file system. The value contains 4 to 64 characters and must start with a letter. Changing this will create a new resource.
- region string
- The region in which to create the SFS Turbo resource. If omitted, the provider-level region will be used. Changing this creates a new SFS Turbo resource.
- string
- The UUID of the SFS Turbo file system.
- string
- Specifies the protocol for sharing file systems. The valid value is
NFS
. Changing this will create a new resource. - string
- Specifies the file system type. The valid values are
STANDARD
andPERFORMANCE
. Changing this will create a new resource. - timeouts
Sfs
Turbo Share V1Timeouts
- availability_
zone str - Specifies the availability zone where the file system is located. Changing this will create a new resource.
- security_
group_ strid - Specifies the security group ID.
- size float
- Specifies the capacity of a common file system, in GB. The value ranges
from
500
to32768
.For an SFS Turbo Enhanced file system, if expand_type is set to bandwidth in the metadata field, the capacity ranges from 10240 to 327680, in GiB. Ifexpand_type
is set tohpc
andhpc_bw
is set to20M
(20MB/s/TiB),40M
(40MB/s/TiB:),125M
(125MB/s/TiB), or250M
(250MB/s/TiB), the capacity ranges from 3686 to 1048576, in GiB. The capacity must be a multiple of 1.2 TiB. The value must be rounded down after being converted to GiB. For example, 3.6TiB->3686GiB, 4.8TiB->4915GiB, 8.4TiB->8601GiB. - subnet_
id str - Specifies the network ID of the subnet. Changing this will create a new resource.
- vpc_
id str - Specifies the VPC ID. Changing this will create a new resource.
- crypt_
key_ strid - Specifies the ID of a KMS key to encrypt the file system. Changing this will create a new resource.
- enhanced bool
- expand_
type str - Specifies the extension type. This parameter is mandatory when you are creating an SFS Turbo 250 MB/s/TiB, 125 MB/s/TiB, 40 MB/s/TiB, 20 MB/s/TiB, or Enhanced file system. Accepted values:
- hpc_
bw str Specifies the file system bandwidth. This parameter is mandatory when you are creating an SFS Turbo 250 MB/s/TiB, 125 MB/s/TiB, 40 MB/s/TiB, 20 MB/s/TiB file system. Accepted values:
20M
(for a 20 MB/s/TiB file system),40M
(for a 40 MB/s/TiB file system),125M
(for a 125 MB/s/TiB file system), and250M
(for a 250 MB/s/TiB file system).SFS Turbo will create two private IP addresses and one virtual IP address under the subnet you specified. To ensure normal use, SFS Turbo will enable the inbound rules for ports
111
,445
,2049
,2051
,2052
, and20048
in the security group you specified.- name str
- Specifies the name of an SFS Turbo file system. The value contains 4 to 64 characters and must start with a letter. Changing this will create a new resource.
- region str
- The region in which to create the SFS Turbo resource. If omitted, the provider-level region will be used. Changing this creates a new SFS Turbo resource.
- str
- The UUID of the SFS Turbo file system.
- str
- Specifies the protocol for sharing file systems. The valid value is
NFS
. Changing this will create a new resource. - str
- Specifies the file system type. The valid values are
STANDARD
andPERFORMANCE
. Changing this will create a new resource. - timeouts
Sfs
Turbo Share V1Timeouts Args
- availability
Zone String - Specifies the availability zone where the file system is located. Changing this will create a new resource.
- security
Group StringId - Specifies the security group ID.
- size Number
- Specifies the capacity of a common file system, in GB. The value ranges
from
500
to32768
.For an SFS Turbo Enhanced file system, if expand_type is set to bandwidth in the metadata field, the capacity ranges from 10240 to 327680, in GiB. Ifexpand_type
is set tohpc
andhpc_bw
is set to20M
(20MB/s/TiB),40M
(40MB/s/TiB:),125M
(125MB/s/TiB), or250M
(250MB/s/TiB), the capacity ranges from 3686 to 1048576, in GiB. The capacity must be a multiple of 1.2 TiB. The value must be rounded down after being converted to GiB. For example, 3.6TiB->3686GiB, 4.8TiB->4915GiB, 8.4TiB->8601GiB. - subnet
Id String - Specifies the network ID of the subnet. Changing this will create a new resource.
- vpc
Id String - Specifies the VPC ID. Changing this will create a new resource.
- crypt
Key StringId - Specifies the ID of a KMS key to encrypt the file system. Changing this will create a new resource.
- enhanced Boolean
- expand
Type String - Specifies the extension type. This parameter is mandatory when you are creating an SFS Turbo 250 MB/s/TiB, 125 MB/s/TiB, 40 MB/s/TiB, 20 MB/s/TiB, or Enhanced file system. Accepted values:
- hpc
Bw String Specifies the file system bandwidth. This parameter is mandatory when you are creating an SFS Turbo 250 MB/s/TiB, 125 MB/s/TiB, 40 MB/s/TiB, 20 MB/s/TiB file system. Accepted values:
20M
(for a 20 MB/s/TiB file system),40M
(for a 40 MB/s/TiB file system),125M
(for a 125 MB/s/TiB file system), and250M
(for a 250 MB/s/TiB file system).SFS Turbo will create two private IP addresses and one virtual IP address under the subnet you specified. To ensure normal use, SFS Turbo will enable the inbound rules for ports
111
,445
,2049
,2051
,2052
, and20048
in the security group you specified.- name String
- Specifies the name of an SFS Turbo file system. The value contains 4 to 64 characters and must start with a letter. Changing this will create a new resource.
- region String
- The region in which to create the SFS Turbo resource. If omitted, the provider-level region will be used. Changing this creates a new SFS Turbo resource.
- String
- The UUID of the SFS Turbo file system.
- String
- Specifies the protocol for sharing file systems. The valid value is
NFS
. Changing this will create a new resource. - String
- Specifies the file system type. The valid values are
STANDARD
andPERFORMANCE
. Changing this will create a new resource. - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the SfsTurboShareV1 resource produces the following output properties:
- Available
Capacity string - The available capacity of the SFS Turbo file system in the unit of GB.
- Export
Location string - The mount point of the SFS Turbo file system.
- Id string
- The provider-assigned unique ID for this managed resource.
- Version string
- The version ID of the SFS Turbo file system.
- Available
Capacity string - The available capacity of the SFS Turbo file system in the unit of GB.
- Export
Location string - The mount point of the SFS Turbo file system.
- Id string
- The provider-assigned unique ID for this managed resource.
- Version string
- The version ID of the SFS Turbo file system.
- available
Capacity String - The available capacity of the SFS Turbo file system in the unit of GB.
- export
Location String - The mount point of the SFS Turbo file system.
- id String
- The provider-assigned unique ID for this managed resource.
- version String
- The version ID of the SFS Turbo file system.
- available
Capacity string - The available capacity of the SFS Turbo file system in the unit of GB.
- export
Location string - The mount point of the SFS Turbo file system.
- id string
- The provider-assigned unique ID for this managed resource.
- version string
- The version ID of the SFS Turbo file system.
- available_
capacity str - The available capacity of the SFS Turbo file system in the unit of GB.
- export_
location str - The mount point of the SFS Turbo file system.
- id str
- The provider-assigned unique ID for this managed resource.
- version str
- The version ID of the SFS Turbo file system.
- available
Capacity String - The available capacity of the SFS Turbo file system in the unit of GB.
- export
Location String - The mount point of the SFS Turbo file system.
- id String
- The provider-assigned unique ID for this managed resource.
- version String
- The version ID of the SFS Turbo file system.
Look up Existing SfsTurboShareV1 Resource
Get an existing SfsTurboShareV1 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?: SfsTurboShareV1State, opts?: CustomResourceOptions): SfsTurboShareV1
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
availability_zone: Optional[str] = None,
available_capacity: Optional[str] = None,
crypt_key_id: Optional[str] = None,
enhanced: Optional[bool] = None,
expand_type: Optional[str] = None,
export_location: Optional[str] = None,
hpc_bw: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
security_group_id: Optional[str] = None,
sfs_turbo_share_v1_id: Optional[str] = None,
share_proto: Optional[str] = None,
share_type: Optional[str] = None,
size: Optional[float] = None,
subnet_id: Optional[str] = None,
timeouts: Optional[SfsTurboShareV1TimeoutsArgs] = None,
version: Optional[str] = None,
vpc_id: Optional[str] = None) -> SfsTurboShareV1
func GetSfsTurboShareV1(ctx *Context, name string, id IDInput, state *SfsTurboShareV1State, opts ...ResourceOption) (*SfsTurboShareV1, error)
public static SfsTurboShareV1 Get(string name, Input<string> id, SfsTurboShareV1State? state, CustomResourceOptions? opts = null)
public static SfsTurboShareV1 get(String name, Output<String> id, SfsTurboShareV1State state, CustomResourceOptions options)
resources: _: type: opentelekomcloud:SfsTurboShareV1 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.
- Availability
Zone string - Specifies the availability zone where the file system is located. Changing this will create a new resource.
- Available
Capacity string - The available capacity of the SFS Turbo file system in the unit of GB.
- Crypt
Key stringId - Specifies the ID of a KMS key to encrypt the file system. Changing this will create a new resource.
- Enhanced bool
- Expand
Type string - Specifies the extension type. This parameter is mandatory when you are creating an SFS Turbo 250 MB/s/TiB, 125 MB/s/TiB, 40 MB/s/TiB, 20 MB/s/TiB, or Enhanced file system. Accepted values:
- Export
Location string - The mount point of the SFS Turbo file system.
- Hpc
Bw string Specifies the file system bandwidth. This parameter is mandatory when you are creating an SFS Turbo 250 MB/s/TiB, 125 MB/s/TiB, 40 MB/s/TiB, 20 MB/s/TiB file system. Accepted values:
20M
(for a 20 MB/s/TiB file system),40M
(for a 40 MB/s/TiB file system),125M
(for a 125 MB/s/TiB file system), and250M
(for a 250 MB/s/TiB file system).SFS Turbo will create two private IP addresses and one virtual IP address under the subnet you specified. To ensure normal use, SFS Turbo will enable the inbound rules for ports
111
,445
,2049
,2051
,2052
, and20048
in the security group you specified.- Name string
- Specifies the name of an SFS Turbo file system. The value contains 4 to 64 characters and must start with a letter. Changing this will create a new resource.
- Region string
- The region in which to create the SFS Turbo resource. If omitted, the provider-level region will be used. Changing this creates a new SFS Turbo resource.
- Security
Group stringId - Specifies the security group ID.
- string
- The UUID of the SFS Turbo file system.
- string
- Specifies the protocol for sharing file systems. The valid value is
NFS
. Changing this will create a new resource. - string
- Specifies the file system type. The valid values are
STANDARD
andPERFORMANCE
. Changing this will create a new resource. - Size double
- Specifies the capacity of a common file system, in GB. The value ranges
from
500
to32768
.For an SFS Turbo Enhanced file system, if expand_type is set to bandwidth in the metadata field, the capacity ranges from 10240 to 327680, in GiB. Ifexpand_type
is set tohpc
andhpc_bw
is set to20M
(20MB/s/TiB),40M
(40MB/s/TiB:),125M
(125MB/s/TiB), or250M
(250MB/s/TiB), the capacity ranges from 3686 to 1048576, in GiB. The capacity must be a multiple of 1.2 TiB. The value must be rounded down after being converted to GiB. For example, 3.6TiB->3686GiB, 4.8TiB->4915GiB, 8.4TiB->8601GiB. - Subnet
Id string - Specifies the network ID of the subnet. Changing this will create a new resource.
- Timeouts
Sfs
Turbo Share V1Timeouts - Version string
- The version ID of the SFS Turbo file system.
- Vpc
Id string - Specifies the VPC ID. Changing this will create a new resource.
- Availability
Zone string - Specifies the availability zone where the file system is located. Changing this will create a new resource.
- Available
Capacity string - The available capacity of the SFS Turbo file system in the unit of GB.
- Crypt
Key stringId - Specifies the ID of a KMS key to encrypt the file system. Changing this will create a new resource.
- Enhanced bool
- Expand
Type string - Specifies the extension type. This parameter is mandatory when you are creating an SFS Turbo 250 MB/s/TiB, 125 MB/s/TiB, 40 MB/s/TiB, 20 MB/s/TiB, or Enhanced file system. Accepted values:
- Export
Location string - The mount point of the SFS Turbo file system.
- Hpc
Bw string Specifies the file system bandwidth. This parameter is mandatory when you are creating an SFS Turbo 250 MB/s/TiB, 125 MB/s/TiB, 40 MB/s/TiB, 20 MB/s/TiB file system. Accepted values:
20M
(for a 20 MB/s/TiB file system),40M
(for a 40 MB/s/TiB file system),125M
(for a 125 MB/s/TiB file system), and250M
(for a 250 MB/s/TiB file system).SFS Turbo will create two private IP addresses and one virtual IP address under the subnet you specified. To ensure normal use, SFS Turbo will enable the inbound rules for ports
111
,445
,2049
,2051
,2052
, and20048
in the security group you specified.- Name string
- Specifies the name of an SFS Turbo file system. The value contains 4 to 64 characters and must start with a letter. Changing this will create a new resource.
- Region string
- The region in which to create the SFS Turbo resource. If omitted, the provider-level region will be used. Changing this creates a new SFS Turbo resource.
- Security
Group stringId - Specifies the security group ID.
- string
- The UUID of the SFS Turbo file system.
- string
- Specifies the protocol for sharing file systems. The valid value is
NFS
. Changing this will create a new resource. - string
- Specifies the file system type. The valid values are
STANDARD
andPERFORMANCE
. Changing this will create a new resource. - Size float64
- Specifies the capacity of a common file system, in GB. The value ranges
from
500
to32768
.For an SFS Turbo Enhanced file system, if expand_type is set to bandwidth in the metadata field, the capacity ranges from 10240 to 327680, in GiB. Ifexpand_type
is set tohpc
andhpc_bw
is set to20M
(20MB/s/TiB),40M
(40MB/s/TiB:),125M
(125MB/s/TiB), or250M
(250MB/s/TiB), the capacity ranges from 3686 to 1048576, in GiB. The capacity must be a multiple of 1.2 TiB. The value must be rounded down after being converted to GiB. For example, 3.6TiB->3686GiB, 4.8TiB->4915GiB, 8.4TiB->8601GiB. - Subnet
Id string - Specifies the network ID of the subnet. Changing this will create a new resource.
- Timeouts
Sfs
Turbo Share V1Timeouts Args - Version string
- The version ID of the SFS Turbo file system.
- Vpc
Id string - Specifies the VPC ID. Changing this will create a new resource.
- availability
Zone String - Specifies the availability zone where the file system is located. Changing this will create a new resource.
- available
Capacity String - The available capacity of the SFS Turbo file system in the unit of GB.
- crypt
Key StringId - Specifies the ID of a KMS key to encrypt the file system. Changing this will create a new resource.
- enhanced Boolean
- expand
Type String - Specifies the extension type. This parameter is mandatory when you are creating an SFS Turbo 250 MB/s/TiB, 125 MB/s/TiB, 40 MB/s/TiB, 20 MB/s/TiB, or Enhanced file system. Accepted values:
- export
Location String - The mount point of the SFS Turbo file system.
- hpc
Bw String Specifies the file system bandwidth. This parameter is mandatory when you are creating an SFS Turbo 250 MB/s/TiB, 125 MB/s/TiB, 40 MB/s/TiB, 20 MB/s/TiB file system. Accepted values:
20M
(for a 20 MB/s/TiB file system),40M
(for a 40 MB/s/TiB file system),125M
(for a 125 MB/s/TiB file system), and250M
(for a 250 MB/s/TiB file system).SFS Turbo will create two private IP addresses and one virtual IP address under the subnet you specified. To ensure normal use, SFS Turbo will enable the inbound rules for ports
111
,445
,2049
,2051
,2052
, and20048
in the security group you specified.- name String
- Specifies the name of an SFS Turbo file system. The value contains 4 to 64 characters and must start with a letter. Changing this will create a new resource.
- region String
- The region in which to create the SFS Turbo resource. If omitted, the provider-level region will be used. Changing this creates a new SFS Turbo resource.
- security
Group StringId - Specifies the security group ID.
- String
- The UUID of the SFS Turbo file system.
- String
- Specifies the protocol for sharing file systems. The valid value is
NFS
. Changing this will create a new resource. - String
- Specifies the file system type. The valid values are
STANDARD
andPERFORMANCE
. Changing this will create a new resource. - size Double
- Specifies the capacity of a common file system, in GB. The value ranges
from
500
to32768
.For an SFS Turbo Enhanced file system, if expand_type is set to bandwidth in the metadata field, the capacity ranges from 10240 to 327680, in GiB. Ifexpand_type
is set tohpc
andhpc_bw
is set to20M
(20MB/s/TiB),40M
(40MB/s/TiB:),125M
(125MB/s/TiB), or250M
(250MB/s/TiB), the capacity ranges from 3686 to 1048576, in GiB. The capacity must be a multiple of 1.2 TiB. The value must be rounded down after being converted to GiB. For example, 3.6TiB->3686GiB, 4.8TiB->4915GiB, 8.4TiB->8601GiB. - subnet
Id String - Specifies the network ID of the subnet. Changing this will create a new resource.
- timeouts
Sfs
Turbo Share V1Timeouts - version String
- The version ID of the SFS Turbo file system.
- vpc
Id String - Specifies the VPC ID. Changing this will create a new resource.
- availability
Zone string - Specifies the availability zone where the file system is located. Changing this will create a new resource.
- available
Capacity string - The available capacity of the SFS Turbo file system in the unit of GB.
- crypt
Key stringId - Specifies the ID of a KMS key to encrypt the file system. Changing this will create a new resource.
- enhanced boolean
- expand
Type string - Specifies the extension type. This parameter is mandatory when you are creating an SFS Turbo 250 MB/s/TiB, 125 MB/s/TiB, 40 MB/s/TiB, 20 MB/s/TiB, or Enhanced file system. Accepted values:
- export
Location string - The mount point of the SFS Turbo file system.
- hpc
Bw string Specifies the file system bandwidth. This parameter is mandatory when you are creating an SFS Turbo 250 MB/s/TiB, 125 MB/s/TiB, 40 MB/s/TiB, 20 MB/s/TiB file system. Accepted values:
20M
(for a 20 MB/s/TiB file system),40M
(for a 40 MB/s/TiB file system),125M
(for a 125 MB/s/TiB file system), and250M
(for a 250 MB/s/TiB file system).SFS Turbo will create two private IP addresses and one virtual IP address under the subnet you specified. To ensure normal use, SFS Turbo will enable the inbound rules for ports
111
,445
,2049
,2051
,2052
, and20048
in the security group you specified.- name string
- Specifies the name of an SFS Turbo file system. The value contains 4 to 64 characters and must start with a letter. Changing this will create a new resource.
- region string
- The region in which to create the SFS Turbo resource. If omitted, the provider-level region will be used. Changing this creates a new SFS Turbo resource.
- security
Group stringId - Specifies the security group ID.
- string
- The UUID of the SFS Turbo file system.
- string
- Specifies the protocol for sharing file systems. The valid value is
NFS
. Changing this will create a new resource. - string
- Specifies the file system type. The valid values are
STANDARD
andPERFORMANCE
. Changing this will create a new resource. - size number
- Specifies the capacity of a common file system, in GB. The value ranges
from
500
to32768
.For an SFS Turbo Enhanced file system, if expand_type is set to bandwidth in the metadata field, the capacity ranges from 10240 to 327680, in GiB. Ifexpand_type
is set tohpc
andhpc_bw
is set to20M
(20MB/s/TiB),40M
(40MB/s/TiB:),125M
(125MB/s/TiB), or250M
(250MB/s/TiB), the capacity ranges from 3686 to 1048576, in GiB. The capacity must be a multiple of 1.2 TiB. The value must be rounded down after being converted to GiB. For example, 3.6TiB->3686GiB, 4.8TiB->4915GiB, 8.4TiB->8601GiB. - subnet
Id string - Specifies the network ID of the subnet. Changing this will create a new resource.
- timeouts
Sfs
Turbo Share V1Timeouts - version string
- The version ID of the SFS Turbo file system.
- vpc
Id string - Specifies the VPC ID. Changing this will create a new resource.
- availability_
zone str - Specifies the availability zone where the file system is located. Changing this will create a new resource.
- available_
capacity str - The available capacity of the SFS Turbo file system in the unit of GB.
- crypt_
key_ strid - Specifies the ID of a KMS key to encrypt the file system. Changing this will create a new resource.
- enhanced bool
- expand_
type str - Specifies the extension type. This parameter is mandatory when you are creating an SFS Turbo 250 MB/s/TiB, 125 MB/s/TiB, 40 MB/s/TiB, 20 MB/s/TiB, or Enhanced file system. Accepted values:
- export_
location str - The mount point of the SFS Turbo file system.
- hpc_
bw str Specifies the file system bandwidth. This parameter is mandatory when you are creating an SFS Turbo 250 MB/s/TiB, 125 MB/s/TiB, 40 MB/s/TiB, 20 MB/s/TiB file system. Accepted values:
20M
(for a 20 MB/s/TiB file system),40M
(for a 40 MB/s/TiB file system),125M
(for a 125 MB/s/TiB file system), and250M
(for a 250 MB/s/TiB file system).SFS Turbo will create two private IP addresses and one virtual IP address under the subnet you specified. To ensure normal use, SFS Turbo will enable the inbound rules for ports
111
,445
,2049
,2051
,2052
, and20048
in the security group you specified.- name str
- Specifies the name of an SFS Turbo file system. The value contains 4 to 64 characters and must start with a letter. Changing this will create a new resource.
- region str
- The region in which to create the SFS Turbo resource. If omitted, the provider-level region will be used. Changing this creates a new SFS Turbo resource.
- security_
group_ strid - Specifies the security group ID.
- str
- The UUID of the SFS Turbo file system.
- str
- Specifies the protocol for sharing file systems. The valid value is
NFS
. Changing this will create a new resource. - str
- Specifies the file system type. The valid values are
STANDARD
andPERFORMANCE
. Changing this will create a new resource. - size float
- Specifies the capacity of a common file system, in GB. The value ranges
from
500
to32768
.For an SFS Turbo Enhanced file system, if expand_type is set to bandwidth in the metadata field, the capacity ranges from 10240 to 327680, in GiB. Ifexpand_type
is set tohpc
andhpc_bw
is set to20M
(20MB/s/TiB),40M
(40MB/s/TiB:),125M
(125MB/s/TiB), or250M
(250MB/s/TiB), the capacity ranges from 3686 to 1048576, in GiB. The capacity must be a multiple of 1.2 TiB. The value must be rounded down after being converted to GiB. For example, 3.6TiB->3686GiB, 4.8TiB->4915GiB, 8.4TiB->8601GiB. - subnet_
id str - Specifies the network ID of the subnet. Changing this will create a new resource.
- timeouts
Sfs
Turbo Share V1Timeouts Args - version str
- The version ID of the SFS Turbo file system.
- vpc_
id str - Specifies the VPC ID. Changing this will create a new resource.
- availability
Zone String - Specifies the availability zone where the file system is located. Changing this will create a new resource.
- available
Capacity String - The available capacity of the SFS Turbo file system in the unit of GB.
- crypt
Key StringId - Specifies the ID of a KMS key to encrypt the file system. Changing this will create a new resource.
- enhanced Boolean
- expand
Type String - Specifies the extension type. This parameter is mandatory when you are creating an SFS Turbo 250 MB/s/TiB, 125 MB/s/TiB, 40 MB/s/TiB, 20 MB/s/TiB, or Enhanced file system. Accepted values:
- export
Location String - The mount point of the SFS Turbo file system.
- hpc
Bw String Specifies the file system bandwidth. This parameter is mandatory when you are creating an SFS Turbo 250 MB/s/TiB, 125 MB/s/TiB, 40 MB/s/TiB, 20 MB/s/TiB file system. Accepted values:
20M
(for a 20 MB/s/TiB file system),40M
(for a 40 MB/s/TiB file system),125M
(for a 125 MB/s/TiB file system), and250M
(for a 250 MB/s/TiB file system).SFS Turbo will create two private IP addresses and one virtual IP address under the subnet you specified. To ensure normal use, SFS Turbo will enable the inbound rules for ports
111
,445
,2049
,2051
,2052
, and20048
in the security group you specified.- name String
- Specifies the name of an SFS Turbo file system. The value contains 4 to 64 characters and must start with a letter. Changing this will create a new resource.
- region String
- The region in which to create the SFS Turbo resource. If omitted, the provider-level region will be used. Changing this creates a new SFS Turbo resource.
- security
Group StringId - Specifies the security group ID.
- String
- The UUID of the SFS Turbo file system.
- String
- Specifies the protocol for sharing file systems. The valid value is
NFS
. Changing this will create a new resource. - String
- Specifies the file system type. The valid values are
STANDARD
andPERFORMANCE
. Changing this will create a new resource. - size Number
- Specifies the capacity of a common file system, in GB. The value ranges
from
500
to32768
.For an SFS Turbo Enhanced file system, if expand_type is set to bandwidth in the metadata field, the capacity ranges from 10240 to 327680, in GiB. Ifexpand_type
is set tohpc
andhpc_bw
is set to20M
(20MB/s/TiB),40M
(40MB/s/TiB:),125M
(125MB/s/TiB), or250M
(250MB/s/TiB), the capacity ranges from 3686 to 1048576, in GiB. The capacity must be a multiple of 1.2 TiB. The value must be rounded down after being converted to GiB. For example, 3.6TiB->3686GiB, 4.8TiB->4915GiB, 8.4TiB->8601GiB. - subnet
Id String - Specifies the network ID of the subnet. Changing this will create a new resource.
- timeouts Property Map
- version String
- The version ID of the SFS Turbo file system.
- vpc
Id String - Specifies the VPC ID. Changing this will create a new resource.
Supporting Types
SfsTurboShareV1Timeouts, SfsTurboShareV1TimeoutsArgs
Import
SFS Turbo can be imported using the id
, e.g.
$ pulumi import opentelekomcloud:index/sfsTurboShareV1:SfsTurboShareV1 opentelekomcloud_sfs_turbo_share_v1 9e3dd316-64g9-0245-8456-71e9387d71ab
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.