published on Thursday, Mar 12, 2026 by OVHcloud
published on Thursday, Mar 12, 2026 by OVHcloud
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
efs:
type: ovh:StorageEfs
properties:
name: MyEFS
ovhSubsidiary: ${myAccount.ovhSubsidiary}
plans:
- plan_code: enterprise-file-storage-premium-1tb
duration: P1M
pricing_mode: default
configuration:
- label: region
value: eu-west-gra
- label: network
value: vrack
variables:
myAccount:
fn::invoke:
function: ovh:Me:getMe
arguments: {}
Create StorageEfs Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new StorageEfs(name: string, args?: StorageEfsArgs, opts?: CustomResourceOptions);@overload
def StorageEfs(resource_name: str,
args: Optional[StorageEfsArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def StorageEfs(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
ovh_subsidiary: Optional[str] = None,
plan_options: Optional[Sequence[StorageEfsPlanOptionArgs]] = None,
plans: Optional[Sequence[StorageEfsPlanArgs]] = None)func NewStorageEfs(ctx *Context, name string, args *StorageEfsArgs, opts ...ResourceOption) (*StorageEfs, error)public StorageEfs(string name, StorageEfsArgs? args = null, CustomResourceOptions? opts = null)
public StorageEfs(String name, StorageEfsArgs args)
public StorageEfs(String name, StorageEfsArgs args, CustomResourceOptions options)
type: ovh:StorageEfs
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 StorageEfsArgs
- 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 StorageEfsArgs
- 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 StorageEfsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StorageEfsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args StorageEfsArgs
- 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 storageEfsResource = new Ovh.StorageEfs("storageEfsResource", new()
{
Name = "string",
OvhSubsidiary = "string",
PlanOptions = new[]
{
new Ovh.Inputs.StorageEfsPlanOptionArgs
{
Duration = "string",
PlanCode = "string",
PricingMode = "string",
Quantity = 0,
Configurations = new[]
{
new Ovh.Inputs.StorageEfsPlanOptionConfigurationArgs
{
Label = "string",
Value = "string",
},
},
},
},
Plans = new[]
{
new Ovh.Inputs.StorageEfsPlanArgs
{
Duration = "string",
PlanCode = "string",
PricingMode = "string",
Configurations = new[]
{
new Ovh.Inputs.StorageEfsPlanConfigurationArgs
{
Label = "string",
Value = "string",
},
},
ItemId = 0,
Quantity = 0,
},
},
});
example, err := ovh.NewStorageEfs(ctx, "storageEfsResource", &ovh.StorageEfsArgs{
Name: pulumi.String("string"),
OvhSubsidiary: pulumi.String("string"),
PlanOptions: ovh.StorageEfsPlanOptionArray{
&ovh.StorageEfsPlanOptionArgs{
Duration: pulumi.String("string"),
PlanCode: pulumi.String("string"),
PricingMode: pulumi.String("string"),
Quantity: pulumi.Float64(0),
Configurations: ovh.StorageEfsPlanOptionConfigurationArray{
&ovh.StorageEfsPlanOptionConfigurationArgs{
Label: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
},
Plans: ovh.StorageEfsPlanArray{
&ovh.StorageEfsPlanArgs{
Duration: pulumi.String("string"),
PlanCode: pulumi.String("string"),
PricingMode: pulumi.String("string"),
Configurations: ovh.StorageEfsPlanConfigurationArray{
&ovh.StorageEfsPlanConfigurationArgs{
Label: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
ItemId: pulumi.Float64(0),
Quantity: pulumi.Float64(0),
},
},
})
var storageEfsResource = new StorageEfs("storageEfsResource", StorageEfsArgs.builder()
.name("string")
.ovhSubsidiary("string")
.planOptions(StorageEfsPlanOptionArgs.builder()
.duration("string")
.planCode("string")
.pricingMode("string")
.quantity(0.0)
.configurations(StorageEfsPlanOptionConfigurationArgs.builder()
.label("string")
.value("string")
.build())
.build())
.plans(StorageEfsPlanArgs.builder()
.duration("string")
.planCode("string")
.pricingMode("string")
.configurations(StorageEfsPlanConfigurationArgs.builder()
.label("string")
.value("string")
.build())
.itemId(0.0)
.quantity(0.0)
.build())
.build());
storage_efs_resource = ovh.StorageEfs("storageEfsResource",
name="string",
ovh_subsidiary="string",
plan_options=[{
"duration": "string",
"plan_code": "string",
"pricing_mode": "string",
"quantity": 0,
"configurations": [{
"label": "string",
"value": "string",
}],
}],
plans=[{
"duration": "string",
"plan_code": "string",
"pricing_mode": "string",
"configurations": [{
"label": "string",
"value": "string",
}],
"item_id": 0,
"quantity": 0,
}])
const storageEfsResource = new ovh.StorageEfs("storageEfsResource", {
name: "string",
ovhSubsidiary: "string",
planOptions: [{
duration: "string",
planCode: "string",
pricingMode: "string",
quantity: 0,
configurations: [{
label: "string",
value: "string",
}],
}],
plans: [{
duration: "string",
planCode: "string",
pricingMode: "string",
configurations: [{
label: "string",
value: "string",
}],
itemId: 0,
quantity: 0,
}],
});
type: ovh:StorageEfs
properties:
name: string
ovhSubsidiary: string
planOptions:
- configurations:
- label: string
value: string
duration: string
planCode: string
pricingMode: string
quantity: 0
plans:
- configurations:
- label: string
value: string
duration: string
itemId: 0
planCode: string
pricingMode: string
quantity: 0
StorageEfs 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 StorageEfs resource accepts the following input properties:
- Name string
- Custom service display name
- Ovh
Subsidiary string - OVH subsidiaries
- Plan
Options List<StorageEfs Plan Option> - Plans
List<Storage
Efs Plan>
- Name string
- Custom service display name
- Ovh
Subsidiary string - OVH subsidiaries
- Plan
Options []StorageEfs Plan Option Args - Plans
[]Storage
Efs Plan Args
- name String
- Custom service display name
- ovh
Subsidiary String - OVH subsidiaries
- plan
Options List<StorageEfs Plan Option> - plans
List<Storage
Efs Plan>
- name string
- Custom service display name
- ovh
Subsidiary string - OVH subsidiaries
- plan
Options StorageEfs Plan Option[] - plans
Storage
Efs Plan[]
- name str
- Custom service display name
- ovh_
subsidiary str - OVH subsidiaries
- plan_
options Sequence[StorageEfs Plan Option Args] - plans
Sequence[Storage
Efs Plan Args]
- name String
- Custom service display name
- ovh
Subsidiary String - OVH subsidiaries
- plan
Options List<Property Map> - plans List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the StorageEfs resource produces the following output properties:
- Created
At string - Service creation date
- Iam
Storage
Efs Iam - IAM resource metadata
- Id string
- The provider-assigned unique ID for this managed resource.
- Order
Storage
Efs Order - Details about an Order
- Performance
Level string - Service performance level
- Product string
- Product name
- Quota double
- Service quota
- Region string
- Service region
- Service
Name string - Service name (same as
id) - Status string
- Service status
- Created
At string - Service creation date
- Iam
Storage
Efs Iam - IAM resource metadata
- Id string
- The provider-assigned unique ID for this managed resource.
- Order
Storage
Efs Order - Details about an Order
- Performance
Level string - Service performance level
- Product string
- Product name
- Quota float64
- Service quota
- Region string
- Service region
- Service
Name string - Service name (same as
id) - Status string
- Service status
- created
At String - Service creation date
- iam
Storage
Efs Iam - IAM resource metadata
- id String
- The provider-assigned unique ID for this managed resource.
- order
Storage
Efs Order - Details about an Order
- performance
Level String - Service performance level
- product String
- Product name
- quota Double
- Service quota
- region String
- Service region
- service
Name String - Service name (same as
id) - status String
- Service status
- created
At string - Service creation date
- iam
Storage
Efs Iam - IAM resource metadata
- id string
- The provider-assigned unique ID for this managed resource.
- order
Storage
Efs Order - Details about an Order
- performance
Level string - Service performance level
- product string
- Product name
- quota number
- Service quota
- region string
- Service region
- service
Name string - Service name (same as
id) - status string
- Service status
- created_
at str - Service creation date
- iam
Storage
Efs Iam - IAM resource metadata
- id str
- The provider-assigned unique ID for this managed resource.
- order
Storage
Efs Order - Details about an Order
- performance_
level str - Service performance level
- product str
- Product name
- quota float
- Service quota
- region str
- Service region
- service_
name str - Service name (same as
id) - status str
- Service status
- created
At String - Service creation date
- iam Property Map
- IAM resource metadata
- id String
- The provider-assigned unique ID for this managed resource.
- order Property Map
- Details about an Order
- performance
Level String - Service performance level
- product String
- Product name
- quota Number
- Service quota
- region String
- Service region
- service
Name String - Service name (same as
id) - status String
- Service status
Look up Existing StorageEfs Resource
Get an existing StorageEfs 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?: StorageEfsState, opts?: CustomResourceOptions): StorageEfs@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_at: Optional[str] = None,
iam: Optional[StorageEfsIamArgs] = None,
name: Optional[str] = None,
order: Optional[StorageEfsOrderArgs] = None,
ovh_subsidiary: Optional[str] = None,
performance_level: Optional[str] = None,
plan_options: Optional[Sequence[StorageEfsPlanOptionArgs]] = None,
plans: Optional[Sequence[StorageEfsPlanArgs]] = None,
product: Optional[str] = None,
quota: Optional[float] = None,
region: Optional[str] = None,
service_name: Optional[str] = None,
status: Optional[str] = None) -> StorageEfsfunc GetStorageEfs(ctx *Context, name string, id IDInput, state *StorageEfsState, opts ...ResourceOption) (*StorageEfs, error)public static StorageEfs Get(string name, Input<string> id, StorageEfsState? state, CustomResourceOptions? opts = null)public static StorageEfs get(String name, Output<String> id, StorageEfsState state, CustomResourceOptions options)resources: _: type: ovh:StorageEfs 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.
- Created
At string - Service creation date
- Iam
Storage
Efs Iam - IAM resource metadata
- Name string
- Custom service display name
- Order
Storage
Efs Order - Details about an Order
- Ovh
Subsidiary string - OVH subsidiaries
- Performance
Level string - Service performance level
- Plan
Options List<StorageEfs Plan Option> - Plans
List<Storage
Efs Plan> - Product string
- Product name
- Quota double
- Service quota
- Region string
- Service region
- Service
Name string - Service name (same as
id) - Status string
- Service status
- Created
At string - Service creation date
- Iam
Storage
Efs Iam Args - IAM resource metadata
- Name string
- Custom service display name
- Order
Storage
Efs Order Args - Details about an Order
- Ovh
Subsidiary string - OVH subsidiaries
- Performance
Level string - Service performance level
- Plan
Options []StorageEfs Plan Option Args - Plans
[]Storage
Efs Plan Args - Product string
- Product name
- Quota float64
- Service quota
- Region string
- Service region
- Service
Name string - Service name (same as
id) - Status string
- Service status
- created
At String - Service creation date
- iam
Storage
Efs Iam - IAM resource metadata
- name String
- Custom service display name
- order
Storage
Efs Order - Details about an Order
- ovh
Subsidiary String - OVH subsidiaries
- performance
Level String - Service performance level
- plan
Options List<StorageEfs Plan Option> - plans
List<Storage
Efs Plan> - product String
- Product name
- quota Double
- Service quota
- region String
- Service region
- service
Name String - Service name (same as
id) - status String
- Service status
- created
At string - Service creation date
- iam
Storage
Efs Iam - IAM resource metadata
- name string
- Custom service display name
- order
Storage
Efs Order - Details about an Order
- ovh
Subsidiary string - OVH subsidiaries
- performance
Level string - Service performance level
- plan
Options StorageEfs Plan Option[] - plans
Storage
Efs Plan[] - product string
- Product name
- quota number
- Service quota
- region string
- Service region
- service
Name string - Service name (same as
id) - status string
- Service status
- created_
at str - Service creation date
- iam
Storage
Efs Iam Args - IAM resource metadata
- name str
- Custom service display name
- order
Storage
Efs Order Args - Details about an Order
- ovh_
subsidiary str - OVH subsidiaries
- performance_
level str - Service performance level
- plan_
options Sequence[StorageEfs Plan Option Args] - plans
Sequence[Storage
Efs Plan Args] - product str
- Product name
- quota float
- Service quota
- region str
- Service region
- service_
name str - Service name (same as
id) - status str
- Service status
- created
At String - Service creation date
- iam Property Map
- IAM resource metadata
- name String
- Custom service display name
- order Property Map
- Details about an Order
- ovh
Subsidiary String - OVH subsidiaries
- performance
Level String - Service performance level
- plan
Options List<Property Map> - plans List<Property Map>
- product String
- Product name
- quota Number
- Service quota
- region String
- Service region
- service
Name String - Service name (same as
id) - status String
- Service status
Supporting Types
StorageEfsIam, StorageEfsIamArgs
- Display
Name string - Resource display name
- Id string
- Unique identifier of the resource
- Dictionary<string, string>
- Resource tags. Tags that were internally computed are prefixed with ovh:
- Urn string
- Unique resource name used in policies
- Display
Name string - Resource display name
- Id string
- Unique identifier of the resource
- map[string]string
- Resource tags. Tags that were internally computed are prefixed with ovh:
- Urn string
- Unique resource name used in policies
- display
Name String - Resource display name
- id String
- Unique identifier of the resource
- Map<String,String>
- Resource tags. Tags that were internally computed are prefixed with ovh:
- urn String
- Unique resource name used in policies
- display
Name string - Resource display name
- id string
- Unique identifier of the resource
- {[key: string]: string}
- Resource tags. Tags that were internally computed are prefixed with ovh:
- urn string
- Unique resource name used in policies
- display_
name str - Resource display name
- id str
- Unique identifier of the resource
- Mapping[str, str]
- Resource tags. Tags that were internally computed are prefixed with ovh:
- urn str
- Unique resource name used in policies
- display
Name String - Resource display name
- id String
- Unique identifier of the resource
- Map<String>
- Resource tags. Tags that were internally computed are prefixed with ovh:
- urn String
- Unique resource name used in policies
StorageEfsOrder, StorageEfsOrderArgs
- Date string
- Details
List<Storage
Efs Order Detail> - Expiration
Date string - Order
Id double
- Date string
- Details
[]Storage
Efs Order Detail - Expiration
Date string - Order
Id float64
- date String
- details
List<Storage
Efs Order Detail> - expiration
Date String - order
Id Double
- date string
- details
Storage
Efs Order Detail[] - expiration
Date string - order
Id number
- date String
- details List<Property Map>
- expiration
Date String - order
Id Number
StorageEfsOrderDetail, StorageEfsOrderDetailArgs
- Description string
- Detail
Type string - Product type of item in order
- Domain string
- Order
Detail doubleId - Quantity string
- Description string
- Detail
Type string - Product type of item in order
- Domain string
- Order
Detail float64Id - Quantity string
- description String
- detail
Type String - Product type of item in order
- domain String
- order
Detail DoubleId - quantity String
- description string
- detail
Type string - Product type of item in order
- domain string
- order
Detail numberId - quantity string
- description str
- detail_
type str - Product type of item in order
- domain str
- order_
detail_ floatid - quantity str
- description String
- detail
Type String - Product type of item in order
- domain String
- order
Detail NumberId - quantity String
StorageEfsPlan, StorageEfsPlanArgs
- Duration string
- Duration selected for the purchase of the product
- Plan
Code string - Identifier of the option offer
- Pricing
Mode string - Pricing mode selected for the purchase of the product
- Configurations
List<Storage
Efs Plan Configuration> - Item
Id double - Cart item to be linked
- Quantity double
- Quantity of product desired
- Duration string
- Duration selected for the purchase of the product
- Plan
Code string - Identifier of the option offer
- Pricing
Mode string - Pricing mode selected for the purchase of the product
- Configurations
[]Storage
Efs Plan Configuration - Item
Id float64 - Cart item to be linked
- Quantity float64
- Quantity of product desired
- duration String
- Duration selected for the purchase of the product
- plan
Code String - Identifier of the option offer
- pricing
Mode String - Pricing mode selected for the purchase of the product
- configurations
List<Storage
Efs Plan Configuration> - item
Id Double - Cart item to be linked
- quantity Double
- Quantity of product desired
- duration string
- Duration selected for the purchase of the product
- plan
Code string - Identifier of the option offer
- pricing
Mode string - Pricing mode selected for the purchase of the product
- configurations
Storage
Efs Plan Configuration[] - item
Id number - Cart item to be linked
- quantity number
- Quantity of product desired
- duration str
- Duration selected for the purchase of the product
- plan_
code str - Identifier of the option offer
- pricing_
mode str - Pricing mode selected for the purchase of the product
- configurations
Sequence[Storage
Efs Plan Configuration] - item_
id float - Cart item to be linked
- quantity float
- Quantity of product desired
- duration String
- Duration selected for the purchase of the product
- plan
Code String - Identifier of the option offer
- pricing
Mode String - Pricing mode selected for the purchase of the product
- configurations List<Property Map>
- item
Id Number - Cart item to be linked
- quantity Number
- Quantity of product desired
StorageEfsPlanConfiguration, StorageEfsPlanConfigurationArgs
StorageEfsPlanOption, StorageEfsPlanOptionArgs
- Duration string
- Duration selected for the purchase of the product
- Plan
Code string - Identifier of the option offer
- Pricing
Mode string - Pricing mode selected for the purchase of the product
- Quantity double
- Quantity of product desired
- Configurations
List<Storage
Efs Plan Option Configuration>
- Duration string
- Duration selected for the purchase of the product
- Plan
Code string - Identifier of the option offer
- Pricing
Mode string - Pricing mode selected for the purchase of the product
- Quantity float64
- Quantity of product desired
- Configurations
[]Storage
Efs Plan Option Configuration
- duration String
- Duration selected for the purchase of the product
- plan
Code String - Identifier of the option offer
- pricing
Mode String - Pricing mode selected for the purchase of the product
- quantity Double
- Quantity of product desired
- configurations
List<Storage
Efs Plan Option Configuration>
- duration string
- Duration selected for the purchase of the product
- plan
Code string - Identifier of the option offer
- pricing
Mode string - Pricing mode selected for the purchase of the product
- quantity number
- Quantity of product desired
- configurations
Storage
Efs Plan Option Configuration[]
- duration str
- Duration selected for the purchase of the product
- plan_
code str - Identifier of the option offer
- pricing_
mode str - Pricing mode selected for the purchase of the product
- quantity float
- Quantity of product desired
- configurations
Sequence[Storage
Efs Plan Option Configuration]
- duration String
- Duration selected for the purchase of the product
- plan
Code String - Identifier of the option offer
- pricing
Mode String - Pricing mode selected for the purchase of the product
- quantity Number
- Quantity of product desired
- configurations List<Property Map>
StorageEfsPlanOptionConfiguration, StorageEfsPlanOptionConfigurationArgs
Import
An Enterprise File Storage service can be imported using its id. Using the following configuration:
terraform
import {
to = ovh_storage_efs.efs
id = “xxx-xxx-xxx-xxx-xxx”
}
You can then run:
bash
$ pulumi preview -generate-config-out=efs.tf
$ pulumi up
The file efs.tf will then contain the imported resource’s configuration, that can be copied next to the import block above. See https://developer.hashicorp.com/terraform/language/import/generating-configuration for more details.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ovhTerraform Provider.
published on Thursday, Mar 12, 2026 by OVHcloud
