1. Packages
  2. OVH
  3. API Docs
  4. CloudProject
  5. getFloatingIPs
OVHCloud v2.1.1 published on Thursday, Apr 10, 2025 by OVHcloud

ovh.CloudProject.getFloatingIPs

Explore with Pulumi AI

OVHCloud v2.1.1 published on Thursday, Apr 10, 2025 by OVHcloud

Use this data source to get the floating IPs of a public cloud project.

Example Usage

To get information of floating IPs:

Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
variables:
  ips:
    fn::invoke:
      function: ovh:CloudProject:getFloatingIPs
      arguments:
        region: XXXX
        serviceName: YYYY
Copy

Using getFloatingIPs

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 getFloatingIPs(args: GetFloatingIPsArgs, opts?: InvokeOptions): Promise<GetFloatingIPsResult>
function getFloatingIPsOutput(args: GetFloatingIPsOutputArgs, opts?: InvokeOptions): Output<GetFloatingIPsResult>
Copy
def get_floating_ips(region_name: Optional[str] = None,
                     service_name: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetFloatingIPsResult
def get_floating_ips_output(region_name: Optional[pulumi.Input[str]] = None,
                     service_name: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetFloatingIPsResult]
Copy
func GetFloatingIPs(ctx *Context, args *GetFloatingIPsArgs, opts ...InvokeOption) (*GetFloatingIPsResult, error)
func GetFloatingIPsOutput(ctx *Context, args *GetFloatingIPsOutputArgs, opts ...InvokeOption) GetFloatingIPsResultOutput
Copy

> Note: This function is named GetFloatingIPs in the Go SDK.

public static class GetFloatingIPs 
{
    public static Task<GetFloatingIPsResult> InvokeAsync(GetFloatingIPsArgs args, InvokeOptions? opts = null)
    public static Output<GetFloatingIPsResult> Invoke(GetFloatingIPsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetFloatingIPsResult> getFloatingIPs(GetFloatingIPsArgs args, InvokeOptions options)
public static Output<GetFloatingIPsResult> getFloatingIPs(GetFloatingIPsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: ovh:CloudProject/getFloatingIPs:getFloatingIPs
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

RegionName This property is required. string
Public cloud region name
ServiceName This property is required. string
The id of the public cloud project
RegionName This property is required. string
Public cloud region name
ServiceName This property is required. string
The id of the public cloud project
regionName This property is required. String
Public cloud region name
serviceName This property is required. String
The id of the public cloud project
regionName This property is required. string
Public cloud region name
serviceName This property is required. string
The id of the public cloud project
region_name This property is required. str
Public cloud region name
service_name This property is required. str
The id of the public cloud project
regionName This property is required. String
Public cloud region name
serviceName This property is required. String
The id of the public cloud project

getFloatingIPs Result

The following output properties are available:

CloudProjectFloatingips List<GetFloatingIPsCloudProjectFloatingip>
Id string
The provider-assigned unique ID for this managed resource.
RegionName string
Floating IP region
ServiceName string
CloudProjectFloatingips []GetFloatingIPsCloudProjectFloatingip
Id string
The provider-assigned unique ID for this managed resource.
RegionName string
Floating IP region
ServiceName string
cloudProjectFloatingips List<GetFloatingIPsFloatingip>
id String
The provider-assigned unique ID for this managed resource.
regionName String
Floating IP region
serviceName String
cloudProjectFloatingips GetFloatingIPsCloudProjectFloatingip[]
id string
The provider-assigned unique ID for this managed resource.
regionName string
Floating IP region
serviceName string
cloud_project_floatingips Sequence[cloudproject.GetFloatingIPsCloudProjectFloatingip]
id str
The provider-assigned unique ID for this managed resource.
region_name str
Floating IP region
service_name str
cloudProjectFloatingips List<Property Map>
id String
The provider-assigned unique ID for this managed resource.
regionName String
Floating IP region
serviceName String

Supporting Types

GetFloatingIPsCloudProjectFloatingip

AssociatedEntity This property is required. GetFloatingIPsCloudProjectFloatingipAssociatedEntity
Associated entity with the floating IP
Id This property is required. string
ID of the floating IP
Ip This property is required. string
Value of the floating IP
NetworkId This property is required. string
ID of the network
Region This property is required. string
Floating ip region
Status This property is required. string
Status of the floating IP (active┃down┃error)
AssociatedEntity This property is required. GetFloatingIPsCloudProjectFloatingipAssociatedEntity
Associated entity with the floating IP
Id This property is required. string
ID of the floating IP
Ip This property is required. string
Value of the floating IP
NetworkId This property is required. string
ID of the network
Region This property is required. string
Floating ip region
Status This property is required. string
Status of the floating IP (active┃down┃error)
associatedEntity This property is required. GetFloatingIPsFloatingipAssociatedEntity
Associated entity with the floating IP
id This property is required. String
ID of the floating IP
ip This property is required. String
Value of the floating IP
networkId This property is required. String
ID of the network
region This property is required. String
Floating ip region
status This property is required. String
Status of the floating IP (active┃down┃error)
associatedEntity This property is required. GetFloatingIPsCloudProjectFloatingipAssociatedEntity
Associated entity with the floating IP
id This property is required. string
ID of the floating IP
ip This property is required. string
Value of the floating IP
networkId This property is required. string
ID of the network
region This property is required. string
Floating ip region
status This property is required. string
Status of the floating IP (active┃down┃error)
associated_entity This property is required. cloudproject.GetFloatingIPsCloudProjectFloatingipAssociatedEntity
Associated entity with the floating IP
id This property is required. str
ID of the floating IP
ip This property is required. str
Value of the floating IP
network_id This property is required. str
ID of the network
region This property is required. str
Floating ip region
status This property is required. str
Status of the floating IP (active┃down┃error)
associatedEntity This property is required. Property Map
Associated entity with the floating IP
id This property is required. String
ID of the floating IP
ip This property is required. String
Value of the floating IP
networkId This property is required. String
ID of the network
region This property is required. String
Floating ip region
status This property is required. String
Status of the floating IP (active┃down┃error)

GetFloatingIPsCloudProjectFloatingipAssociatedEntity

GatewayId This property is required. string
ID of the gateway
Id This property is required. string
ID of the floating IP
Ip This property is required. string
Value of the floating IP
Type This property is required. string
Type of the port (dhcp┃instance┃loadbalancer┃routerInterface┃unknown)
GatewayId This property is required. string
ID of the gateway
Id This property is required. string
ID of the floating IP
Ip This property is required. string
Value of the floating IP
Type This property is required. string
Type of the port (dhcp┃instance┃loadbalancer┃routerInterface┃unknown)
gatewayId This property is required. String
ID of the gateway
id This property is required. String
ID of the floating IP
ip This property is required. String
Value of the floating IP
type This property is required. String
Type of the port (dhcp┃instance┃loadbalancer┃routerInterface┃unknown)
gatewayId This property is required. string
ID of the gateway
id This property is required. string
ID of the floating IP
ip This property is required. string
Value of the floating IP
type This property is required. string
Type of the port (dhcp┃instance┃loadbalancer┃routerInterface┃unknown)
gateway_id This property is required. str
ID of the gateway
id This property is required. str
ID of the floating IP
ip This property is required. str
Value of the floating IP
type This property is required. str
Type of the port (dhcp┃instance┃loadbalancer┃routerInterface┃unknown)
gatewayId This property is required. String
ID of the gateway
id This property is required. String
ID of the floating IP
ip This property is required. String
Value of the floating IP
type This property is required. String
Type of the port (dhcp┃instance┃loadbalancer┃routerInterface┃unknown)

Package Details

Repository
ovh ovh/pulumi-ovh
License
Apache-2.0
Notes
This Pulumi package is based on the ovh Terraform Provider.
OVHCloud v2.1.1 published on Thursday, Apr 10, 2025 by OVHcloud