Scaleway v1.15.0 published on Tuesday, Jul 30, 2024 by pulumiverse
scaleway.getFlexibleIp
Explore with Pulumi AI
Gets information about a Flexible IP.
Example Usage
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.scaleway.ScalewayFunctions;
import com.pulumi.scaleway.inputs.GetFlexibleIpArgs;
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 myIp = ScalewayFunctions.getFlexibleIp(GetFlexibleIpArgs.builder()
.ipId("11111111-1111-1111-1111-111111111111")
.build());
}
}
variables:
myIp:
fn::invoke:
Function: scaleway:getFlexibleIp
Arguments:
ipId: 11111111-1111-1111-1111-111111111111
Using getFlexibleIp
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 getFlexibleIp(args: GetFlexibleIpArgs, opts?: InvokeOptions): Promise<GetFlexibleIpResult>
function getFlexibleIpOutput(args: GetFlexibleIpOutputArgs, opts?: InvokeOptions): Output<GetFlexibleIpResult>
def get_flexible_ip(flexible_ip_id: Optional[str] = None,
ip_address: Optional[str] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFlexibleIpResult
def get_flexible_ip_output(flexible_ip_id: Optional[pulumi.Input[str]] = None,
ip_address: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFlexibleIpResult]
func LookupFlexibleIp(ctx *Context, args *LookupFlexibleIpArgs, opts ...InvokeOption) (*LookupFlexibleIpResult, error)
func LookupFlexibleIpOutput(ctx *Context, args *LookupFlexibleIpOutputArgs, opts ...InvokeOption) LookupFlexibleIpResultOutput
> Note: This function is named LookupFlexibleIp
in the Go SDK.
public static class GetFlexibleIp
{
public static Task<GetFlexibleIpResult> InvokeAsync(GetFlexibleIpArgs args, InvokeOptions? opts = null)
public static Output<GetFlexibleIpResult> Invoke(GetFlexibleIpInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFlexibleIpResult> getFlexibleIp(GetFlexibleIpArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: scaleway:index/getFlexibleIp:getFlexibleIp
arguments:
# arguments dictionary
The following arguments are supported:
- Flexible
Ip stringId - Ip
Address string - The IP address.
Only one of
ip_address
andip_id
should be specified. - Project
Id string - (Defaults to provider
project_id
) The ID of the project the IP is in.
- Flexible
Ip stringId - Ip
Address string - The IP address.
Only one of
ip_address
andip_id
should be specified. - Project
Id string - (Defaults to provider
project_id
) The ID of the project the IP is in.
- flexible
Ip StringId - ip
Address String - The IP address.
Only one of
ip_address
andip_id
should be specified. - project
Id String - (Defaults to provider
project_id
) The ID of the project the IP is in.
- flexible
Ip stringId - ip
Address string - The IP address.
Only one of
ip_address
andip_id
should be specified. - project
Id string - (Defaults to provider
project_id
) The ID of the project the IP is in.
- flexible_
ip_ strid - ip_
address str - The IP address.
Only one of
ip_address
andip_id
should be specified. - project_
id str - (Defaults to provider
project_id
) The ID of the project the IP is in.
- flexible
Ip StringId - ip
Address String - The IP address.
Only one of
ip_address
andip_id
should be specified. - project
Id String - (Defaults to provider
project_id
) The ID of the project the IP is in.
getFlexibleIp Result
The following output properties are available:
- Created
At string - Description string
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Ipv6 bool - Organization
Id string - (Defaults to provider
organization_id
) The ID of the organization the IP is in. - Project
Id string - (Defaults to provider
project_id
) The ID of the project the IP is in. - Reverse string
- The reverse domain associated with this IP.
- Server
Id string - The associated server ID if any
- Status string
- List<string>
- Updated
At string - Zone string
- Flexible
Ip stringId - Ip
Address string
- Created
At string - Description string
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Ipv6 bool - Organization
Id string - (Defaults to provider
organization_id
) The ID of the organization the IP is in. - Project
Id string - (Defaults to provider
project_id
) The ID of the project the IP is in. - Reverse string
- The reverse domain associated with this IP.
- Server
Id string - The associated server ID if any
- Status string
- []string
- Updated
At string - Zone string
- Flexible
Ip stringId - Ip
Address string
- created
At String - description String
- id String
- The provider-assigned unique ID for this managed resource.
- is
Ipv6 Boolean - organization
Id String - (Defaults to provider
organization_id
) The ID of the organization the IP is in. - project
Id String - (Defaults to provider
project_id
) The ID of the project the IP is in. - reverse String
- The reverse domain associated with this IP.
- server
Id String - The associated server ID if any
- status String
- List<String>
- updated
At String - zone String
- flexible
Ip StringId - ip
Address String
- created
At string - description string
- id string
- The provider-assigned unique ID for this managed resource.
- is
Ipv6 boolean - organization
Id string - (Defaults to provider
organization_id
) The ID of the organization the IP is in. - project
Id string - (Defaults to provider
project_id
) The ID of the project the IP is in. - reverse string
- The reverse domain associated with this IP.
- server
Id string - The associated server ID if any
- status string
- string[]
- updated
At string - zone string
- flexible
Ip stringId - ip
Address string
- created_
at str - description str
- id str
- The provider-assigned unique ID for this managed resource.
- is_
ipv6 bool - organization_
id str - (Defaults to provider
organization_id
) The ID of the organization the IP is in. - project_
id str - (Defaults to provider
project_id
) The ID of the project the IP is in. - reverse str
- The reverse domain associated with this IP.
- server_
id str - The associated server ID if any
- status str
- Sequence[str]
- updated_
at str - zone str
- flexible_
ip_ strid - ip_
address str
- created
At String - description String
- id String
- The provider-assigned unique ID for this managed resource.
- is
Ipv6 Boolean - organization
Id String - (Defaults to provider
organization_id
) The ID of the organization the IP is in. - project
Id String - (Defaults to provider
project_id
) The ID of the project the IP is in. - reverse String
- The reverse domain associated with this IP.
- server
Id String - The associated server ID if any
- status String
- List<String>
- updated
At String - zone String
- flexible
Ip StringId - ip
Address String
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scaleway
Terraform Provider.