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
Use this data source to list the private networks (vRack) of a public cloud project.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh";
const networks = ovh.getCloudNetworkPrivateVracks({
serviceName: "<public cloud project ID>",
});
export const networkNames = networks.then(networks => .map(n => (n.name)));
import pulumi
import pulumi_ovh as ovh
networks = ovh.get_cloud_network_private_vracks(service_name="<public cloud project ID>")
pulumi.export("networkNames", [n.name for n in networks.networks])
Example coming soon!
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ovh = Pulumi.Ovh;
return await Deployment.RunAsync(() =>
{
var networks = Ovh.GetCloudNetworkPrivateVracks.Invoke(new()
{
ServiceName = "<public cloud project ID>",
});
return new Dictionary<string, object?>
{
["networkNames"] = .Select(n =>
{
return n.Name;
}).ToList(),
};
});
Example coming soon!
Example coming soon!
Example coming soon!
Using getCloudNetworkPrivateVracks
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 getCloudNetworkPrivateVracks(args: GetCloudNetworkPrivateVracksArgs, opts?: InvokeOptions): Promise<GetCloudNetworkPrivateVracksResult>
function getCloudNetworkPrivateVracksOutput(args: GetCloudNetworkPrivateVracksOutputArgs, opts?: InvokeOptions): Output<GetCloudNetworkPrivateVracksResult>def get_cloud_network_private_vracks(service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudNetworkPrivateVracksResult
def get_cloud_network_private_vracks_output(service_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudNetworkPrivateVracksResult]func GetCloudNetworkPrivateVracks(ctx *Context, args *GetCloudNetworkPrivateVracksArgs, opts ...InvokeOption) (*GetCloudNetworkPrivateVracksResult, error)
func GetCloudNetworkPrivateVracksOutput(ctx *Context, args *GetCloudNetworkPrivateVracksOutputArgs, opts ...InvokeOption) GetCloudNetworkPrivateVracksResultOutput> Note: This function is named GetCloudNetworkPrivateVracks in the Go SDK.
public static class GetCloudNetworkPrivateVracks
{
public static Task<GetCloudNetworkPrivateVracksResult> InvokeAsync(GetCloudNetworkPrivateVracksArgs args, InvokeOptions? opts = null)
public static Output<GetCloudNetworkPrivateVracksResult> Invoke(GetCloudNetworkPrivateVracksInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCloudNetworkPrivateVracksResult> getCloudNetworkPrivateVracks(GetCloudNetworkPrivateVracksArgs args, InvokeOptions options)
public static Output<GetCloudNetworkPrivateVracksResult> getCloudNetworkPrivateVracks(GetCloudNetworkPrivateVracksArgs args, InvokeOptions options)
fn::invoke:
function: ovh:index/getCloudNetworkPrivateVracks:getCloudNetworkPrivateVracks
arguments:
# arguments dictionarydata "ovh_get_cloud_network_private_vracks" "name" {
# arguments
}The following arguments are supported:
- Service
Name string - Service name of the resource representing the id of the cloud project.
- Service
Name string - Service name of the resource representing the id of the cloud project.
- service_
name string - Service name of the resource representing the id of the cloud project.
- service
Name String - Service name of the resource representing the id of the cloud project.
- service
Name string - Service name of the resource representing the id of the cloud project.
- service_
name str - Service name of the resource representing the id of the cloud project.
- service
Name String - Service name of the resource representing the id of the cloud project.
getCloudNetworkPrivateVracks Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Networks
List<Get
Cloud Network Private Vracks Network> - List of private networks. Each element exports:
- Service
Name string
- Id string
- The provider-assigned unique ID for this managed resource.
- Networks
[]Get
Cloud Network Private Vracks Network - List of private networks. Each element exports:
- Service
Name string
- id string
- The provider-assigned unique ID for this managed resource.
- networks list(object)
- List of private networks. Each element exports:
- service_
name string
- id String
- The provider-assigned unique ID for this managed resource.
- networks
List<Get
Cloud Network Private Vracks Network> - List of private networks. Each element exports:
- service
Name String
- id string
- The provider-assigned unique ID for this managed resource.
- networks
Get
Cloud Network Private Vracks Network[] - List of private networks. Each element exports:
- service
Name string
- id str
- The provider-assigned unique ID for this managed resource.
- networks
Sequence[Get
Cloud Network Private Vracks Network] - List of private networks. Each element exports:
- service_
name str
- id String
- The provider-assigned unique ID for this managed resource.
- networks List<Property Map>
- List of private networks. Each element exports:
- service
Name String
Supporting Types
GetCloudNetworkPrivateVracksNetwork
- Checksum string
- Computed hash representing the current target specification value.
- Created
At string - Creation date of the network.
- Current
State GetCloud Network Private Vracks Network Current State - Current state of the network:
- Description string
- Network description.
- Id string
- Network ID.
- Location
Get
Cloud Network Private Vracks Network Location - Location details:
- Name string
- Network name.
- Resource
Status string - Network readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - Updated
At string - Last update date of the network.
- Vlan
Id double - VLAN ID of the network.
- Checksum string
- Computed hash representing the current target specification value.
- Created
At string - Creation date of the network.
- Current
State GetCloud Network Private Vracks Network Current State - Current state of the network:
- Description string
- Network description.
- Id string
- Network ID.
- Location
Get
Cloud Network Private Vracks Network Location - Location details:
- Name string
- Network name.
- Resource
Status string - Network readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - Updated
At string - Last update date of the network.
- Vlan
Id float64 - VLAN ID of the network.
- checksum string
- Computed hash representing the current target specification value.
- created_
at string - Creation date of the network.
- current_
state object - Current state of the network:
- description string
- Network description.
- id string
- Network ID.
- location object
- Location details:
- name string
- Network name.
- resource_
status string - Network readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - updated_
at string - Last update date of the network.
- vlan_
id number - VLAN ID of the network.
- checksum String
- Computed hash representing the current target specification value.
- created
At String - Creation date of the network.
- current
State GetCloud Network Private Vracks Network Current State - Current state of the network:
- description String
- Network description.
- id String
- Network ID.
- location
Get
Cloud Network Private Vracks Network Location - Location details:
- name String
- Network name.
- resource
Status String - Network readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - updated
At String - Last update date of the network.
- vlan
Id Double - VLAN ID of the network.
- checksum string
- Computed hash representing the current target specification value.
- created
At string - Creation date of the network.
- current
State GetCloud Network Private Vracks Network Current State - Current state of the network:
- description string
- Network description.
- id string
- Network ID.
- location
Get
Cloud Network Private Vracks Network Location - Location details:
- name string
- Network name.
- resource
Status string - Network readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - updated
At string - Last update date of the network.
- vlan
Id number - VLAN ID of the network.
- checksum str
- Computed hash representing the current target specification value.
- created_
at str - Creation date of the network.
- current_
state GetCloud Network Private Vracks Network Current State - Current state of the network:
- description str
- Network description.
- id str
- Network ID.
- location
Get
Cloud Network Private Vracks Network Location - Location details:
- name str
- Network name.
- resource_
status str - Network readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - updated_
at str - Last update date of the network.
- vlan_
id float - VLAN ID of the network.
- checksum String
- Computed hash representing the current target specification value.
- created
At String - Creation date of the network.
- current
State Property Map - Current state of the network:
- description String
- Network description.
- id String
- Network ID.
- location Property Map
- Location details:
- name String
- Network name.
- resource
Status String - Network readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - updated
At String - Last update date of the network.
- vlan
Id Number - VLAN ID of the network.
GetCloudNetworkPrivateVracksNetworkCurrentState
- Description string
- Network description.
- Location
Get
Cloud Network Private Vracks Network Current State Location - Location details:
- Name string
- Network name.
- Vlan
Id double - VLAN ID of the network.
- Description string
- Network description.
- Location
Get
Cloud Network Private Vracks Network Current State Location - Location details:
- Name string
- Network name.
- Vlan
Id float64 - VLAN ID of the network.
- description string
- Network description.
- location object
- Location details:
- name string
- Network name.
- vlan_
id number - VLAN ID of the network.
- description String
- Network description.
- location
Get
Cloud Network Private Vracks Network Current State Location - Location details:
- name String
- Network name.
- vlan
Id Double - VLAN ID of the network.
- description string
- Network description.
- location
Get
Cloud Network Private Vracks Network Current State Location - Location details:
- name string
- Network name.
- vlan
Id number - VLAN ID of the network.
- description str
- Network description.
- location
Get
Cloud Network Private Vracks Network Current State Location - Location details:
- name str
- Network name.
- vlan_
id float - VLAN ID of the network.
- description String
- Network description.
- location Property Map
- Location details:
- name String
- Network name.
- vlan
Id Number - VLAN ID of the network.
GetCloudNetworkPrivateVracksNetworkCurrentStateLocation
- Region string
- Region code.
- Region string
- Region code.
- region string
- Region code.
- region String
- Region code.
- region string
- Region code.
- region str
- Region code.
- region String
- Region code.
GetCloudNetworkPrivateVracksNetworkLocation
- Region string
- Region code.
- Region string
- Region code.
- region string
- Region code.
- region String
- Region code.
- region string
- Region code.
- region str
- Region code.
- region String
- Region code.
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