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 floating IPs of a public cloud project.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh";
const ips = ovh.getCloudFloatingIps({
serviceName: "<public cloud project ID>",
});
export const floatingIpAddresses = ips.then(ips => .map(ip => (ip.id)));
import pulumi
import pulumi_ovh as ovh
ips = ovh.get_cloud_floating_ips(service_name="<public cloud project ID>")
pulumi.export("floatingIpAddresses", [ip.id for ip in ips.floating_ips])
Example coming soon!
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ovh = Pulumi.Ovh;
return await Deployment.RunAsync(() =>
{
var ips = Ovh.GetCloudFloatingIps.Invoke(new()
{
ServiceName = "<public cloud project ID>",
});
return new Dictionary<string, object?>
{
["floatingIpAddresses"] = .Select(ip =>
{
return ip.Id;
}).ToList(),
};
});
Example coming soon!
Example coming soon!
Example coming soon!
Using getCloudFloatingIps
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 getCloudFloatingIps(args: GetCloudFloatingIpsArgs, opts?: InvokeOptions): Promise<GetCloudFloatingIpsResult>
function getCloudFloatingIpsOutput(args: GetCloudFloatingIpsOutputArgs, opts?: InvokeOptions): Output<GetCloudFloatingIpsResult>def get_cloud_floating_ips(service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudFloatingIpsResult
def get_cloud_floating_ips_output(service_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudFloatingIpsResult]func GetCloudFloatingIps(ctx *Context, args *GetCloudFloatingIpsArgs, opts ...InvokeOption) (*GetCloudFloatingIpsResult, error)
func GetCloudFloatingIpsOutput(ctx *Context, args *GetCloudFloatingIpsOutputArgs, opts ...InvokeOption) GetCloudFloatingIpsResultOutput> Note: This function is named GetCloudFloatingIps in the Go SDK.
public static class GetCloudFloatingIps
{
public static Task<GetCloudFloatingIpsResult> InvokeAsync(GetCloudFloatingIpsArgs args, InvokeOptions? opts = null)
public static Output<GetCloudFloatingIpsResult> Invoke(GetCloudFloatingIpsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCloudFloatingIpsResult> getCloudFloatingIps(GetCloudFloatingIpsArgs args, InvokeOptions options)
public static Output<GetCloudFloatingIpsResult> getCloudFloatingIps(GetCloudFloatingIpsArgs args, InvokeOptions options)
fn::invoke:
function: ovh:index/getCloudFloatingIps:getCloudFloatingIps
arguments:
# arguments dictionarydata "ovh_get_cloud_floating_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.
getCloudFloatingIps Result
The following output properties are available:
- Floating
Ips List<GetCloud Floating Ips Floating Ip> - List of floating IPs. Each element exports:
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Name string
- Floating
Ips []GetCloud Floating Ips Floating Ip - List of floating IPs. Each element exports:
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Name string
- floating_
ips list(object) - List of floating IPs. Each element exports:
- id string
- The provider-assigned unique ID for this managed resource.
- service_
name string
- floating
Ips List<GetCloud Floating Ips Floating Ip> - List of floating IPs. Each element exports:
- id String
- The provider-assigned unique ID for this managed resource.
- service
Name String
- floating
Ips GetCloud Floating Ips Floating Ip[] - List of floating IPs. Each element exports:
- id string
- The provider-assigned unique ID for this managed resource.
- service
Name string
- floating_
ips Sequence[GetCloud Floating Ips Floating Ip] - List of floating IPs. Each element exports:
- id str
- The provider-assigned unique ID for this managed resource.
- service_
name str
- floating
Ips List<Property Map> - List of floating IPs. Each element exports:
- id String
- The provider-assigned unique ID for this managed resource.
- service
Name String
Supporting Types
GetCloudFloatingIpsFloatingIp
- Checksum string
- Computed hash representing the current target specification value.
- Created
At string - Creation date of the floating IP.
- Current
State GetCloud Floating Ips Floating Ip Current State - Current state of the floating IP:
- Current
Tasks List<GetCloud Floating Ips Floating Ip Current Task> - Ongoing asynchronous tasks related to the floating IP. Each element exports:
- Description string
- Description of the floating IP.
- Id string
- Identifier of the current task.
- Location
Get
Cloud Floating Ips Floating Ip Location - Location details:
- Resource
Status string - Floating IP readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - Updated
At string - Last update date of the floating IP.
- Checksum string
- Computed hash representing the current target specification value.
- Created
At string - Creation date of the floating IP.
- Current
State GetCloud Floating Ips Floating Ip Current State - Current state of the floating IP:
- Current
Tasks []GetCloud Floating Ips Floating Ip Current Task - Ongoing asynchronous tasks related to the floating IP. Each element exports:
- Description string
- Description of the floating IP.
- Id string
- Identifier of the current task.
- Location
Get
Cloud Floating Ips Floating Ip Location - Location details:
- Resource
Status string - Floating IP readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - Updated
At string - Last update date of the floating IP.
- checksum string
- Computed hash representing the current target specification value.
- created_
at string - Creation date of the floating IP.
- current_
state object - Current state of the floating IP:
- current_
tasks list(object) - Ongoing asynchronous tasks related to the floating IP. Each element exports:
- description string
- Description of the floating IP.
- id string
- Identifier of the current task.
- location object
- Location details:
- resource_
status string - Floating IP readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - updated_
at string - Last update date of the floating IP.
- checksum String
- Computed hash representing the current target specification value.
- created
At String - Creation date of the floating IP.
- current
State GetCloud Floating Ips Floating Ip Current State - Current state of the floating IP:
- current
Tasks List<GetCloud Floating Ips Floating Ip Current Task> - Ongoing asynchronous tasks related to the floating IP. Each element exports:
- description String
- Description of the floating IP.
- id String
- Identifier of the current task.
- location
Get
Cloud Floating Ips Floating Ip Location - Location details:
- resource
Status String - Floating IP readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - updated
At String - Last update date of the floating IP.
- checksum string
- Computed hash representing the current target specification value.
- created
At string - Creation date of the floating IP.
- current
State GetCloud Floating Ips Floating Ip Current State - Current state of the floating IP:
- current
Tasks GetCloud Floating Ips Floating Ip Current Task[] - Ongoing asynchronous tasks related to the floating IP. Each element exports:
- description string
- Description of the floating IP.
- id string
- Identifier of the current task.
- location
Get
Cloud Floating Ips Floating Ip Location - Location details:
- resource
Status string - Floating IP readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - updated
At string - Last update date of the floating IP.
- checksum str
- Computed hash representing the current target specification value.
- created_
at str - Creation date of the floating IP.
- current_
state GetCloud Floating Ips Floating Ip Current State - Current state of the floating IP:
- current_
tasks Sequence[GetCloud Floating Ips Floating Ip Current Task] - Ongoing asynchronous tasks related to the floating IP. Each element exports:
- description str
- Description of the floating IP.
- id str
- Identifier of the current task.
- location
Get
Cloud Floating Ips Floating Ip Location - Location details:
- resource_
status str - Floating IP readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - updated_
at str - Last update date of the floating IP.
- checksum String
- Computed hash representing the current target specification value.
- created
At String - Creation date of the floating IP.
- current
State Property Map - Current state of the floating IP:
- current
Tasks List<Property Map> - Ongoing asynchronous tasks related to the floating IP. Each element exports:
- description String
- Description of the floating IP.
- id String
- Identifier of the current task.
- location Property Map
- Location details:
- resource
Status String - Floating IP readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - updated
At String - Last update date of the floating IP.
GetCloudFloatingIpsFloatingIpCurrentState
- Associated
Resource GetCloud Floating Ips Floating Ip Current State Associated Resource - Resource the floating IP is currently attached to. Null when the floating IP is not attached to any resource:
- Description string
- Description of the floating IP.
- Id string
- Identifier of the current task.
- Ip string
- IP address of the floating IP.
- Location
Get
Cloud Floating Ips Floating Ip Current State Location - Location details:
- Network
Get
Cloud Floating Ips Floating Ip Current State Network - External network the floating IP belongs to:
- Status string
- Current global status of the current task.
- Associated
Resource GetCloud Floating Ips Floating Ip Current State Associated Resource - Resource the floating IP is currently attached to. Null when the floating IP is not attached to any resource:
- Description string
- Description of the floating IP.
- Id string
- Identifier of the current task.
- Ip string
- IP address of the floating IP.
- Location
Get
Cloud Floating Ips Floating Ip Current State Location - Location details:
- Network
Get
Cloud Floating Ips Floating Ip Current State Network - External network the floating IP belongs to:
- Status string
- Current global status of the current task.
- associated_
resource object - Resource the floating IP is currently attached to. Null when the floating IP is not attached to any resource:
- description string
- Description of the floating IP.
- id string
- Identifier of the current task.
- ip string
- IP address of the floating IP.
- location object
- Location details:
- network object
- External network the floating IP belongs to:
- status string
- Current global status of the current task.
- associated
Resource GetCloud Floating Ips Floating Ip Current State Associated Resource - Resource the floating IP is currently attached to. Null when the floating IP is not attached to any resource:
- description String
- Description of the floating IP.
- id String
- Identifier of the current task.
- ip String
- IP address of the floating IP.
- location
Get
Cloud Floating Ips Floating Ip Current State Location - Location details:
- network
Get
Cloud Floating Ips Floating Ip Current State Network - External network the floating IP belongs to:
- status String
- Current global status of the current task.
- associated
Resource GetCloud Floating Ips Floating Ip Current State Associated Resource - Resource the floating IP is currently attached to. Null when the floating IP is not attached to any resource:
- description string
- Description of the floating IP.
- id string
- Identifier of the current task.
- ip string
- IP address of the floating IP.
- location
Get
Cloud Floating Ips Floating Ip Current State Location - Location details:
- network
Get
Cloud Floating Ips Floating Ip Current State Network - External network the floating IP belongs to:
- status string
- Current global status of the current task.
- associated_
resource GetCloud Floating Ips Floating Ip Current State Associated Resource - Resource the floating IP is currently attached to. Null when the floating IP is not attached to any resource:
- description str
- Description of the floating IP.
- id str
- Identifier of the current task.
- ip str
- IP address of the floating IP.
- location
Get
Cloud Floating Ips Floating Ip Current State Location - Location details:
- network
Get
Cloud Floating Ips Floating Ip Current State Network - External network the floating IP belongs to:
- status str
- Current global status of the current task.
- associated
Resource Property Map - Resource the floating IP is currently attached to. Null when the floating IP is not attached to any resource:
- description String
- Description of the floating IP.
- id String
- Identifier of the current task.
- ip String
- IP address of the floating IP.
- location Property Map
- Location details:
- network Property Map
- External network the floating IP belongs to:
- status String
- Current global status of the current task.
GetCloudFloatingIpsFloatingIpCurrentStateAssociatedResource
GetCloudFloatingIpsFloatingIpCurrentStateLocation
- 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.
GetCloudFloatingIpsFloatingIpCurrentStateNetwork
- Id string
- Identifier of the current task.
- Id string
- Identifier of the current task.
- id string
- Identifier of the current task.
- id String
- Identifier of the current task.
- id string
- Identifier of the current task.
- id str
- Identifier of the current task.
- id String
- Identifier of the current task.
GetCloudFloatingIpsFloatingIpCurrentTask
GetCloudFloatingIpsFloatingIpCurrentTaskError
- 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.
GetCloudFloatingIpsFloatingIpLocation
- 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