OVHCloud v2.0.7 published on Wednesday, Mar 19, 2025 by OVHcloud
ovh.CloudProject.getFloatingIPs
Explore with Pulumi AI
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!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ovh.CloudProject.CloudProjectFunctions;
import com.pulumi.ovh.CloudProject.inputs.GetFloatingIPsArgs;
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 ips = CloudProjectFunctions.getFloatingIPs(GetFloatingIPsArgs.builder()
            .region("XXXX")
            .serviceName("YYYY")
            .build());
    }
}
variables:
  ips:
    fn::invoke:
      function: ovh:CloudProject:getFloatingIPs
      arguments:
        region: XXXX
        serviceName: YYYY
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>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]func GetFloatingIPs(ctx *Context, args *GetFloatingIPsArgs, opts ...InvokeOption) (*GetFloatingIPsResult, error)
func GetFloatingIPsOutput(ctx *Context, args *GetFloatingIPsOutputArgs, opts ...InvokeOption) GetFloatingIPsResultOutput> 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)
}public static CompletableFuture<GetFloatingIPsResult> getFloatingIPs(GetFloatingIPsArgs args, InvokeOptions options)
public static Output<GetFloatingIPsResult> getFloatingIPs(GetFloatingIPsArgs args, InvokeOptions options)
fn::invoke:
  function: ovh:CloudProject/getFloatingIPs:getFloatingIPs
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Region
Name string - Public cloud region name
 - Service
Name string - The id of the public cloud project
 
- Region
Name string - Public cloud region name
 - Service
Name string - The id of the public cloud project
 
- region
Name String - Public cloud region name
 - service
Name String - The id of the public cloud project
 
- region
Name string - Public cloud region name
 - service
Name string - The id of the public cloud project
 
- region_
name str - Public cloud region name
 - service_
name str - The id of the public cloud project
 
- region
Name String - Public cloud region name
 - service
Name String - The id of the public cloud project
 
getFloatingIPs Result
The following output properties are available:
- Cloud
Project List<GetFloatingips Floating IPs Cloud Project Floatingip>  - Id string
 - The provider-assigned unique ID for this managed resource.
 - Region
Name string - Floating IP region
 - Service
Name string 
- Cloud
Project []GetFloatingips Floating IPs Cloud Project Floatingip  - Id string
 - The provider-assigned unique ID for this managed resource.
 - Region
Name string - Floating IP region
 - Service
Name string 
- cloud
Project List<GetFloatingips Floating IPs Floatingip>  - id String
 - The provider-assigned unique ID for this managed resource.
 - region
Name String - Floating IP region
 - service
Name String 
- cloud
Project GetFloatingips Floating IPs Cloud Project Floatingip[]  - id string
 - The provider-assigned unique ID for this managed resource.
 - region
Name string - Floating IP region
 - service
Name string 
- cloud_
project_ Sequence[cloudproject.floatingips Get Floating IPs Cloud Project Floatingip]  - id str
 - The provider-assigned unique ID for this managed resource.
 - region_
name str - Floating IP region
 - service_
name str 
- cloud
Project List<Property Map>Floatingips  - id String
 - The provider-assigned unique ID for this managed resource.
 - region
Name String - Floating IP region
 - service
Name String 
Supporting Types
GetFloatingIPsCloudProjectFloatingip     
- Associated
Entity GetFloating IPs Cloud Project Floatingip Associated Entity  - Associated entity with the floating IP
 - Id string
 - ID of the floating IP
 - Ip string
 - Value of the floating IP
 - Network
Id string - ID of the network
 - Region string
 - Floating ip region
 - Status string
 - Status of the floating IP (active┃down┃error)
 
- Associated
Entity GetFloating IPs Cloud Project Floatingip Associated Entity  - Associated entity with the floating IP
 - Id string
 - ID of the floating IP
 - Ip string
 - Value of the floating IP
 - Network
Id string - ID of the network
 - Region string
 - Floating ip region
 - Status string
 - Status of the floating IP (active┃down┃error)
 
- associated
Entity GetFloating IPs Floatingip Associated Entity  - Associated entity with the floating IP
 - id String
 - ID of the floating IP
 - ip String
 - Value of the floating IP
 - network
Id String - ID of the network
 - region String
 - Floating ip region
 - status String
 - Status of the floating IP (active┃down┃error)
 
- associated
Entity GetFloating IPs Cloud Project Floatingip Associated Entity  - Associated entity with the floating IP
 - id string
 - ID of the floating IP
 - ip string
 - Value of the floating IP
 - network
Id string - ID of the network
 - region string
 - Floating ip region
 - status string
 - Status of the floating IP (active┃down┃error)
 
- associated_
entity cloudproject.Get Floating IPs Cloud Project Floatingip Associated Entity  - Associated entity with the floating IP
 - id str
 - ID of the floating IP
 - ip str
 - Value of the floating IP
 - network_
id str - ID of the network
 - region str
 - Floating ip region
 - status str
 - Status of the floating IP (active┃down┃error)
 
- associated
Entity Property Map - Associated entity with the floating IP
 - id String
 - ID of the floating IP
 - ip String
 - Value of the floating IP
 - network
Id String - ID of the network
 - region String
 - Floating ip region
 - status String
 - Status of the floating IP (active┃down┃error)
 
GetFloatingIPsCloudProjectFloatingipAssociatedEntity       
- gateway_
id str - ID of the gateway
 - id str
 - ID of the floating IP
 - ip str
 - Value of the floating IP
 - type str
 - 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 
ovhTerraform Provider.