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
List the file storage snapshots (NFS share snapshots) in a public cloud project.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh";
const snapshots = ovh.getCloudStorageFileShareSnapshots({
serviceName: "<public cloud project ID>",
});
import pulumi
import pulumi_ovh as ovh
snapshots = ovh.get_cloud_storage_file_share_snapshots(service_name="<public cloud project ID>")
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.GetCloudStorageFileShareSnapshots(ctx, &ovh.GetCloudStorageFileShareSnapshotsArgs{
ServiceName: "<public cloud project ID>",
}, 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 snapshots = Ovh.GetCloudStorageFileShareSnapshots.Invoke(new()
{
ServiceName = "<public cloud project ID>",
});
});
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.GetCloudStorageFileShareSnapshotsArgs;
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 snapshots = OvhFunctions.getCloudStorageFileShareSnapshots(GetCloudStorageFileShareSnapshotsArgs.builder()
.serviceName("<public cloud project ID>")
.build());
}
}
variables:
snapshots:
fn::invoke:
function: ovh:getCloudStorageFileShareSnapshots
arguments:
serviceName: <public cloud project ID>
Example coming soon!
Using getCloudStorageFileShareSnapshots
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 getCloudStorageFileShareSnapshots(args: GetCloudStorageFileShareSnapshotsArgs, opts?: InvokeOptions): Promise<GetCloudStorageFileShareSnapshotsResult>
function getCloudStorageFileShareSnapshotsOutput(args: GetCloudStorageFileShareSnapshotsOutputArgs, opts?: InvokeOptions): Output<GetCloudStorageFileShareSnapshotsResult>def get_cloud_storage_file_share_snapshots(service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudStorageFileShareSnapshotsResult
def get_cloud_storage_file_share_snapshots_output(service_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudStorageFileShareSnapshotsResult]func GetCloudStorageFileShareSnapshots(ctx *Context, args *GetCloudStorageFileShareSnapshotsArgs, opts ...InvokeOption) (*GetCloudStorageFileShareSnapshotsResult, error)
func GetCloudStorageFileShareSnapshotsOutput(ctx *Context, args *GetCloudStorageFileShareSnapshotsOutputArgs, opts ...InvokeOption) GetCloudStorageFileShareSnapshotsResultOutput> Note: This function is named GetCloudStorageFileShareSnapshots in the Go SDK.
public static class GetCloudStorageFileShareSnapshots
{
public static Task<GetCloudStorageFileShareSnapshotsResult> InvokeAsync(GetCloudStorageFileShareSnapshotsArgs args, InvokeOptions? opts = null)
public static Output<GetCloudStorageFileShareSnapshotsResult> Invoke(GetCloudStorageFileShareSnapshotsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCloudStorageFileShareSnapshotsResult> getCloudStorageFileShareSnapshots(GetCloudStorageFileShareSnapshotsArgs args, InvokeOptions options)
public static Output<GetCloudStorageFileShareSnapshotsResult> getCloudStorageFileShareSnapshots(GetCloudStorageFileShareSnapshotsArgs args, InvokeOptions options)
fn::invoke:
function: ovh:index/getCloudStorageFileShareSnapshots:getCloudStorageFileShareSnapshots
arguments:
# arguments dictionarydata "ovh_get_cloud_storage_file_share_snapshots" "name" {
# arguments
}The following arguments are supported:
- Service
Name string - The id of the public cloud project.
- Service
Name string - The id of the public cloud project.
- service_
name string - The id of the public cloud project.
- service
Name String - The id of the public cloud project.
- service
Name string - The id of the public cloud project.
- service_
name str - The id of the public cloud project.
- service
Name String - The id of the public cloud project.
getCloudStorageFileShareSnapshots Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Name string -
List<Get
Cloud Storage File Share Snapshots Share Snapshot> - List of snapshots:
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Name string -
[]Get
Cloud Storage File Share Snapshots Share Snapshot - List of snapshots:
- id string
- The provider-assigned unique ID for this managed resource.
- service_
name string - list(object)
- List of snapshots:
- id String
- The provider-assigned unique ID for this managed resource.
- service
Name String -
List<Get
Cloud Storage File Share Snapshots Share Snapshot> - List of snapshots:
- id string
- The provider-assigned unique ID for this managed resource.
- service
Name string -
Get
Cloud Storage File Share Snapshots Share Snapshot[] - List of snapshots:
- id str
- The provider-assigned unique ID for this managed resource.
- service_
name str -
Sequence[Get
Cloud Storage File Share Snapshots Share Snapshot] - List of snapshots:
- id String
- The provider-assigned unique ID for this managed resource.
- service
Name String - List<Property Map>
- List of snapshots:
Supporting Types
GetCloudStorageFileShareSnapshotsShareSnapshot
- Checksum string
- Computed hash representing the current target specification value.
- Created
At string - Creation date of the snapshot.
- Current
State GetCloud Storage File Share Snapshots Share Snapshot Current State - Current state of the file storage snapshot:
- Description string
- Snapshot description.
- Id string
- Snapshot ID.
- Name string
- Snapshot name.
- Resource
Status string - Snapshot readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - 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 Snapshots Share Snapshot Current State - Current state of the file storage snapshot:
- Description string
- Snapshot description.
- Id string
- Snapshot ID.
- Name string
- Snapshot name.
- Resource
Status string - Snapshot readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - 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
- Snapshot ID.
- name string
- Snapshot name.
- resource_
status string - Snapshot readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - 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 Snapshots Share Snapshot Current State - Current state of the file storage snapshot:
- description String
- Snapshot description.
- id String
- Snapshot ID.
- name String
- Snapshot name.
- resource
Status String - Snapshot readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - 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 Snapshots Share Snapshot Current State - Current state of the file storage snapshot:
- description string
- Snapshot description.
- id string
- Snapshot ID.
- name string
- Snapshot name.
- resource
Status string - Snapshot readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - 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 Snapshots Share Snapshot Current State - Current state of the file storage snapshot:
- description str
- Snapshot description.
- id str
- Snapshot ID.
- name str
- Snapshot name.
- resource_
status str - Snapshot readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - 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
- Snapshot ID.
- name String
- Snapshot name.
- resource
Status String - Snapshot readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - String
- ID of the snapshotted file share.
- updated
At String - Last update date of the snapshot.
GetCloudStorageFileShareSnapshotsShareSnapshotCurrentState
- Description string
- Snapshot description.
- Location
Get
Cloud Storage File Share Snapshots 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 Snapshots 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 Snapshots 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 Snapshots 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 Snapshots 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.
GetCloudStorageFileShareSnapshotsShareSnapshotCurrentStateLocation
- 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