1. Registry
  2. Packages
  3. stackit
  4. API Docs
  5. getVpcNetworkRange
Viewing docs for stackit v0.0.7
published on Monday, Aug 17, 2026 by stackitcloud
stackit logo
Viewing docs for stackit v0.0.7
published on Monday, Aug 17, 2026 by stackitcloud

    VPC network range datasource schema

    This datasource is part of the experimental feature vpc and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion.

    Example Usage

    data "stackit_vpc_network_range" "example" {
      project_id       = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      vpc_id           = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      network_range_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    }
    

    Using getVpcNetworkRange

    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 getVpcNetworkRange(args: GetVpcNetworkRangeArgs, opts?: InvokeOptions): Promise<GetVpcNetworkRangeResult>
    function getVpcNetworkRangeOutput(args: GetVpcNetworkRangeOutputArgs, opts?: InvokeOutputOptions): Output<GetVpcNetworkRangeResult>
    def get_vpc_network_range(network_range_id: Optional[str] = None,
                              project_id: Optional[str] = None,
                              region: Optional[str] = None,
                              timeouts: Optional[GetVpcNetworkRangeTimeouts] = None,
                              vpc_id: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetVpcNetworkRangeResult
    def get_vpc_network_range_output(network_range_id: pulumi.Input[Optional[str]] = None,
                              project_id: pulumi.Input[Optional[str]] = None,
                              region: pulumi.Input[Optional[str]] = None,
                              timeouts: pulumi.Input[Optional[GetVpcNetworkRangeTimeoutsArgs]] = None,
                              vpc_id: pulumi.Input[Optional[str]] = None,
                              opts: Optional[InvokeOutputOptions] = None) -> Output[GetVpcNetworkRangeResult]
    func LookupVpcNetworkRange(ctx *Context, args *LookupVpcNetworkRangeArgs, opts ...InvokeOption) (*LookupVpcNetworkRangeResult, error)
    func LookupVpcNetworkRangeOutput(ctx *Context, args *LookupVpcNetworkRangeOutputArgs, opts ...InvokeOption) LookupVpcNetworkRangeResultOutput

    > Note: This function is named LookupVpcNetworkRange in the Go SDK.

    public static class GetVpcNetworkRange 
    {
        public static Task<GetVpcNetworkRangeResult> InvokeAsync(GetVpcNetworkRangeArgs args, InvokeOptions? opts = null)
        public static Output<GetVpcNetworkRangeResult> Invoke(GetVpcNetworkRangeInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetVpcNetworkRangeResult> Invoke(GetVpcNetworkRangeInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetVpcNetworkRangeResult> getVpcNetworkRange(GetVpcNetworkRangeArgs args, InvokeOptions options)
    public static Output<GetVpcNetworkRangeResult> getVpcNetworkRange(GetVpcNetworkRangeArgs args, InvokeOptions options)
    public static Output<GetVpcNetworkRangeResult> getVpcNetworkRange(GetVpcNetworkRangeArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: stackit:index/getVpcNetworkRange:getVpcNetworkRange
      arguments:
        # arguments dictionary
    data "stackit_get_vpc_network_range" "name" {
        # arguments
    }

    The following arguments are supported:

    NetworkRangeId string
    ProjectId string
    STACKIT project ID to which the VPC network range is associated.
    VpcId string
    The VPC ID to which the VPC network range is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    Timeouts GetVpcNetworkRangeTimeouts
    NetworkRangeId string
    ProjectId string
    STACKIT project ID to which the VPC network range is associated.
    VpcId string
    The VPC ID to which the VPC network range is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    Timeouts GetVpcNetworkRangeTimeouts
    network_range_id string
    project_id string
    STACKIT project ID to which the VPC network range is associated.
    vpc_id string
    The VPC ID to which the VPC network range is associated.
    region string
    The resource region. If not defined, the provider region is used.
    timeouts object
    networkRangeId String
    projectId String
    STACKIT project ID to which the VPC network range is associated.
    vpcId String
    The VPC ID to which the VPC network range is associated.
    region String
    The resource region. If not defined, the provider region is used.
    timeouts GetVpcNetworkRangeTimeouts
    networkRangeId string
    projectId string
    STACKIT project ID to which the VPC network range is associated.
    vpcId string
    The VPC ID to which the VPC network range is associated.
    region string
    The resource region. If not defined, the provider region is used.
    timeouts GetVpcNetworkRangeTimeouts
    network_range_id str
    project_id str
    STACKIT project ID to which the VPC network range is associated.
    vpc_id str
    The VPC ID to which the VPC network range is associated.
    region str
    The resource region. If not defined, the provider region is used.
    timeouts GetVpcNetworkRangeTimeouts
    networkRangeId String
    projectId String
    STACKIT project ID to which the VPC network range is associated.
    vpcId String
    The VPC ID to which the VPC network range is associated.
    region String
    The resource region. If not defined, the provider region is used.
    timeouts Property Map

    getVpcNetworkRange Result

    The following output properties are available:

    DefaultPrefixLength int
    Default prefix length for the VPC network range
    Description string
    Description of the VPC network range
    Id string
    Terraform's internal resource identifier. It is structured as "projectId,vpcId,region,networkRangeId".
    IpVersion string
    IP version of the VPC network range. Possible values are: ipv4.
    Labels Dictionary<string, string>
    Labels are key-value string pairs which can be attached to a resource container
    MaxPrefixLength int
    Maximum prefix length for the VPC network range
    MinPrefixLength int
    Minimum prefix length for the VPC network range
    Nameservers List<string>
    List of nameservers for the VPC network range
    NetworkRangeId string
    Prefix string
    The IP prefix for the VPC network range
    ProjectId string
    STACKIT project ID to which the VPC network range is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    VpcId string
    The VPC ID to which the VPC network range is associated.
    Timeouts GetVpcNetworkRangeTimeouts
    DefaultPrefixLength int
    Default prefix length for the VPC network range
    Description string
    Description of the VPC network range
    Id string
    Terraform's internal resource identifier. It is structured as "projectId,vpcId,region,networkRangeId".
    IpVersion string
    IP version of the VPC network range. Possible values are: ipv4.
    Labels map[string]string
    Labels are key-value string pairs which can be attached to a resource container
    MaxPrefixLength int
    Maximum prefix length for the VPC network range
    MinPrefixLength int
    Minimum prefix length for the VPC network range
    Nameservers []string
    List of nameservers for the VPC network range
    NetworkRangeId string
    Prefix string
    The IP prefix for the VPC network range
    ProjectId string
    STACKIT project ID to which the VPC network range is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    VpcId string
    The VPC ID to which the VPC network range is associated.
    Timeouts GetVpcNetworkRangeTimeouts
    default_prefix_length number
    Default prefix length for the VPC network range
    description string
    Description of the VPC network range
    id string
    Terraform's internal resource identifier. It is structured as "projectId,vpcId,region,networkRangeId".
    ip_version string
    IP version of the VPC network range. Possible values are: ipv4.
    labels map(string)
    Labels are key-value string pairs which can be attached to a resource container
    max_prefix_length number
    Maximum prefix length for the VPC network range
    min_prefix_length number
    Minimum prefix length for the VPC network range
    nameservers list(string)
    List of nameservers for the VPC network range
    network_range_id string
    prefix string
    The IP prefix for the VPC network range
    project_id string
    STACKIT project ID to which the VPC network range is associated.
    region string
    The resource region. If not defined, the provider region is used.
    vpc_id string
    The VPC ID to which the VPC network range is associated.
    timeouts object
    defaultPrefixLength Integer
    Default prefix length for the VPC network range
    description String
    Description of the VPC network range
    id String
    Terraform's internal resource identifier. It is structured as "projectId,vpcId,region,networkRangeId".
    ipVersion String
    IP version of the VPC network range. Possible values are: ipv4.
    labels Map<String,String>
    Labels are key-value string pairs which can be attached to a resource container
    maxPrefixLength Integer
    Maximum prefix length for the VPC network range
    minPrefixLength Integer
    Minimum prefix length for the VPC network range
    nameservers List<String>
    List of nameservers for the VPC network range
    networkRangeId String
    prefix String
    The IP prefix for the VPC network range
    projectId String
    STACKIT project ID to which the VPC network range is associated.
    region String
    The resource region. If not defined, the provider region is used.
    vpcId String
    The VPC ID to which the VPC network range is associated.
    timeouts GetVpcNetworkRangeTimeouts
    defaultPrefixLength number
    Default prefix length for the VPC network range
    description string
    Description of the VPC network range
    id string
    Terraform's internal resource identifier. It is structured as "projectId,vpcId,region,networkRangeId".
    ipVersion string
    IP version of the VPC network range. Possible values are: ipv4.
    labels {[key: string]: string}
    Labels are key-value string pairs which can be attached to a resource container
    maxPrefixLength number
    Maximum prefix length for the VPC network range
    minPrefixLength number
    Minimum prefix length for the VPC network range
    nameservers string[]
    List of nameservers for the VPC network range
    networkRangeId string
    prefix string
    The IP prefix for the VPC network range
    projectId string
    STACKIT project ID to which the VPC network range is associated.
    region string
    The resource region. If not defined, the provider region is used.
    vpcId string
    The VPC ID to which the VPC network range is associated.
    timeouts GetVpcNetworkRangeTimeouts
    default_prefix_length int
    Default prefix length for the VPC network range
    description str
    Description of the VPC network range
    id str
    Terraform's internal resource identifier. It is structured as "projectId,vpcId,region,networkRangeId".
    ip_version str
    IP version of the VPC network range. Possible values are: ipv4.
    labels Mapping[str, str]
    Labels are key-value string pairs which can be attached to a resource container
    max_prefix_length int
    Maximum prefix length for the VPC network range
    min_prefix_length int
    Minimum prefix length for the VPC network range
    nameservers Sequence[str]
    List of nameservers for the VPC network range
    network_range_id str
    prefix str
    The IP prefix for the VPC network range
    project_id str
    STACKIT project ID to which the VPC network range is associated.
    region str
    The resource region. If not defined, the provider region is used.
    vpc_id str
    The VPC ID to which the VPC network range is associated.
    timeouts GetVpcNetworkRangeTimeouts
    defaultPrefixLength Number
    Default prefix length for the VPC network range
    description String
    Description of the VPC network range
    id String
    Terraform's internal resource identifier. It is structured as "projectId,vpcId,region,networkRangeId".
    ipVersion String
    IP version of the VPC network range. Possible values are: ipv4.
    labels Map<String>
    Labels are key-value string pairs which can be attached to a resource container
    maxPrefixLength Number
    Maximum prefix length for the VPC network range
    minPrefixLength Number
    Minimum prefix length for the VPC network range
    nameservers List<String>
    List of nameservers for the VPC network range
    networkRangeId String
    prefix String
    The IP prefix for the VPC network range
    projectId String
    STACKIT project ID to which the VPC network range is associated.
    region String
    The resource region. If not defined, the provider region is used.
    vpcId String
    The VPC ID to which the VPC network range is associated.
    timeouts Property Map

    Supporting Types

    GetVpcNetworkRangeTimeouts

    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    read str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

    Package Details

    Repository
    stackit stackitcloud/pulumi-stackit
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the stackit Terraform Provider.
    stackit logo
    Viewing docs for stackit v0.0.7
    published on Monday, Aug 17, 2026 by stackitcloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial