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 share networks in a public cloud project.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh";
const networks = ovh.getCloudStorageFileShareNetworks({
serviceName: "<public cloud project ID>",
});
import pulumi
import pulumi_ovh as ovh
networks = ovh.get_cloud_storage_file_share_networks(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.GetCloudStorageFileShareNetworks(ctx, &ovh.GetCloudStorageFileShareNetworksArgs{
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 networks = Ovh.GetCloudStorageFileShareNetworks.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.GetCloudStorageFileShareNetworksArgs;
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 networks = OvhFunctions.getCloudStorageFileShareNetworks(GetCloudStorageFileShareNetworksArgs.builder()
.serviceName("<public cloud project ID>")
.build());
}
}
variables:
networks:
fn::invoke:
function: ovh:getCloudStorageFileShareNetworks
arguments:
serviceName: <public cloud project ID>
Example coming soon!
Filter the share networks by region:
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh";
const networks = ovh.getCloudStorageFileShareNetworks({
serviceName: "<public cloud project ID>",
region: "GRA9",
});
import pulumi
import pulumi_ovh as ovh
networks = ovh.get_cloud_storage_file_share_networks(service_name="<public cloud project ID>",
region="GRA9")
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.GetCloudStorageFileShareNetworks(ctx, &ovh.GetCloudStorageFileShareNetworksArgs{
ServiceName: "<public cloud project ID>",
Region: pulumi.StringRef("GRA9"),
}, 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 networks = Ovh.GetCloudStorageFileShareNetworks.Invoke(new()
{
ServiceName = "<public cloud project ID>",
Region = "GRA9",
});
});
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.GetCloudStorageFileShareNetworksArgs;
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 networks = OvhFunctions.getCloudStorageFileShareNetworks(GetCloudStorageFileShareNetworksArgs.builder()
.serviceName("<public cloud project ID>")
.region("GRA9")
.build());
}
}
variables:
networks:
fn::invoke:
function: ovh:getCloudStorageFileShareNetworks
arguments:
serviceName: <public cloud project ID>
region: GRA9
Example coming soon!
Using getCloudStorageFileShareNetworks
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 getCloudStorageFileShareNetworks(args: GetCloudStorageFileShareNetworksArgs, opts?: InvokeOptions): Promise<GetCloudStorageFileShareNetworksResult>
function getCloudStorageFileShareNetworksOutput(args: GetCloudStorageFileShareNetworksOutputArgs, opts?: InvokeOptions): Output<GetCloudStorageFileShareNetworksResult>def get_cloud_storage_file_share_networks(region: Optional[str] = None,
service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudStorageFileShareNetworksResult
def get_cloud_storage_file_share_networks_output(region: pulumi.Input[Optional[str]] = None,
service_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudStorageFileShareNetworksResult]func GetCloudStorageFileShareNetworks(ctx *Context, args *GetCloudStorageFileShareNetworksArgs, opts ...InvokeOption) (*GetCloudStorageFileShareNetworksResult, error)
func GetCloudStorageFileShareNetworksOutput(ctx *Context, args *GetCloudStorageFileShareNetworksOutputArgs, opts ...InvokeOption) GetCloudStorageFileShareNetworksResultOutput> Note: This function is named GetCloudStorageFileShareNetworks in the Go SDK.
public static class GetCloudStorageFileShareNetworks
{
public static Task<GetCloudStorageFileShareNetworksResult> InvokeAsync(GetCloudStorageFileShareNetworksArgs args, InvokeOptions? opts = null)
public static Output<GetCloudStorageFileShareNetworksResult> Invoke(GetCloudStorageFileShareNetworksInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCloudStorageFileShareNetworksResult> getCloudStorageFileShareNetworks(GetCloudStorageFileShareNetworksArgs args, InvokeOptions options)
public static Output<GetCloudStorageFileShareNetworksResult> getCloudStorageFileShareNetworks(GetCloudStorageFileShareNetworksArgs args, InvokeOptions options)
fn::invoke:
function: ovh:index/getCloudStorageFileShareNetworks:getCloudStorageFileShareNetworks
arguments:
# arguments dictionarydata "ovh_get_cloud_storage_file_share_networks" "name" {
# arguments
}The following arguments are supported:
- Service
Name string - The id of the public cloud project.
- Region string
- If set, only share networks located in this region are returned.
- Service
Name string - The id of the public cloud project.
- Region string
- If set, only share networks located in this region are returned.
- service_
name string - The id of the public cloud project.
- region string
- If set, only share networks located in this region are returned.
- service
Name String - The id of the public cloud project.
- region String
- If set, only share networks located in this region are returned.
- service
Name string - The id of the public cloud project.
- region string
- If set, only share networks located in this region are returned.
- service_
name str - The id of the public cloud project.
- region str
- If set, only share networks located in this region are returned.
- service
Name String - The id of the public cloud project.
- region String
- If set, only share networks located in this region are returned.
getCloudStorageFileShareNetworks 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 Networks Share Network> - List of share networks:
- Region string
- Region.
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Name string -
[]Get
Cloud Storage File Share Networks Share Network - List of share networks:
- Region string
- Region.
- id string
- The provider-assigned unique ID for this managed resource.
- service_
name string - list(object)
- List of share networks:
- region string
- Region.
- id String
- The provider-assigned unique ID for this managed resource.
- service
Name String -
List<Get
Cloud Storage File Share Networks Share Network> - List of share networks:
- region String
- Region.
- id string
- The provider-assigned unique ID for this managed resource.
- service
Name string -
Get
Cloud Storage File Share Networks Share Network[] - List of share networks:
- region string
- Region.
- id str
- The provider-assigned unique ID for this managed resource.
- service_
name str -
Sequence[Get
Cloud Storage File Share Networks Share Network] - List of share networks:
- region str
- Region.
- id String
- The provider-assigned unique ID for this managed resource.
- service
Name String - List<Property Map>
- List of share networks:
- region String
- Region.
Supporting Types
GetCloudStorageFileShareNetworksShareNetwork
- Checksum string
- Computed hash representing the current target specification value.
- Created
At string - Creation date of the share network.
- Current
State GetCloud Storage File Share Networks Share Network Current State - Current state of the file storage share network:
- Description string
- Share network description.
- Id string
- Share network ID.
- Location
Get
Cloud Storage File Share Networks Share Network Location - Current location:
- Name string
- Share network name.
- Network
Id string - ID of the private network.
- Resource
Status string - Share network readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - Subnet
Id string - ID of the subnet.
- Updated
At string - Last update date of the share network.
- Checksum string
- Computed hash representing the current target specification value.
- Created
At string - Creation date of the share network.
- Current
State GetCloud Storage File Share Networks Share Network Current State - Current state of the file storage share network:
- Description string
- Share network description.
- Id string
- Share network ID.
- Location
Get
Cloud Storage File Share Networks Share Network Location - Current location:
- Name string
- Share network name.
- Network
Id string - ID of the private network.
- Resource
Status string - Share network readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - Subnet
Id string - ID of the subnet.
- Updated
At string - Last update date of the share network.
- checksum string
- Computed hash representing the current target specification value.
- created_
at string - Creation date of the share network.
- current_
state object - Current state of the file storage share network:
- description string
- Share network description.
- id string
- Share network ID.
- location object
- Current location:
- name string
- Share network name.
- network_
id string - ID of the private network.
- resource_
status string - Share network readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - subnet_
id string - ID of the subnet.
- updated_
at string - Last update date of the share network.
- checksum String
- Computed hash representing the current target specification value.
- created
At String - Creation date of the share network.
- current
State GetCloud Storage File Share Networks Share Network Current State - Current state of the file storage share network:
- description String
- Share network description.
- id String
- Share network ID.
- location
Get
Cloud Storage File Share Networks Share Network Location - Current location:
- name String
- Share network name.
- network
Id String - ID of the private network.
- resource
Status String - Share network readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - subnet
Id String - ID of the subnet.
- updated
At String - Last update date of the share network.
- checksum string
- Computed hash representing the current target specification value.
- created
At string - Creation date of the share network.
- current
State GetCloud Storage File Share Networks Share Network Current State - Current state of the file storage share network:
- description string
- Share network description.
- id string
- Share network ID.
- location
Get
Cloud Storage File Share Networks Share Network Location - Current location:
- name string
- Share network name.
- network
Id string - ID of the private network.
- resource
Status string - Share network readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - subnet
Id string - ID of the subnet.
- updated
At string - Last update date of the share network.
- checksum str
- Computed hash representing the current target specification value.
- created_
at str - Creation date of the share network.
- current_
state GetCloud Storage File Share Networks Share Network Current State - Current state of the file storage share network:
- description str
- Share network description.
- id str
- Share network ID.
- location
Get
Cloud Storage File Share Networks Share Network Location - Current location:
- name str
- Share network name.
- network_
id str - ID of the private network.
- resource_
status str - Share network readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - subnet_
id str - ID of the subnet.
- updated_
at str - Last update date of the share network.
- checksum String
- Computed hash representing the current target specification value.
- created
At String - Creation date of the share network.
- current
State Property Map - Current state of the file storage share network:
- description String
- Share network description.
- id String
- Share network ID.
- location Property Map
- Current location:
- name String
- Share network name.
- network
Id String - ID of the private network.
- resource
Status String - Share network readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - subnet
Id String - ID of the subnet.
- updated
At String - Last update date of the share network.
GetCloudStorageFileShareNetworksShareNetworkCurrentState
- Description string
- Share network description.
- Location
Get
Cloud Storage File Share Networks Share Network Current State Location - Current location:
- Name string
- Share network name.
- Network
Id string - ID of the private network.
- Subnet
Id string - ID of the subnet.
- Description string
- Share network description.
- Location
Get
Cloud Storage File Share Networks Share Network Current State Location - Current location:
- Name string
- Share network name.
- Network
Id string - ID of the private network.
- Subnet
Id string - ID of the subnet.
- description string
- Share network description.
- location object
- Current location:
- name string
- Share network name.
- network_
id string - ID of the private network.
- subnet_
id string - ID of the subnet.
- description String
- Share network description.
- location
Get
Cloud Storage File Share Networks Share Network Current State Location - Current location:
- name String
- Share network name.
- network
Id String - ID of the private network.
- subnet
Id String - ID of the subnet.
- description string
- Share network description.
- location
Get
Cloud Storage File Share Networks Share Network Current State Location - Current location:
- name string
- Share network name.
- network
Id string - ID of the private network.
- subnet
Id string - ID of the subnet.
- description str
- Share network description.
- location
Get
Cloud Storage File Share Networks Share Network Current State Location - Current location:
- name str
- Share network name.
- network_
id str - ID of the private network.
- subnet_
id str - ID of the subnet.
- description String
- Share network description.
- location Property Map
- Current location:
- name String
- Share network name.
- network
Id String - ID of the private network.
- subnet
Id String - ID of the subnet.
GetCloudStorageFileShareNetworksShareNetworkCurrentStateLocation
- Availability
Zone string - Availability zone.
- Region string
- If set, only share networks located in this region are returned.
- Availability
Zone string - Availability zone.
- Region string
- If set, only share networks located in this region are returned.
- availability_
zone string - Availability zone.
- region string
- If set, only share networks located in this region are returned.
- availability
Zone String - Availability zone.
- region String
- If set, only share networks located in this region are returned.
- availability
Zone string - Availability zone.
- region string
- If set, only share networks located in this region are returned.
- availability_
zone str - Availability zone.
- region str
- If set, only share networks located in this region are returned.
- availability
Zone String - Availability zone.
- region String
- If set, only share networks located in this region are returned.
GetCloudStorageFileShareNetworksShareNetworkLocation
- Availability
Zone string - Availability zone.
- Region string
- If set, only share networks located in this region are returned.
- Availability
Zone string - Availability zone.
- Region string
- If set, only share networks located in this region are returned.
- availability_
zone string - Availability zone.
- region string
- If set, only share networks located in this region are returned.
- availability
Zone String - Availability zone.
- region String
- If set, only share networks located in this region are returned.
- availability
Zone string - Availability zone.
- region string
- If set, only share networks located in this region are returned.
- availability_
zone str - Availability zone.
- region str
- If set, only share networks located in this region are returned.
- availability
Zone String - Availability zone.
- region String
- If set, only share networks located in this region are returned.
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