1. Packages
  2. Scaleway
  3. API Docs
  4. getFlexibleIp
Scaleway v1.10.0 published on Saturday, Jul 1, 2023 by lbrlabs

scaleway.getFlexibleIp

Explore with Pulumi AI

scaleway logo
Scaleway v1.10.0 published on Saturday, Jul 1, 2023 by lbrlabs

    Gets information about a Flexible IP.

    Example Usage

    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());
    
        }
    }
    

    Coming soon!

    Coming soon!

    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:

    FlexibleIpId string
    IpAddress string

    The IP address. Only one of ip_address and ip_id should be specified.

    ProjectId string

    (Defaults to provider project_id) The ID of the project the IP is in.

    FlexibleIpId string
    IpAddress string

    The IP address. Only one of ip_address and ip_id should be specified.

    ProjectId string

    (Defaults to provider project_id) The ID of the project the IP is in.

    flexibleIpId String
    ipAddress String

    The IP address. Only one of ip_address and ip_id should be specified.

    projectId String

    (Defaults to provider project_id) The ID of the project the IP is in.

    flexibleIpId string
    ipAddress string

    The IP address. Only one of ip_address and ip_id should be specified.

    projectId string

    (Defaults to provider project_id) The ID of the project the IP is in.

    flexible_ip_id str
    ip_address str

    The IP address. Only one of ip_address and ip_id should be specified.

    project_id str

    (Defaults to provider project_id) The ID of the project the IP is in.

    flexibleIpId String
    ipAddress String

    The IP address. Only one of ip_address and ip_id should be specified.

    projectId String

    (Defaults to provider project_id) The ID of the project the IP is in.

    getFlexibleIp Result

    The following output properties are available:

    CreatedAt string
    Description string
    Id string

    The provider-assigned unique ID for this managed resource.

    MacAddress string
    OrganizationId string

    (Defaults to provider organization_id) The ID of the organization the IP is in.

    ProjectId string

    (Defaults to provider project_id) The ID of the project the IP is in.

    Reverse string

    The reverse domain associated with this IP.

    ServerId string

    The associated server ID if any

    Tags List<string>
    UpdatedAt string
    Zone string
    FlexibleIpId string
    IpAddress string
    CreatedAt string
    Description string
    Id string

    The provider-assigned unique ID for this managed resource.

    MacAddress string
    OrganizationId string

    (Defaults to provider organization_id) The ID of the organization the IP is in.

    ProjectId string

    (Defaults to provider project_id) The ID of the project the IP is in.

    Reverse string

    The reverse domain associated with this IP.

    ServerId string

    The associated server ID if any

    Tags []string
    UpdatedAt string
    Zone string
    FlexibleIpId string
    IpAddress string
    createdAt String
    description String
    id String

    The provider-assigned unique ID for this managed resource.

    macAddress String
    organizationId String

    (Defaults to provider organization_id) The ID of the organization the IP is in.

    projectId String

    (Defaults to provider project_id) The ID of the project the IP is in.

    reverse String

    The reverse domain associated with this IP.

    serverId String

    The associated server ID if any

    tags List<String>
    updatedAt String
    zone String
    flexibleIpId String
    ipAddress String
    createdAt string
    description string
    id string

    The provider-assigned unique ID for this managed resource.

    macAddress string
    organizationId string

    (Defaults to provider organization_id) The ID of the organization the IP is in.

    projectId string

    (Defaults to provider project_id) The ID of the project the IP is in.

    reverse string

    The reverse domain associated with this IP.

    serverId string

    The associated server ID if any

    tags string[]
    updatedAt string
    zone string
    flexibleIpId string
    ipAddress string
    created_at str
    description str
    id str

    The provider-assigned unique ID for this managed resource.

    mac_address str
    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

    tags Sequence[str]
    updated_at str
    zone str
    flexible_ip_id str
    ip_address str
    createdAt String
    description String
    id String

    The provider-assigned unique ID for this managed resource.

    macAddress String
    organizationId String

    (Defaults to provider organization_id) The ID of the organization the IP is in.

    projectId String

    (Defaults to provider project_id) The ID of the project the IP is in.

    reverse String

    The reverse domain associated with this IP.

    serverId String

    The associated server ID if any

    tags List<String>
    updatedAt String
    zone String
    flexibleIpId String
    ipAddress String

    Package Details

    Repository
    scaleway lbrlabs/pulumi-scaleway
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the scaleway Terraform Provider.

    scaleway logo
    Scaleway v1.10.0 published on Saturday, Jul 1, 2023 by lbrlabs