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 share network in a public cloud project.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh";
const network = ovh.getCloudStorageFileShareNetwork({
serviceName: "<public cloud project ID>",
id: "00000000-0000-0000-0000-000000000000",
});
import pulumi
import pulumi_ovh as ovh
network = ovh.get_cloud_storage_file_share_network(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.LookupCloudStorageFileShareNetwork(ctx, &ovh.LookupCloudStorageFileShareNetworkArgs{
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 network = Ovh.GetCloudStorageFileShareNetwork.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.GetCloudStorageFileShareNetworkArgs;
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 network = OvhFunctions.getCloudStorageFileShareNetwork(GetCloudStorageFileShareNetworkArgs.builder()
.serviceName("<public cloud project ID>")
.id("00000000-0000-0000-0000-000000000000")
.build());
}
}
variables:
network:
fn::invoke:
function: ovh:getCloudStorageFileShareNetwork
arguments:
serviceName: <public cloud project ID>
id: 00000000-0000-0000-0000-000000000000
Example coming soon!
Using getCloudStorageFileShareNetwork
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 getCloudStorageFileShareNetwork(args: GetCloudStorageFileShareNetworkArgs, opts?: InvokeOptions): Promise<GetCloudStorageFileShareNetworkResult>
function getCloudStorageFileShareNetworkOutput(args: GetCloudStorageFileShareNetworkOutputArgs, opts?: InvokeOptions): Output<GetCloudStorageFileShareNetworkResult>def get_cloud_storage_file_share_network(id: Optional[str] = None,
service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudStorageFileShareNetworkResult
def get_cloud_storage_file_share_network_output(id: pulumi.Input[Optional[str]] = None,
service_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudStorageFileShareNetworkResult]func LookupCloudStorageFileShareNetwork(ctx *Context, args *LookupCloudStorageFileShareNetworkArgs, opts ...InvokeOption) (*LookupCloudStorageFileShareNetworkResult, error)
func LookupCloudStorageFileShareNetworkOutput(ctx *Context, args *LookupCloudStorageFileShareNetworkOutputArgs, opts ...InvokeOption) LookupCloudStorageFileShareNetworkResultOutput> Note: This function is named LookupCloudStorageFileShareNetwork in the Go SDK.
public static class GetCloudStorageFileShareNetwork
{
public static Task<GetCloudStorageFileShareNetworkResult> InvokeAsync(GetCloudStorageFileShareNetworkArgs args, InvokeOptions? opts = null)
public static Output<GetCloudStorageFileShareNetworkResult> Invoke(GetCloudStorageFileShareNetworkInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCloudStorageFileShareNetworkResult> getCloudStorageFileShareNetwork(GetCloudStorageFileShareNetworkArgs args, InvokeOptions options)
public static Output<GetCloudStorageFileShareNetworkResult> getCloudStorageFileShareNetwork(GetCloudStorageFileShareNetworkArgs args, InvokeOptions options)
fn::invoke:
function: ovh:index/getCloudStorageFileShareNetwork:getCloudStorageFileShareNetwork
arguments:
# arguments dictionarydata "ovh_get_cloud_storage_file_share_network" "name" {
# arguments
}The following arguments are supported:
- Id string
- The ID of the share network.
- Service
Name string - The id of the public cloud project.
- Id string
- The ID of the share network.
- Service
Name string - The id of the public cloud project.
- id string
- The ID of the share network.
- service_
name string - The id of the public cloud project.
- id String
- The ID of the share network.
- service
Name String - The id of the public cloud project.
- id string
- The ID of the share network.
- service
Name string - The id of the public cloud project.
- id str
- The ID of the share network.
- service_
name str - The id of the public cloud project.
- id String
- The ID of the share network.
- service
Name String - The id of the public cloud project.
getCloudStorageFileShareNetwork Result
The following output properties are available:
- 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 Network Current State - Current state of the file storage share network:
- Description string
- Share network description.
- Id string
- Location
Get
Cloud Storage File 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). - Service
Name string - 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 Network Current State - Current state of the file storage share network:
- Description string
- Share network description.
- Id string
- Location
Get
Cloud Storage File 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). - Service
Name string - 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
- 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). - service_
name string - 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 Network Current State - Current state of the file storage share network:
- description String
- Share network description.
- id String
- location
Get
Cloud Storage File 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). - service
Name String - 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 Network Current State - Current state of the file storage share network:
- description string
- Share network description.
- id string
- location
Get
Cloud Storage File 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). - service
Name string - 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 Network Current State - Current state of the file storage share network:
- description str
- Share network description.
- id str
- location
Get
Cloud Storage File 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). - service_
name str - 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
- 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). - service
Name String - subnet
Id String - ID of the subnet.
- updated
At String - Last update date of the share network.
Supporting Types
GetCloudStorageFileShareNetworkCurrentState
- Description string
- Share network description.
- Location
Get
Cloud Storage File 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 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 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 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 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.
GetCloudStorageFileShareNetworkCurrentStateLocation
- 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.
GetCloudStorageFileShareNetworkLocation
- 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