flexibleengine.SfsTurbo
Explore with Pulumi AI
Provides an Shared File System (SFS) Turbo resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const config = new pulumi.Config();
const vpcId = config.requireObject("vpcId");
const subnetId = config.requireObject("subnetId");
const secgroupId = config.requireObject("secgroupId");
const testAz = config.requireObject("testAz");
const test = new flexibleengine.SfsTurbo("test", {
size: 500,
shareProto: "NFS",
vpcId: vpcId,
subnetId: subnetId,
securityGroupId: secgroupId,
availabilityZone: testAz,
tags: {
foo: "bar",
key: "value",
},
});
import pulumi
import pulumi_flexibleengine as flexibleengine
config = pulumi.Config()
vpc_id = config.require_object("vpcId")
subnet_id = config.require_object("subnetId")
secgroup_id = config.require_object("secgroupId")
test_az = config.require_object("testAz")
test = flexibleengine.SfsTurbo("test",
size=500,
share_proto="NFS",
vpc_id=vpc_id,
subnet_id=subnet_id,
security_group_id=secgroup_id,
availability_zone=test_az,
tags={
"foo": "bar",
"key": "value",
})
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, "")
vpcId := cfg.RequireObject("vpcId")
subnetId := cfg.RequireObject("subnetId")
secgroupId := cfg.RequireObject("secgroupId")
testAz := cfg.RequireObject("testAz")
_, err := flexibleengine.NewSfsTurbo(ctx, "test", &flexibleengine.SfsTurboArgs{
Size: pulumi.Float64(500),
ShareProto: pulumi.String("NFS"),
VpcId: pulumi.Any(vpcId),
SubnetId: pulumi.Any(subnetId),
SecurityGroupId: pulumi.Any(secgroupId),
AvailabilityZone: pulumi.Any(testAz),
Tags: pulumi.StringMap{
"foo": pulumi.String("bar"),
"key": pulumi.String("value"),
},
})
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 vpcId = config.RequireObject<dynamic>("vpcId");
var subnetId = config.RequireObject<dynamic>("subnetId");
var secgroupId = config.RequireObject<dynamic>("secgroupId");
var testAz = config.RequireObject<dynamic>("testAz");
var test = new Flexibleengine.SfsTurbo("test", new()
{
Size = 500,
ShareProto = "NFS",
VpcId = vpcId,
SubnetId = subnetId,
SecurityGroupId = secgroupId,
AvailabilityZone = testAz,
Tags =
{
{ "foo", "bar" },
{ "key", "value" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.SfsTurbo;
import com.pulumi.flexibleengine.SfsTurboArgs;
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 secgroupId = config.get("secgroupId");
final var testAz = config.get("testAz");
var test = new SfsTurbo("test", SfsTurboArgs.builder()
.size(500)
.shareProto("NFS")
.vpcId(vpcId)
.subnetId(subnetId)
.securityGroupId(secgroupId)
.availabilityZone(testAz)
.tags(Map.ofEntries(
Map.entry("foo", "bar"),
Map.entry("key", "value")
))
.build());
}
}
configuration:
vpcId:
type: dynamic
subnetId:
type: dynamic
secgroupId:
type: dynamic
testAz:
type: dynamic
resources:
test:
type: flexibleengine:SfsTurbo
properties:
size: 500
shareProto: NFS
vpcId: ${vpcId}
subnetId: ${subnetId}
securityGroupId: ${secgroupId}
availabilityZone: ${testAz}
tags:
foo: bar
key: value
Create SfsTurbo Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SfsTurbo(name: string, args: SfsTurboArgs, opts?: CustomResourceOptions);
@overload
def SfsTurbo(resource_name: str,
args: SfsTurboArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SfsTurbo(resource_name: str,
opts: Optional[ResourceOptions] = None,
security_group_id: Optional[str] = None,
availability_zone: Optional[str] = None,
vpc_id: Optional[str] = None,
subnet_id: Optional[str] = None,
size: Optional[float] = None,
name: Optional[str] = None,
dedicated_storage_id: Optional[str] = None,
enterprise_project_id: Optional[str] = None,
hpc_bandwidth: Optional[str] = None,
hpc_cache_bandwidth: Optional[str] = None,
auto_renew: Optional[str] = None,
period: Optional[float] = None,
period_unit: Optional[str] = None,
region: Optional[str] = None,
enhanced: Optional[bool] = None,
sfs_turbo_id: Optional[str] = None,
share_proto: Optional[str] = None,
share_type: Optional[str] = None,
dedicated_flavor: Optional[str] = None,
crypt_key_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[SfsTurboTimeoutsArgs] = None,
charging_mode: Optional[str] = None)
func NewSfsTurbo(ctx *Context, name string, args SfsTurboArgs, opts ...ResourceOption) (*SfsTurbo, error)
public SfsTurbo(string name, SfsTurboArgs args, CustomResourceOptions? opts = null)
public SfsTurbo(String name, SfsTurboArgs args)
public SfsTurbo(String name, SfsTurboArgs args, CustomResourceOptions options)
type: flexibleengine:SfsTurbo
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 SfsTurboArgs
- 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 SfsTurboArgs
- 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 SfsTurboArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SfsTurboArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SfsTurboArgs
- 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 sfsTurboResource = new Flexibleengine.SfsTurbo("sfsTurboResource", new()
{
SecurityGroupId = "string",
AvailabilityZone = "string",
VpcId = "string",
SubnetId = "string",
Size = 0,
Name = "string",
DedicatedStorageId = "string",
EnterpriseProjectId = "string",
HpcBandwidth = "string",
HpcCacheBandwidth = "string",
AutoRenew = "string",
Period = 0,
PeriodUnit = "string",
Region = "string",
Enhanced = false,
SfsTurboId = "string",
ShareProto = "string",
ShareType = "string",
DedicatedFlavor = "string",
CryptKeyId = "string",
Tags =
{
{ "string", "string" },
},
Timeouts = new Flexibleengine.Inputs.SfsTurboTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
ChargingMode = "string",
});
example, err := flexibleengine.NewSfsTurbo(ctx, "sfsTurboResource", &flexibleengine.SfsTurboArgs{
SecurityGroupId: pulumi.String("string"),
AvailabilityZone: pulumi.String("string"),
VpcId: pulumi.String("string"),
SubnetId: pulumi.String("string"),
Size: pulumi.Float64(0),
Name: pulumi.String("string"),
DedicatedStorageId: pulumi.String("string"),
EnterpriseProjectId: pulumi.String("string"),
HpcBandwidth: pulumi.String("string"),
HpcCacheBandwidth: pulumi.String("string"),
AutoRenew: pulumi.String("string"),
Period: pulumi.Float64(0),
PeriodUnit: pulumi.String("string"),
Region: pulumi.String("string"),
Enhanced: pulumi.Bool(false),
SfsTurboId: pulumi.String("string"),
ShareProto: pulumi.String("string"),
ShareType: pulumi.String("string"),
DedicatedFlavor: pulumi.String("string"),
CryptKeyId: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &flexibleengine.SfsTurboTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
ChargingMode: pulumi.String("string"),
})
var sfsTurboResource = new SfsTurbo("sfsTurboResource", SfsTurboArgs.builder()
.securityGroupId("string")
.availabilityZone("string")
.vpcId("string")
.subnetId("string")
.size(0)
.name("string")
.dedicatedStorageId("string")
.enterpriseProjectId("string")
.hpcBandwidth("string")
.hpcCacheBandwidth("string")
.autoRenew("string")
.period(0)
.periodUnit("string")
.region("string")
.enhanced(false)
.sfsTurboId("string")
.shareProto("string")
.shareType("string")
.dedicatedFlavor("string")
.cryptKeyId("string")
.tags(Map.of("string", "string"))
.timeouts(SfsTurboTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.chargingMode("string")
.build());
sfs_turbo_resource = flexibleengine.SfsTurbo("sfsTurboResource",
security_group_id="string",
availability_zone="string",
vpc_id="string",
subnet_id="string",
size=0,
name="string",
dedicated_storage_id="string",
enterprise_project_id="string",
hpc_bandwidth="string",
hpc_cache_bandwidth="string",
auto_renew="string",
period=0,
period_unit="string",
region="string",
enhanced=False,
sfs_turbo_id="string",
share_proto="string",
share_type="string",
dedicated_flavor="string",
crypt_key_id="string",
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
charging_mode="string")
const sfsTurboResource = new flexibleengine.SfsTurbo("sfsTurboResource", {
securityGroupId: "string",
availabilityZone: "string",
vpcId: "string",
subnetId: "string",
size: 0,
name: "string",
dedicatedStorageId: "string",
enterpriseProjectId: "string",
hpcBandwidth: "string",
hpcCacheBandwidth: "string",
autoRenew: "string",
period: 0,
periodUnit: "string",
region: "string",
enhanced: false,
sfsTurboId: "string",
shareProto: "string",
shareType: "string",
dedicatedFlavor: "string",
cryptKeyId: "string",
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
chargingMode: "string",
});
type: flexibleengine:SfsTurbo
properties:
autoRenew: string
availabilityZone: string
chargingMode: string
cryptKeyId: string
dedicatedFlavor: string
dedicatedStorageId: string
enhanced: false
enterpriseProjectId: string
hpcBandwidth: string
hpcCacheBandwidth: string
name: string
period: 0
periodUnit: string
region: string
securityGroupId: string
sfsTurboId: string
shareProto: string
shareType: string
size: 0
subnetId: string
tags:
string: string
timeouts:
create: string
delete: string
update: string
vpcId: string
SfsTurbo 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 SfsTurbo 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. Changing this will create a new resource.
- Size double
Specifies the capacity of a sharing file system, in GB.
- If
share_type
is set to STANDARD or PERFORMANCE, the value ranges from 500 to 32768, and ranges from 10240 to 327680 for an enhanced file system.
The file system capacity can only be expanded, not reduced.
- If
- 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.
- Auto
Renew string - Charging
Mode string - Crypt
Key stringId - Specifies the ID of a KMS key to encrypt the file system. Changing this will create a new resource.
- Dedicated
Flavor string - Dedicated
Storage stringId - Enhanced bool
- Specifies whether the file system is enhanced or not. Changing this will create a new resource.
- Enterprise
Project stringId - Specifies the enterprise project id of the resource. Changing this will create a new resource.
- Hpc
Bandwidth string - Hpc
Cache stringBandwidth - 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.
- Period double
- Period
Unit string - 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.
- Sfs
Turbo stringId - 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. Changing this will create a new resource. Valid values are STANDARD and PERFORMANCE. Defaults to STANDARD.
- Dictionary<string, string>
Specifies the key/value pairs to associate with the SFS Turbo.
NOTE: 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, and 20048 in the security group you specified.
- Timeouts
Sfs
Turbo Timeouts
- 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. Changing this will create a new resource.
- Size float64
Specifies the capacity of a sharing file system, in GB.
- If
share_type
is set to STANDARD or PERFORMANCE, the value ranges from 500 to 32768, and ranges from 10240 to 327680 for an enhanced file system.
The file system capacity can only be expanded, not reduced.
- If
- 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.
- Auto
Renew string - Charging
Mode string - Crypt
Key stringId - Specifies the ID of a KMS key to encrypt the file system. Changing this will create a new resource.
- Dedicated
Flavor string - Dedicated
Storage stringId - Enhanced bool
- Specifies whether the file system is enhanced or not. Changing this will create a new resource.
- Enterprise
Project stringId - Specifies the enterprise project id of the resource. Changing this will create a new resource.
- Hpc
Bandwidth string - Hpc
Cache stringBandwidth - 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.
- Period float64
- Period
Unit string - 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.
- Sfs
Turbo stringId - 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. Changing this will create a new resource. Valid values are STANDARD and PERFORMANCE. Defaults to STANDARD.
- map[string]string
Specifies the key/value pairs to associate with the SFS Turbo.
NOTE: 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, and 20048 in the security group you specified.
- Timeouts
Sfs
Turbo Timeouts 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. Changing this will create a new resource.
- size Double
Specifies the capacity of a sharing file system, in GB.
- If
share_type
is set to STANDARD or PERFORMANCE, the value ranges from 500 to 32768, and ranges from 10240 to 327680 for an enhanced file system.
The file system capacity can only be expanded, not reduced.
- If
- 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.
- auto
Renew String - charging
Mode String - crypt
Key StringId - Specifies the ID of a KMS key to encrypt the file system. Changing this will create a new resource.
- dedicated
Flavor String - dedicated
Storage StringId - enhanced Boolean
- Specifies whether the file system is enhanced or not. Changing this will create a new resource.
- enterprise
Project StringId - Specifies the enterprise project id of the resource. Changing this will create a new resource.
- hpc
Bandwidth String - hpc
Cache StringBandwidth - 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.
- period Double
- period
Unit String - 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.
- sfs
Turbo StringId - 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. Changing this will create a new resource. Valid values are STANDARD and PERFORMANCE. Defaults to STANDARD.
- Map<String,String>
Specifies the key/value pairs to associate with the SFS Turbo.
NOTE: 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, and 20048 in the security group you specified.
- timeouts
Sfs
Turbo Timeouts
- 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. Changing this will create a new resource.
- size number
Specifies the capacity of a sharing file system, in GB.
- If
share_type
is set to STANDARD or PERFORMANCE, the value ranges from 500 to 32768, and ranges from 10240 to 327680 for an enhanced file system.
The file system capacity can only be expanded, not reduced.
- If
- 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.
- auto
Renew string - charging
Mode string - crypt
Key stringId - Specifies the ID of a KMS key to encrypt the file system. Changing this will create a new resource.
- dedicated
Flavor string - dedicated
Storage stringId - enhanced boolean
- Specifies whether the file system is enhanced or not. Changing this will create a new resource.
- enterprise
Project stringId - Specifies the enterprise project id of the resource. Changing this will create a new resource.
- hpc
Bandwidth string - hpc
Cache stringBandwidth - 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.
- period number
- period
Unit string - 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.
- sfs
Turbo stringId - 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. Changing this will create a new resource. Valid values are STANDARD and PERFORMANCE. Defaults to STANDARD.
- {[key: string]: string}
Specifies the key/value pairs to associate with the SFS Turbo.
NOTE: 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, and 20048 in the security group you specified.
- timeouts
Sfs
Turbo Timeouts
- 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. Changing this will create a new resource.
- size float
Specifies the capacity of a sharing file system, in GB.
- If
share_type
is set to STANDARD or PERFORMANCE, the value ranges from 500 to 32768, and ranges from 10240 to 327680 for an enhanced file system.
The file system capacity can only be expanded, not reduced.
- If
- 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.
- auto_
renew str - charging_
mode str - crypt_
key_ strid - Specifies the ID of a KMS key to encrypt the file system. Changing this will create a new resource.
- dedicated_
flavor str - dedicated_
storage_ strid - enhanced bool
- Specifies whether the file system is enhanced or not. Changing this will create a new resource.
- enterprise_
project_ strid - Specifies the enterprise project id of the resource. Changing this will create a new resource.
- hpc_
bandwidth str - hpc_
cache_ strbandwidth - 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.
- period float
- period_
unit str - 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.
- sfs_
turbo_ strid - 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. Changing this will create a new resource. Valid values are STANDARD and PERFORMANCE. Defaults to STANDARD.
- Mapping[str, str]
Specifies the key/value pairs to associate with the SFS Turbo.
NOTE: 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, and 20048 in the security group you specified.
- timeouts
Sfs
Turbo Timeouts 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. Changing this will create a new resource.
- size Number
Specifies the capacity of a sharing file system, in GB.
- If
share_type
is set to STANDARD or PERFORMANCE, the value ranges from 500 to 32768, and ranges from 10240 to 327680 for an enhanced file system.
The file system capacity can only be expanded, not reduced.
- If
- 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.
- auto
Renew String - charging
Mode String - crypt
Key StringId - Specifies the ID of a KMS key to encrypt the file system. Changing this will create a new resource.
- dedicated
Flavor String - dedicated
Storage StringId - enhanced Boolean
- Specifies whether the file system is enhanced or not. Changing this will create a new resource.
- enterprise
Project StringId - Specifies the enterprise project id of the resource. Changing this will create a new resource.
- hpc
Bandwidth String - hpc
Cache StringBandwidth - 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.
- period Number
- period
Unit String - 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.
- sfs
Turbo StringId - 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. Changing this will create a new resource. Valid values are STANDARD and PERFORMANCE. Defaults to STANDARD.
- Map<String>
Specifies the key/value pairs to associate with the SFS Turbo.
NOTE: 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, and 20048 in the security group you specified.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the SfsTurbo 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.
- Status string
- The status of the SFS Turbo file system.
- 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.
- Status string
- The status of the SFS Turbo file system.
- 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.
- status String
- The status of the SFS Turbo file system.
- 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.
- status string
- The status of the SFS Turbo file system.
- 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.
- status str
- The status of the SFS Turbo file system.
- 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.
- status String
- The status of the SFS Turbo file system.
- version String
- The version ID of the SFS Turbo file system.
Look up Existing SfsTurbo Resource
Get an existing SfsTurbo 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?: SfsTurboState, opts?: CustomResourceOptions): SfsTurbo
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auto_renew: Optional[str] = None,
availability_zone: Optional[str] = None,
available_capacity: Optional[str] = None,
charging_mode: Optional[str] = None,
crypt_key_id: Optional[str] = None,
dedicated_flavor: Optional[str] = None,
dedicated_storage_id: Optional[str] = None,
enhanced: Optional[bool] = None,
enterprise_project_id: Optional[str] = None,
export_location: Optional[str] = None,
hpc_bandwidth: Optional[str] = None,
hpc_cache_bandwidth: Optional[str] = None,
name: Optional[str] = None,
period: Optional[float] = None,
period_unit: Optional[str] = None,
region: Optional[str] = None,
security_group_id: Optional[str] = None,
sfs_turbo_id: Optional[str] = None,
share_proto: Optional[str] = None,
share_type: Optional[str] = None,
size: Optional[float] = None,
status: Optional[str] = None,
subnet_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[SfsTurboTimeoutsArgs] = None,
version: Optional[str] = None,
vpc_id: Optional[str] = None) -> SfsTurbo
func GetSfsTurbo(ctx *Context, name string, id IDInput, state *SfsTurboState, opts ...ResourceOption) (*SfsTurbo, error)
public static SfsTurbo Get(string name, Input<string> id, SfsTurboState? state, CustomResourceOptions? opts = null)
public static SfsTurbo get(String name, Output<String> id, SfsTurboState state, CustomResourceOptions options)
resources: _: type: flexibleengine:SfsTurbo 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.
- Auto
Renew string - 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.
- Charging
Mode string - Crypt
Key stringId - Specifies the ID of a KMS key to encrypt the file system. Changing this will create a new resource.
- Dedicated
Flavor string - Dedicated
Storage stringId - Enhanced bool
- Specifies whether the file system is enhanced or not. Changing this will create a new resource.
- Enterprise
Project stringId - Specifies the enterprise project id of the resource. Changing this will create a new resource.
- Export
Location string - The mount point of the SFS Turbo file system.
- Hpc
Bandwidth string - Hpc
Cache stringBandwidth - 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.
- Period double
- Period
Unit string - 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. Changing this will create a new resource.
- Sfs
Turbo stringId - 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. Changing this will create a new resource. Valid values are STANDARD and PERFORMANCE. Defaults to STANDARD.
- Size double
Specifies the capacity of a sharing file system, in GB.
- If
share_type
is set to STANDARD or PERFORMANCE, the value ranges from 500 to 32768, and ranges from 10240 to 327680 for an enhanced file system.
The file system capacity can only be expanded, not reduced.
- If
- Status string
- The status of the SFS Turbo file system.
- Subnet
Id string - Specifies the network ID of the subnet. Changing this will create a new resource.
- Dictionary<string, string>
Specifies the key/value pairs to associate with the SFS Turbo.
NOTE: 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, and 20048 in the security group you specified.
- Timeouts
Sfs
Turbo Timeouts - 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.
- Auto
Renew string - 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.
- Charging
Mode string - Crypt
Key stringId - Specifies the ID of a KMS key to encrypt the file system. Changing this will create a new resource.
- Dedicated
Flavor string - Dedicated
Storage stringId - Enhanced bool
- Specifies whether the file system is enhanced or not. Changing this will create a new resource.
- Enterprise
Project stringId - Specifies the enterprise project id of the resource. Changing this will create a new resource.
- Export
Location string - The mount point of the SFS Turbo file system.
- Hpc
Bandwidth string - Hpc
Cache stringBandwidth - 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.
- Period float64
- Period
Unit string - 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. Changing this will create a new resource.
- Sfs
Turbo stringId - 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. Changing this will create a new resource. Valid values are STANDARD and PERFORMANCE. Defaults to STANDARD.
- Size float64
Specifies the capacity of a sharing file system, in GB.
- If
share_type
is set to STANDARD or PERFORMANCE, the value ranges from 500 to 32768, and ranges from 10240 to 327680 for an enhanced file system.
The file system capacity can only be expanded, not reduced.
- If
- Status string
- The status of the SFS Turbo file system.
- Subnet
Id string - Specifies the network ID of the subnet. Changing this will create a new resource.
- map[string]string
Specifies the key/value pairs to associate with the SFS Turbo.
NOTE: 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, and 20048 in the security group you specified.
- Timeouts
Sfs
Turbo Timeouts 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.
- auto
Renew String - 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.
- charging
Mode String - crypt
Key StringId - Specifies the ID of a KMS key to encrypt the file system. Changing this will create a new resource.
- dedicated
Flavor String - dedicated
Storage StringId - enhanced Boolean
- Specifies whether the file system is enhanced or not. Changing this will create a new resource.
- enterprise
Project StringId - Specifies the enterprise project id of the resource. Changing this will create a new resource.
- export
Location String - The mount point of the SFS Turbo file system.
- hpc
Bandwidth String - hpc
Cache StringBandwidth - 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.
- period Double
- period
Unit String - 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. Changing this will create a new resource.
- sfs
Turbo StringId - 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. Changing this will create a new resource. Valid values are STANDARD and PERFORMANCE. Defaults to STANDARD.
- size Double
Specifies the capacity of a sharing file system, in GB.
- If
share_type
is set to STANDARD or PERFORMANCE, the value ranges from 500 to 32768, and ranges from 10240 to 327680 for an enhanced file system.
The file system capacity can only be expanded, not reduced.
- If
- status String
- The status of the SFS Turbo file system.
- subnet
Id String - Specifies the network ID of the subnet. Changing this will create a new resource.
- Map<String,String>
Specifies the key/value pairs to associate with the SFS Turbo.
NOTE: 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, and 20048 in the security group you specified.
- timeouts
Sfs
Turbo Timeouts - 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.
- auto
Renew string - 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.
- charging
Mode string - crypt
Key stringId - Specifies the ID of a KMS key to encrypt the file system. Changing this will create a new resource.
- dedicated
Flavor string - dedicated
Storage stringId - enhanced boolean
- Specifies whether the file system is enhanced or not. Changing this will create a new resource.
- enterprise
Project stringId - Specifies the enterprise project id of the resource. Changing this will create a new resource.
- export
Location string - The mount point of the SFS Turbo file system.
- hpc
Bandwidth string - hpc
Cache stringBandwidth - 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.
- period number
- period
Unit string - 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. Changing this will create a new resource.
- sfs
Turbo stringId - 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. Changing this will create a new resource. Valid values are STANDARD and PERFORMANCE. Defaults to STANDARD.
- size number
Specifies the capacity of a sharing file system, in GB.
- If
share_type
is set to STANDARD or PERFORMANCE, the value ranges from 500 to 32768, and ranges from 10240 to 327680 for an enhanced file system.
The file system capacity can only be expanded, not reduced.
- If
- status string
- The status of the SFS Turbo file system.
- subnet
Id string - Specifies the network ID of the subnet. Changing this will create a new resource.
- {[key: string]: string}
Specifies the key/value pairs to associate with the SFS Turbo.
NOTE: 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, and 20048 in the security group you specified.
- timeouts
Sfs
Turbo Timeouts - 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.
- auto_
renew str - 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.
- charging_
mode str - crypt_
key_ strid - Specifies the ID of a KMS key to encrypt the file system. Changing this will create a new resource.
- dedicated_
flavor str - dedicated_
storage_ strid - enhanced bool
- Specifies whether the file system is enhanced or not. Changing this will create a new resource.
- enterprise_
project_ strid - Specifies the enterprise project id of the resource. Changing this will create a new resource.
- export_
location str - The mount point of the SFS Turbo file system.
- hpc_
bandwidth str - hpc_
cache_ strbandwidth - 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.
- period float
- period_
unit str - 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. Changing this will create a new resource.
- sfs_
turbo_ strid - 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. Changing this will create a new resource. Valid values are STANDARD and PERFORMANCE. Defaults to STANDARD.
- size float
Specifies the capacity of a sharing file system, in GB.
- If
share_type
is set to STANDARD or PERFORMANCE, the value ranges from 500 to 32768, and ranges from 10240 to 327680 for an enhanced file system.
The file system capacity can only be expanded, not reduced.
- If
- status str
- The status of the SFS Turbo file system.
- subnet_
id str - Specifies the network ID of the subnet. Changing this will create a new resource.
- Mapping[str, str]
Specifies the key/value pairs to associate with the SFS Turbo.
NOTE: 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, and 20048 in the security group you specified.
- timeouts
Sfs
Turbo Timeouts 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.
- auto
Renew String - 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.
- charging
Mode String - crypt
Key StringId - Specifies the ID of a KMS key to encrypt the file system. Changing this will create a new resource.
- dedicated
Flavor String - dedicated
Storage StringId - enhanced Boolean
- Specifies whether the file system is enhanced or not. Changing this will create a new resource.
- enterprise
Project StringId - Specifies the enterprise project id of the resource. Changing this will create a new resource.
- export
Location String - The mount point of the SFS Turbo file system.
- hpc
Bandwidth String - hpc
Cache StringBandwidth - 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.
- period Number
- period
Unit String - 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. Changing this will create a new resource.
- sfs
Turbo StringId - 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. Changing this will create a new resource. Valid values are STANDARD and PERFORMANCE. Defaults to STANDARD.
- size Number
Specifies the capacity of a sharing file system, in GB.
- If
share_type
is set to STANDARD or PERFORMANCE, the value ranges from 500 to 32768, and ranges from 10240 to 327680 for an enhanced file system.
The file system capacity can only be expanded, not reduced.
- If
- status String
- The status of the SFS Turbo file system.
- subnet
Id String - Specifies the network ID of the subnet. Changing this will create a new resource.
- Map<String>
Specifies the key/value pairs to associate with the SFS Turbo.
NOTE: 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, and 20048 in the security group you specified.
- 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
SfsTurboTimeouts, SfsTurboTimeoutsArgs
Import
SFS Turbo can be imported using the id
, e.g.
bash
$ pulumi import flexibleengine:index/sfsTurbo:SfsTurbo flexibleengine_sfs_turbo 1e3d5306-24c9-4316-9185-70e9787d71ab
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.