stackit v0.0.4 published on Friday, Feb 20, 2026 by stackitcloud
stackit v0.0.4 published on Friday, Feb 20, 2026 by stackitcloud
Public IP resource schema. Must have a region specified in the provider configuration.
Example Usage
data "stackit_public_ip" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
public_ip_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
Using getPublicIp
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 getPublicIp(args: GetPublicIpArgs, opts?: InvokeOptions): Promise<GetPublicIpResult>
function getPublicIpOutput(args: GetPublicIpOutputArgs, opts?: InvokeOptions): Output<GetPublicIpResult>def get_public_ip(project_id: Optional[str] = None,
public_ip_id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPublicIpResult
def get_public_ip_output(project_id: Optional[pulumi.Input[str]] = None,
public_ip_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPublicIpResult]func LookupPublicIp(ctx *Context, args *LookupPublicIpArgs, opts ...InvokeOption) (*LookupPublicIpResult, error)
func LookupPublicIpOutput(ctx *Context, args *LookupPublicIpOutputArgs, opts ...InvokeOption) LookupPublicIpResultOutput> Note: This function is named LookupPublicIp in the Go SDK.
public static class GetPublicIp
{
public static Task<GetPublicIpResult> InvokeAsync(GetPublicIpArgs args, InvokeOptions? opts = null)
public static Output<GetPublicIpResult> Invoke(GetPublicIpInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPublicIpResult> getPublicIp(GetPublicIpArgs args, InvokeOptions options)
public static Output<GetPublicIpResult> getPublicIp(GetPublicIpArgs args, InvokeOptions options)
fn::invoke:
function: stackit:index/getPublicIp:getPublicIp
arguments:
# arguments dictionaryThe following arguments are supported:
- Project
Id string - STACKIT project ID to which the public IP is associated.
- Public
Ip stringId - The public IP ID.
- Region string
- The resource region. If not defined, the provider region is used.
- Project
Id string - STACKIT project ID to which the public IP is associated.
- Public
Ip stringId - The public IP ID.
- Region string
- The resource region. If not defined, the provider region is used.
- project
Id String - STACKIT project ID to which the public IP is associated.
- public
Ip StringId - The public IP ID.
- region String
- The resource region. If not defined, the provider region is used.
- project
Id string - STACKIT project ID to which the public IP is associated.
- public
Ip stringId - The public IP ID.
- region string
- The resource region. If not defined, the provider region is used.
- project_
id str - STACKIT project ID to which the public IP is associated.
- public_
ip_ strid - The public IP ID.
- region str
- The resource region. If not defined, the provider region is used.
- project
Id String - STACKIT project ID to which the public IP is associated.
- public
Ip StringId - The public IP ID.
- region String
- The resource region. If not defined, the provider region is used.
getPublicIp Result
The following output properties are available:
- Id string
- Ip string
- The IP address.
- Labels Dictionary<string, string>
- Labels are key-value string pairs which can be attached to a resource container
- Network
Interface stringId - Associates the public IP with a network interface or a virtual IP (ID).
- Project
Id string - STACKIT project ID to which the public IP is associated.
- Public
Ip stringId - The public IP ID.
- Region string
- The resource region. If not defined, the provider region is used.
- Id string
- Ip string
- The IP address.
- Labels map[string]string
- Labels are key-value string pairs which can be attached to a resource container
- Network
Interface stringId - Associates the public IP with a network interface or a virtual IP (ID).
- Project
Id string - STACKIT project ID to which the public IP is associated.
- Public
Ip stringId - The public IP ID.
- Region string
- The resource region. If not defined, the provider region is used.
- id String
- ip String
- The IP address.
- labels Map<String,String>
- Labels are key-value string pairs which can be attached to a resource container
- network
Interface StringId - Associates the public IP with a network interface or a virtual IP (ID).
- project
Id String - STACKIT project ID to which the public IP is associated.
- public
Ip StringId - The public IP ID.
- region String
- The resource region. If not defined, the provider region is used.
- id string
- ip string
- The IP address.
- labels {[key: string]: string}
- Labels are key-value string pairs which can be attached to a resource container
- network
Interface stringId - Associates the public IP with a network interface or a virtual IP (ID).
- project
Id string - STACKIT project ID to which the public IP is associated.
- public
Ip stringId - The public IP ID.
- region string
- The resource region. If not defined, the provider region is used.
- id str
- ip str
- The IP address.
- labels Mapping[str, str]
- Labels are key-value string pairs which can be attached to a resource container
- network_
interface_ strid - Associates the public IP with a network interface or a virtual IP (ID).
- project_
id str - STACKIT project ID to which the public IP is associated.
- public_
ip_ strid - The public IP ID.
- region str
- The resource region. If not defined, the provider region is used.
- id String
- ip String
- The IP address.
- labels Map<String>
- Labels are key-value string pairs which can be attached to a resource container
- network
Interface StringId - Associates the public IP with a network interface or a virtual IP (ID).
- project
Id String - STACKIT project ID to which the public IP is associated.
- public
Ip StringId - The public IP ID.
- region String
- The resource region. If not defined, the provider region is used.
Package Details
- Repository
- stackit stackitcloud/pulumi-stackit
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
stackitTerraform Provider.
stackit v0.0.4 published on Friday, Feb 20, 2026 by stackitcloud
