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 external network IPs of a public cloud project. External network IPs are created and deleted through the lifecycle of other products (typically instances attached to the public network), so this data source is a read-only view.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh";
const ips = ovh.getCloudExtNetIps({
serviceName: "<public cloud project ID>",
});
export const extNetIpAddresses = ips.then(ips => .map(ip => (ip.id)));
import pulumi
import pulumi_ovh as ovh
ips = ovh.get_cloud_ext_net_ips(service_name="<public cloud project ID>")
pulumi.export("extNetIpAddresses", [ip.id for ip in ips.ext_net_ips])
Example coming soon!
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ovh = Pulumi.Ovh;
return await Deployment.RunAsync(() =>
{
var ips = Ovh.GetCloudExtNetIps.Invoke(new()
{
ServiceName = "<public cloud project ID>",
});
return new Dictionary<string, object?>
{
["extNetIpAddresses"] = .Select(ip =>
{
return ip.Id;
}).ToList(),
};
});
Example coming soon!
Example coming soon!
Example coming soon!
Using getCloudExtNetIps
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 getCloudExtNetIps(args: GetCloudExtNetIpsArgs, opts?: InvokeOptions): Promise<GetCloudExtNetIpsResult>
function getCloudExtNetIpsOutput(args: GetCloudExtNetIpsOutputArgs, opts?: InvokeOptions): Output<GetCloudExtNetIpsResult>def get_cloud_ext_net_ips(service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudExtNetIpsResult
def get_cloud_ext_net_ips_output(service_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudExtNetIpsResult]func GetCloudExtNetIps(ctx *Context, args *GetCloudExtNetIpsArgs, opts ...InvokeOption) (*GetCloudExtNetIpsResult, error)
func GetCloudExtNetIpsOutput(ctx *Context, args *GetCloudExtNetIpsOutputArgs, opts ...InvokeOption) GetCloudExtNetIpsResultOutput> Note: This function is named GetCloudExtNetIps in the Go SDK.
public static class GetCloudExtNetIps
{
public static Task<GetCloudExtNetIpsResult> InvokeAsync(GetCloudExtNetIpsArgs args, InvokeOptions? opts = null)
public static Output<GetCloudExtNetIpsResult> Invoke(GetCloudExtNetIpsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCloudExtNetIpsResult> getCloudExtNetIps(GetCloudExtNetIpsArgs args, InvokeOptions options)
public static Output<GetCloudExtNetIpsResult> getCloudExtNetIps(GetCloudExtNetIpsArgs args, InvokeOptions options)
fn::invoke:
function: ovh:index/getCloudExtNetIps:getCloudExtNetIps
arguments:
# arguments dictionarydata "ovh_get_cloud_ext_net_ips" "name" {
# arguments
}The following arguments are supported:
- Service
Name string - Service name of the resource representing the id of the cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- Service
Name string - Service name of the resource representing the id of the cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- service_
name string - Service name of the resource representing the id of the cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- service
Name String - Service name of the resource representing the id of the cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- service
Name string - Service name of the resource representing the id of the cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- service_
name str - Service name of the resource representing the id of the cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- service
Name String - Service name of the resource representing the id of the cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
getCloudExtNetIps Result
The following output properties are available:
- Ext
Net List<GetIps Cloud Ext Net Ips Ext Net Ip> - List of external network IPs. Each element exports:
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Name string
- Ext
Net []GetIps Cloud Ext Net Ips Ext Net Ip - List of external network IPs. Each element exports:
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Name string
- ext_
net_ list(object)ips - List of external network IPs. Each element exports:
- id string
- The provider-assigned unique ID for this managed resource.
- service_
name string
- ext
Net List<GetIps Cloud Ext Net Ips Ext Net Ip> - List of external network IPs. Each element exports:
- id String
- The provider-assigned unique ID for this managed resource.
- service
Name String
- ext
Net GetIps Cloud Ext Net Ips Ext Net Ip[] - List of external network IPs. Each element exports:
- id string
- The provider-assigned unique ID for this managed resource.
- service
Name string
- ext_
net_ Sequence[Getips Cloud Ext Net Ips Ext Net Ip] - List of external network IPs. Each element exports:
- id str
- The provider-assigned unique ID for this managed resource.
- service_
name str
- ext
Net List<Property Map>Ips - List of external network IPs. Each element exports:
- id String
- The provider-assigned unique ID for this managed resource.
- service
Name String
Supporting Types
GetCloudExtNetIpsExtNetIp
- Checksum string
- Checksum field of the API envelope. Always empty for this read-only IP type.
- Created
At string - Creation date of the external network IP.
- Current
State GetCloud Ext Net Ips Ext Net Ip Current State - Current state of the external network IP:
- Current
Tasks List<GetCloud Ext Net Ips Ext Net Ip Current Task> - Ongoing asynchronous tasks related to the external network IP. Each element exports:
- Id string
- Identifier of the current task.
- Resource
Status string - External network IP readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - Updated
At string - Last update date of the external network IP.
- Checksum string
- Checksum field of the API envelope. Always empty for this read-only IP type.
- Created
At string - Creation date of the external network IP.
- Current
State GetCloud Ext Net Ips Ext Net Ip Current State - Current state of the external network IP:
- Current
Tasks []GetCloud Ext Net Ips Ext Net Ip Current Task - Ongoing asynchronous tasks related to the external network IP. Each element exports:
- Id string
- Identifier of the current task.
- Resource
Status string - External network IP readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - Updated
At string - Last update date of the external network IP.
- checksum string
- Checksum field of the API envelope. Always empty for this read-only IP type.
- created_
at string - Creation date of the external network IP.
- current_
state object - Current state of the external network IP:
- current_
tasks list(object) - Ongoing asynchronous tasks related to the external network IP. Each element exports:
- id string
- Identifier of the current task.
- resource_
status string - External network IP readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - updated_
at string - Last update date of the external network IP.
- checksum String
- Checksum field of the API envelope. Always empty for this read-only IP type.
- created
At String - Creation date of the external network IP.
- current
State GetCloud Ext Net Ips Ext Net Ip Current State - Current state of the external network IP:
- current
Tasks List<GetCloud Ext Net Ips Ext Net Ip Current Task> - Ongoing asynchronous tasks related to the external network IP. Each element exports:
- id String
- Identifier of the current task.
- resource
Status String - External network IP readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - updated
At String - Last update date of the external network IP.
- checksum string
- Checksum field of the API envelope. Always empty for this read-only IP type.
- created
At string - Creation date of the external network IP.
- current
State GetCloud Ext Net Ips Ext Net Ip Current State - Current state of the external network IP:
- current
Tasks GetCloud Ext Net Ips Ext Net Ip Current Task[] - Ongoing asynchronous tasks related to the external network IP. Each element exports:
- id string
- Identifier of the current task.
- resource
Status string - External network IP readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - updated
At string - Last update date of the external network IP.
- checksum str
- Checksum field of the API envelope. Always empty for this read-only IP type.
- created_
at str - Creation date of the external network IP.
- current_
state GetCloud Ext Net Ips Ext Net Ip Current State - Current state of the external network IP:
- current_
tasks Sequence[GetCloud Ext Net Ips Ext Net Ip Current Task] - Ongoing asynchronous tasks related to the external network IP. Each element exports:
- id str
- Identifier of the current task.
- resource_
status str - External network IP readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - updated_
at str - Last update date of the external network IP.
- checksum String
- Checksum field of the API envelope. Always empty for this read-only IP type.
- created
At String - Creation date of the external network IP.
- current
State Property Map - Current state of the external network IP:
- current
Tasks List<Property Map> - Ongoing asynchronous tasks related to the external network IP. Each element exports:
- id String
- Identifier of the current task.
- resource
Status String - External network IP readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - updated
At String - Last update date of the external network IP.
GetCloudExtNetIpsExtNetIpCurrentState
- Associated
Resource GetCloud Ext Net Ips Ext Net Ip Current State Associated Resource - Resource the external network IP is currently attached to. Null when the IP is not attached to any resource:
- Id string
- Identifier of the current task.
- Ip string
- IP address of the external network IP.
- Location
Get
Cloud Ext Net Ips Ext Net Ip Current State Location - Location details:
- Associated
Resource GetCloud Ext Net Ips Ext Net Ip Current State Associated Resource - Resource the external network IP is currently attached to. Null when the IP is not attached to any resource:
- Id string
- Identifier of the current task.
- Ip string
- IP address of the external network IP.
- Location
Get
Cloud Ext Net Ips Ext Net Ip Current State Location - Location details:
- associated
Resource GetCloud Ext Net Ips Ext Net Ip Current State Associated Resource - Resource the external network IP is currently attached to. Null when the IP is not attached to any resource:
- id String
- Identifier of the current task.
- ip String
- IP address of the external network IP.
- location
Get
Cloud Ext Net Ips Ext Net Ip Current State Location - Location details:
- associated
Resource GetCloud Ext Net Ips Ext Net Ip Current State Associated Resource - Resource the external network IP is currently attached to. Null when the IP is not attached to any resource:
- id string
- Identifier of the current task.
- ip string
- IP address of the external network IP.
- location
Get
Cloud Ext Net Ips Ext Net Ip Current State Location - Location details:
- associated_
resource GetCloud Ext Net Ips Ext Net Ip Current State Associated Resource - Resource the external network IP is currently attached to. Null when the IP is not attached to any resource:
- id str
- Identifier of the current task.
- ip str
- IP address of the external network IP.
- location
Get
Cloud Ext Net Ips Ext Net Ip Current State Location - Location details:
- associated
Resource Property Map - Resource the external network IP is currently attached to. Null when the IP is not attached to any resource:
- id String
- Identifier of the current task.
- ip String
- IP address of the external network IP.
- location Property Map
- Location details:
GetCloudExtNetIpsExtNetIpCurrentStateAssociatedResource
GetCloudExtNetIpsExtNetIpCurrentStateLocation
- 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.
GetCloudExtNetIpsExtNetIpCurrentTask
GetCloudExtNetIpsExtNetIpCurrentTaskError
- Message string
- Error description.
- Message string
- Error description.
- message string
- Error description.
- message String
- Error description.
- message string
- Error description.
- message str
- Error description.
- message String
- Error description.
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