Viewing docs for OVHCloud v2.17.0
published on Friday, Jul 17, 2026 by OVHcloud
published on Friday, Jul 17, 2026 by OVHcloud
Viewing docs for OVHCloud v2.17.0
published on Friday, Jul 17, 2026 by OVHcloud
published on Friday, Jul 17, 2026 by OVHcloud
Get a file storage snapshot (NFS share snapshot) in a public cloud project.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh";
const snapshot = ovh.getCloudStorageFileShareSnapshot({
serviceName: "<public cloud project ID>",
id: "00000000-0000-0000-0000-000000000000",
});
import pulumi
import pulumi_ovh as ovh
snapshot = ovh.get_cloud_storage_file_share_snapshot(service_name="<public cloud project ID>",
id="00000000-0000-0000-0000-000000000000")
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.LookupCloudStorageFileShareSnapshot(ctx, &ovh.LookupCloudStorageFileShareSnapshotArgs{
ServiceName: "<public cloud project ID>",
Id: "00000000-0000-0000-0000-000000000000",
}, 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 snapshot = Ovh.GetCloudStorageFileShareSnapshot.Invoke(new()
{
ServiceName = "<public cloud project ID>",
Id = "00000000-0000-0000-0000-000000000000",
});
});
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.GetCloudStorageFileShareSnapshotArgs;
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 snapshot = OvhFunctions.getCloudStorageFileShareSnapshot(GetCloudStorageFileShareSnapshotArgs.builder()
.serviceName("<public cloud project ID>")
.id("00000000-0000-0000-0000-000000000000")
.build());
}
}
variables:
snapshot:
fn::invoke:
function: ovh:getCloudStorageFileShareSnapshot
arguments:
serviceName: <public cloud project ID>
id: 00000000-0000-0000-0000-000000000000
Example coming soon!
Using getCloudStorageFileShareSnapshot
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 getCloudStorageFileShareSnapshot(args: GetCloudStorageFileShareSnapshotArgs, opts?: InvokeOptions): Promise<GetCloudStorageFileShareSnapshotResult>
function getCloudStorageFileShareSnapshotOutput(args: GetCloudStorageFileShareSnapshotOutputArgs, opts?: InvokeOptions): Output<GetCloudStorageFileShareSnapshotResult>def get_cloud_storage_file_share_snapshot(id: Optional[str] = None,
service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudStorageFileShareSnapshotResult
def get_cloud_storage_file_share_snapshot_output(id: pulumi.Input[Optional[str]] = None,
service_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudStorageFileShareSnapshotResult]func LookupCloudStorageFileShareSnapshot(ctx *Context, args *LookupCloudStorageFileShareSnapshotArgs, opts ...InvokeOption) (*LookupCloudStorageFileShareSnapshotResult, error)
func LookupCloudStorageFileShareSnapshotOutput(ctx *Context, args *LookupCloudStorageFileShareSnapshotOutputArgs, opts ...InvokeOption) LookupCloudStorageFileShareSnapshotResultOutput> Note: This function is named LookupCloudStorageFileShareSnapshot in the Go SDK.
public static class GetCloudStorageFileShareSnapshot
{
public static Task<GetCloudStorageFileShareSnapshotResult> InvokeAsync(GetCloudStorageFileShareSnapshotArgs args, InvokeOptions? opts = null)
public static Output<GetCloudStorageFileShareSnapshotResult> Invoke(GetCloudStorageFileShareSnapshotInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCloudStorageFileShareSnapshotResult> getCloudStorageFileShareSnapshot(GetCloudStorageFileShareSnapshotArgs args, InvokeOptions options)
public static Output<GetCloudStorageFileShareSnapshotResult> getCloudStorageFileShareSnapshot(GetCloudStorageFileShareSnapshotArgs args, InvokeOptions options)
fn::invoke:
function: ovh:index/getCloudStorageFileShareSnapshot:getCloudStorageFileShareSnapshot
arguments:
# arguments dictionarydata "ovh_get_cloud_storage_file_share_snapshot" "name" {
# arguments
}The following arguments are supported:
- Id string
- The ID of the snapshot.
- Service
Name string - The id of the public cloud project.
- Id string
- The ID of the snapshot.
- Service
Name string - The id of the public cloud project.
- id string
- The ID of the snapshot.
- service_
name string - The id of the public cloud project.
- id String
- The ID of the snapshot.
- service
Name String - The id of the public cloud project.
- id string
- The ID of the snapshot.
- service
Name string - The id of the public cloud project.
- id str
- The ID of the snapshot.
- service_
name str - The id of the public cloud project.
- id String
- The ID of the snapshot.
- service
Name String - The id of the public cloud project.
getCloudStorageFileShareSnapshot Result
The following output properties are available:
- Checksum string
- Computed hash representing the current target specification value.
- Created
At string - Creation date of the snapshot.
- Current
State GetCloud Storage File Share Snapshot Current State - Current state of the file storage snapshot:
- Description string
- Snapshot description.
- Id string
- Name string
- Snapshot name.
- Resource
Status string - Snapshot readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - Service
Name string - string
- ID of the snapshotted file share.
- Updated
At string - Last update date of the snapshot.
- Checksum string
- Computed hash representing the current target specification value.
- Created
At string - Creation date of the snapshot.
- Current
State GetCloud Storage File Share Snapshot Current State - Current state of the file storage snapshot:
- Description string
- Snapshot description.
- Id string
- Name string
- Snapshot name.
- Resource
Status string - Snapshot readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - Service
Name string - string
- ID of the snapshotted file share.
- Updated
At string - Last update date of the snapshot.
- checksum string
- Computed hash representing the current target specification value.
- created_
at string - Creation date of the snapshot.
- current_
state object - Current state of the file storage snapshot:
- description string
- Snapshot description.
- id string
- name string
- Snapshot name.
- resource_
status string - Snapshot readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - service_
name string - string
- ID of the snapshotted file share.
- updated_
at string - Last update date of the snapshot.
- checksum String
- Computed hash representing the current target specification value.
- created
At String - Creation date of the snapshot.
- current
State GetCloud Storage File Share Snapshot Current State - Current state of the file storage snapshot:
- description String
- Snapshot description.
- id String
- name String
- Snapshot name.
- resource
Status String - Snapshot readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - service
Name String - String
- ID of the snapshotted file share.
- updated
At String - Last update date of the snapshot.
- checksum string
- Computed hash representing the current target specification value.
- created
At string - Creation date of the snapshot.
- current
State GetCloud Storage File Share Snapshot Current State - Current state of the file storage snapshot:
- description string
- Snapshot description.
- id string
- name string
- Snapshot name.
- resource
Status string - Snapshot readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - service
Name string - string
- ID of the snapshotted file share.
- updated
At string - Last update date of the snapshot.
- checksum str
- Computed hash representing the current target specification value.
- created_
at str - Creation date of the snapshot.
- current_
state GetCloud Storage File Share Snapshot Current State - Current state of the file storage snapshot:
- description str
- Snapshot description.
- id str
- name str
- Snapshot name.
- resource_
status str - Snapshot readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - service_
name str - str
- ID of the snapshotted file share.
- updated_
at str - Last update date of the snapshot.
- checksum String
- Computed hash representing the current target specification value.
- created
At String - Creation date of the snapshot.
- current
State Property Map - Current state of the file storage snapshot:
- description String
- Snapshot description.
- id String
- name String
- Snapshot name.
- resource
Status String - Snapshot readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - service
Name String - String
- ID of the snapshotted file share.
- updated
At String - Last update date of the snapshot.
Supporting Types
GetCloudStorageFileShareSnapshotCurrentState
- Description string
- Snapshot description.
- Location
Get
Cloud Storage File Share Snapshot Current State Location - Current location:
- Name string
- Snapshot name.
- string
- ID of the snapshotted file share.
- Size int
- Size of the snapshot in GB.
- Description string
- Snapshot description.
- Location
Get
Cloud Storage File Share Snapshot Current State Location - Current location:
- Name string
- Snapshot name.
- string
- ID of the snapshotted file share.
- Size int
- Size of the snapshot in GB.
- description string
- Snapshot description.
- location object
- Current location:
- name string
- Snapshot name.
- string
- ID of the snapshotted file share.
- size number
- Size of the snapshot in GB.
- description String
- Snapshot description.
- location
Get
Cloud Storage File Share Snapshot Current State Location - Current location:
- name String
- Snapshot name.
- String
- ID of the snapshotted file share.
- size Integer
- Size of the snapshot in GB.
- description string
- Snapshot description.
- location
Get
Cloud Storage File Share Snapshot Current State Location - Current location:
- name string
- Snapshot name.
- string
- ID of the snapshotted file share.
- size number
- Size of the snapshot in GB.
- description str
- Snapshot description.
- location
Get
Cloud Storage File Share Snapshot Current State Location - Current location:
- name str
- Snapshot name.
- str
- ID of the snapshotted file share.
- size int
- Size of the snapshot in GB.
- description String
- Snapshot description.
- location Property Map
- Current location:
- name String
- Snapshot name.
- String
- ID of the snapshotted file share.
- size Number
- Size of the snapshot in GB.
GetCloudStorageFileShareSnapshotCurrentStateLocation
- Availability
Zone string - Availability zone.
- Region string
- Region.
- Availability
Zone string - Availability zone.
- Region string
- Region.
- availability_
zone string - Availability zone.
- region string
- Region.
- availability
Zone String - Availability zone.
- region String
- Region.
- availability
Zone string - Availability zone.
- region string
- Region.
- availability_
zone str - Availability zone.
- region str
- Region.
- availability
Zone String - Availability zone.
- region String
- Region.
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ovhTerraform Provider.
Viewing docs for OVHCloud v2.17.0
published on Friday, Jul 17, 2026 by OVHcloud
published on Friday, Jul 17, 2026 by OVHcloud