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:
- RegionName string
- Public cloud region name
- ServiceName string
- The id of the public cloud project
- RegionName string
- Public cloud region name
- ServiceName string
- The id of the public cloud project
- regionName String
- Public cloud region name
- serviceName String
- The id of the public cloud project
- regionName string
- Public cloud region name
- serviceName 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
- regionName String
- Public cloud region name
- serviceName String
- The id of the public cloud project
getFloatingIPs Result
The following output properties are available:
- CloudProject List<GetFloatingips Floating IPs Cloud Project Floatingip> 
- Id string
- The provider-assigned unique ID for this managed resource.
- RegionName string
- Floating IP region
- ServiceName string
- CloudProject []GetFloatingips Floating IPs Cloud Project Floatingip 
- Id string
- The provider-assigned unique ID for this managed resource.
- RegionName string
- Floating IP region
- ServiceName string
- cloudProject List<GetFloatingips Floating IPs Floatingip> 
- id String
- The provider-assigned unique ID for this managed resource.
- regionName String
- Floating IP region
- serviceName String
- cloudProject GetFloatingips Floating IPs Cloud Project Floatingip[] 
- id string
- The provider-assigned unique ID for this managed resource.
- regionName string
- Floating IP region
- serviceName 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
- cloudProject List<Property Map>Floatingips 
- id String
- The provider-assigned unique ID for this managed resource.
- regionName String
- Floating IP region
- serviceName String
Supporting Types
GetFloatingIPsCloudProjectFloatingip     
- AssociatedEntity 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
- NetworkId string
- ID of the network
- Region string
- Floating ip region
- Status string
- Status of the floating IP (active┃down┃error)
- AssociatedEntity 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
- NetworkId string
- ID of the network
- Region string
- Floating ip region
- Status string
- Status of the floating IP (active┃down┃error)
- associatedEntity 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
- networkId String
- ID of the network
- region String
- Floating ip region
- status String
- Status of the floating IP (active┃down┃error)
- associatedEntity 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
- networkId 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)
- associatedEntity Property Map
- Associated entity with the floating IP
- id String
- ID of the floating IP
- ip String
- Value of the floating IP
- networkId 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.