OVHCloud v2.7.3 published on Thursday, Aug 28, 2025 by OVHcloud
ovh.getStorageEfs
Explore with Pulumi AI
Get information about an EFS service.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh";
const efs = ovh.getStorageEfs({
serviceName: "XXX",
});
import pulumi
import pulumi_ovh as ovh
efs = ovh.get_storage_efs(service_name="XXX")
package main
import (
"github.com/ovh/pulumi-ovh/sdk/v2/go/ovh"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ovh.GetStorageEfs(ctx, &ovh.GetStorageEfsArgs{
ServiceName: "XXX",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ovh = Pulumi.Ovh;
return await Deployment.RunAsync(() =>
{
var efs = Ovh.GetStorageEfs.Invoke(new()
{
ServiceName = "XXX",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ovh.OvhFunctions;
import com.pulumi.ovh.inputs.GetStorageEfsArgs;
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 efs = OvhFunctions.getStorageEfs(GetStorageEfsArgs.builder()
.serviceName("XXX")
.build());
}
}
variables:
efs:
fn::invoke:
function: ovh:getStorageEfs
arguments:
serviceName: XXX
Using getStorageEfs
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getStorageEfs(args: GetStorageEfsArgs, opts?: InvokeOptions): Promise<GetStorageEfsResult>
function getStorageEfsOutput(args: GetStorageEfsOutputArgs, opts?: InvokeOptions): Output<GetStorageEfsResult>
def get_storage_efs(service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetStorageEfsResult
def get_storage_efs_output(service_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetStorageEfsResult]
func GetStorageEfs(ctx *Context, args *GetStorageEfsArgs, opts ...InvokeOption) (*GetStorageEfsResult, error)
func GetStorageEfsOutput(ctx *Context, args *GetStorageEfsOutputArgs, opts ...InvokeOption) GetStorageEfsResultOutput
> Note: This function is named GetStorageEfs
in the Go SDK.
public static class GetStorageEfs
{
public static Task<GetStorageEfsResult> InvokeAsync(GetStorageEfsArgs args, InvokeOptions? opts = null)
public static Output<GetStorageEfsResult> Invoke(GetStorageEfsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetStorageEfsResult> getStorageEfs(GetStorageEfsArgs args, InvokeOptions options)
public static Output<GetStorageEfsResult> getStorageEfs(GetStorageEfsArgs args, InvokeOptions options)
fn::invoke:
function: ovh:index/getStorageEfs:getStorageEfs
arguments:
# arguments dictionary
The following arguments are supported:
- Service
Name string - Service name
- Service
Name string - Service name
- service
Name String - Service name
- service
Name string - Service name
- service_
name str - Service name
- service
Name String - Service name
getStorageEfs Result
The following output properties are available:
- Created
At string - Service creation date
- Iam
Get
Storage Efs Iam - IAM resource metadata
- Id string
- Service ID
- Name string
- Service name
- Performance
Level string - Service performance level
- Product string
- Product name
- Quota double
- Service quota
- Region string
- Service region
- Service
Name string - Service name
- Status string
- Service status
- Created
At string - Service creation date
- Iam
Get
Storage Efs Iam - IAM resource metadata
- Id string
- Service ID
- Name string
- Service name
- Performance
Level string - Service performance level
- Product string
- Product name
- Quota float64
- Service quota
- Region string
- Service region
- Service
Name string - Service name
- Status string
- Service status
- created
At String - Service creation date
- iam
Get
Storage Efs Iam - IAM resource metadata
- id String
- Service ID
- name String
- Service name
- performance
Level String - Service performance level
- product String
- Product name
- quota Double
- Service quota
- region String
- Service region
- service
Name String - Service name
- status String
- Service status
- created
At string - Service creation date
- iam
Get
Storage Efs Iam - IAM resource metadata
- id string
- Service ID
- name string
- Service name
- performance
Level string - Service performance level
- product string
- Product name
- quota number
- Service quota
- region string
- Service region
- service
Name string - Service name
- status string
- Service status
- created_
at str - Service creation date
- iam
Get
Storage Efs Iam - IAM resource metadata
- id str
- Service ID
- name str
- Service name
- performance_
level str - Service performance level
- product str
- Product name
- quota float
- Service quota
- region str
- Service region
- service_
name str - Service name
- status str
- Service status
- created
At String - Service creation date
- iam Property Map
- IAM resource metadata
- id String
- Service ID
- name String
- Service name
- performance
Level String - Service performance level
- product String
- Product name
- quota Number
- Service quota
- region String
- Service region
- service
Name String - Service name
- status String
- Service status
Supporting Types
GetStorageEfsIam
- 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
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ovh
Terraform Provider.