Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse
scaleway.getInstanceIp
Explore with Pulumi AI
Gets information about an instance IP.
Using getInstanceIp
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 getInstanceIp(args: GetInstanceIpArgs, opts?: InvokeOptions): Promise<GetInstanceIpResult>
function getInstanceIpOutput(args: GetInstanceIpOutputArgs, opts?: InvokeOptions): Output<GetInstanceIpResult>
def get_instance_ip(address: Optional[str] = None,
id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInstanceIpResult
def get_instance_ip_output(address: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInstanceIpResult]
func LookupInstanceIp(ctx *Context, args *LookupInstanceIpArgs, opts ...InvokeOption) (*LookupInstanceIpResult, error)
func LookupInstanceIpOutput(ctx *Context, args *LookupInstanceIpOutputArgs, opts ...InvokeOption) LookupInstanceIpResultOutput
> Note: This function is named LookupInstanceIp
in the Go SDK.
public static class GetInstanceIp
{
public static Task<GetInstanceIpResult> InvokeAsync(GetInstanceIpArgs args, InvokeOptions? opts = null)
public static Output<GetInstanceIpResult> Invoke(GetInstanceIpInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInstanceIpResult> getInstanceIp(GetInstanceIpArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: scaleway:index/getInstanceIp:getInstanceIp
arguments:
# arguments dictionary
The following arguments are supported:
getInstanceIp Result
The following output properties are available:
- organization_
id str - The organization ID the IP is associated with.
- prefix str
- The IP Prefix.
- project_
id str - reverse str
- The reverse dns attached to this IP
- server_
id str - Sequence[str]
- type str
- The type of the IP
- zone str
- address str
- The IP address.
- id str
- The ID of the IP.
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scaleway
Terraform Provider.