Class GetFloatingIp
Inheritance
System.Object
GetFloatingIp
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.OpenStack.Networking
Assembly: Pulumi.OpenStack.dll
Syntax
public static class GetFloatingIp
Methods
View SourceInvokeAsync(GetFloatingIpArgs, InvokeOptions)
Use this data source to get the ID of an available OpenStack floating IP.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using OpenStack = Pulumi.OpenStack;
class MyStack : Stack
{
public MyStack()
{
var floatingip1 = Output.Create(OpenStack.Networking.GetFloatingIp.InvokeAsync(new OpenStack.Networking.GetFloatingIpArgs
{
Address = "192.168.0.4",
}));
}
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetFloatingIpResult> InvokeAsync(GetFloatingIpArgs args = null, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetFloatingIpArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetFloatingIpResult> |