1. Registry
  2. Packages
  3. Equinix
  4. API Docs
  5. fabric
  6. getIpBlocks
Viewing docs for Equinix v0.34.0
published on Tuesday, Nov 3, 2026 by Equinix
equinix logo Equinix
Viewing docs for Equinix v0.34.0
published on Tuesday, Nov 3, 2026 by Equinix

    Fabric V4 API compatible data resource that allows users to search for Equinix Fabric IP Blocks with pagination details.

    Additional Documentation:

    • API: https://docs.equinix.com/api-catalog/fabricv4/#tag/IP-Blocks

    Using getIpBlocks

    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 getIpBlocks(args: GetIpBlocksArgs, opts?: InvokeOptions): Promise<GetIpBlocksResult>
    function getIpBlocksOutput(args: GetIpBlocksOutputArgs, opts?: InvokeOutputOptions): Output<GetIpBlocksResult>
    def get_ip_blocks(filter: Optional[GetIpBlocksFilter] = None,
                      pagination: Optional[GetIpBlocksPagination] = None,
                      sort: Optional[GetIpBlocksSort] = None,
                      opts: Optional[InvokeOptions] = None) -> GetIpBlocksResult
    def get_ip_blocks_output(filter: pulumi.Input[Optional[GetIpBlocksFilterArgs]] = None,
                      pagination: pulumi.Input[Optional[GetIpBlocksPaginationArgs]] = None,
                      sort: pulumi.Input[Optional[GetIpBlocksSortArgs]] = None,
                      opts: Optional[InvokeOutputOptions] = None) -> Output[GetIpBlocksResult]
    func GetIpBlocks(ctx *Context, args *GetIpBlocksArgs, opts ...InvokeOption) (*GetIpBlocksResult, error)
    func GetIpBlocksOutput(ctx *Context, args *GetIpBlocksOutputArgs, opts ...InvokeOption) GetIpBlocksResultOutput

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

    public static class GetIpBlocks 
    {
        public static Task<GetIpBlocksResult> InvokeAsync(GetIpBlocksArgs args, InvokeOptions? opts = null)
        public static Output<GetIpBlocksResult> Invoke(GetIpBlocksInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetIpBlocksResult> Invoke(GetIpBlocksInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetIpBlocksResult> getIpBlocks(GetIpBlocksArgs args, InvokeOptions options)
    public static Output<GetIpBlocksResult> getIpBlocks(GetIpBlocksArgs args, InvokeOptions options)
    public static Output<GetIpBlocksResult> getIpBlocks(GetIpBlocksArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: equinix:fabric/getIpBlocks:getIpBlocks
      arguments:
        # arguments dictionary
    data "equinix_fabric_get_ip_blocks" "name" {
        # arguments
    }

    The following arguments are supported:

    Filter GetIpBlocksFilter
    Filters for the Data Source Search Request
    Pagination GetIpBlocksPagination
    Pagination details for the returned IP blocks list
    Sort GetIpBlocksSort
    Sort criteria for the Data Source Search Request
    Filter GetIpBlocksFilter
    Filters for the Data Source Search Request
    Pagination GetIpBlocksPagination
    Pagination details for the returned IP blocks list
    Sort GetIpBlocksSort
    Sort criteria for the Data Source Search Request
    filter object
    Filters for the Data Source Search Request
    pagination object
    Pagination details for the returned IP blocks list
    sort object
    Sort criteria for the Data Source Search Request
    filter GetIpBlocksFilter
    Filters for the Data Source Search Request
    pagination GetIpBlocksPagination
    Pagination details for the returned IP blocks list
    sort GetIpBlocksSort
    Sort criteria for the Data Source Search Request
    filter GetIpBlocksFilter
    Filters for the Data Source Search Request
    pagination GetIpBlocksPagination
    Pagination details for the returned IP blocks list
    sort GetIpBlocksSort
    Sort criteria for the Data Source Search Request
    filter GetIpBlocksFilter
    Filters for the Data Source Search Request
    pagination GetIpBlocksPagination
    Pagination details for the returned IP blocks list
    sort GetIpBlocksSort
    Sort criteria for the Data Source Search Request
    filter Property Map
    Filters for the Data Source Search Request
    pagination Property Map
    Pagination details for the returned IP blocks list
    sort Property Map
    Sort criteria for the Data Source Search Request

    getIpBlocks Result

    The following output properties are available:

    Datas List<GetIpBlocksData>
    Returned list of IP block objects
    Filter GetIpBlocksFilter
    Filters for the Data Source Search Request
    Id string
    The unique identifier of the resource
    Pagination GetIpBlocksPagination
    Pagination details for the returned IP blocks list
    Sort GetIpBlocksSort
    Sort criteria for the Data Source Search Request
    Datas []GetIpBlocksData
    Returned list of IP block objects
    Filter GetIpBlocksFilter
    Filters for the Data Source Search Request
    Id string
    The unique identifier of the resource
    Pagination GetIpBlocksPagination
    Pagination details for the returned IP blocks list
    Sort GetIpBlocksSort
    Sort criteria for the Data Source Search Request
    datas list(object)
    Returned list of IP block objects
    filter object
    Filters for the Data Source Search Request
    id string
    The unique identifier of the resource
    pagination object
    Pagination details for the returned IP blocks list
    sort object
    Sort criteria for the Data Source Search Request
    datas List<GetIpBlocksData>
    Returned list of IP block objects
    filter GetIpBlocksFilter
    Filters for the Data Source Search Request
    id String
    The unique identifier of the resource
    pagination GetIpBlocksPagination
    Pagination details for the returned IP blocks list
    sort GetIpBlocksSort
    Sort criteria for the Data Source Search Request
    datas GetIpBlocksData[]
    Returned list of IP block objects
    filter GetIpBlocksFilter
    Filters for the Data Source Search Request
    id string
    The unique identifier of the resource
    pagination GetIpBlocksPagination
    Pagination details for the returned IP blocks list
    sort GetIpBlocksSort
    Sort criteria for the Data Source Search Request
    datas Sequence[GetIpBlocksData]
    Returned list of IP block objects
    filter GetIpBlocksFilter
    Filters for the Data Source Search Request
    id str
    The unique identifier of the resource
    pagination GetIpBlocksPagination
    Pagination details for the returned IP blocks list
    sort GetIpBlocksSort
    Sort criteria for the Data Source Search Request
    datas List<Property Map>
    Returned list of IP block objects
    filter Property Map
    Filters for the Data Source Search Request
    id String
    The unique identifier of the resource
    pagination Property Map
    Pagination details for the returned IP blocks list
    sort Property Map
    Sort criteria for the Data Source Search Request

    Supporting Types

    GetIpBlocksData

    Account GetIpBlocksDataAccount
    Account associated with the IP block
    Assets List<GetIpBlocksDataAsset>
    List of assets (connections or services) using this IP block
    Change GetIpBlocksDataChange
    Current state of the latest change on the IP block
    ChangeLog GetIpBlocksDataChangeLog
    Audit log of changes to the IP block
    Href string
    Equinix auto generated URI to the IP block resource
    Location GetIpBlocksDataLocation
    Location of the IP block
    Order GetIpBlocksDataOrder
    Order details for the IP block
    Ownership string
    Ownership of the IP block. One of: EQUINIX, CUSTOMER
    Prefix string
    The assigned IP prefix (e.g. 192.0.2.0/24)
    PrefixLength int
    Prefix length of the IP block (e.g. 24 for a /24 block)
    Project GetIpBlocksDataProject
    Project associated with the IP block
    State string
    Provisioning state of the IP block
    Type string
    Type of the IP block product
    Uuid string
    Equinix-assigned unique identifier for the IP block
    Account GetIpBlocksDataAccount
    Account associated with the IP block
    Assets []GetIpBlocksDataAsset
    List of assets (connections or services) using this IP block
    Change GetIpBlocksDataChange
    Current state of the latest change on the IP block
    ChangeLog GetIpBlocksDataChangeLog
    Audit log of changes to the IP block
    Href string
    Equinix auto generated URI to the IP block resource
    Location GetIpBlocksDataLocation
    Location of the IP block
    Order GetIpBlocksDataOrder
    Order details for the IP block
    Ownership string
    Ownership of the IP block. One of: EQUINIX, CUSTOMER
    Prefix string
    The assigned IP prefix (e.g. 192.0.2.0/24)
    PrefixLength int
    Prefix length of the IP block (e.g. 24 for a /24 block)
    Project GetIpBlocksDataProject
    Project associated with the IP block
    State string
    Provisioning state of the IP block
    Type string
    Type of the IP block product
    Uuid string
    Equinix-assigned unique identifier for the IP block
    account object
    Account associated with the IP block
    assets list(object)
    List of assets (connections or services) using this IP block
    change object
    Current state of the latest change on the IP block
    change_log object
    Audit log of changes to the IP block
    href string
    Equinix auto generated URI to the IP block resource
    location object
    Location of the IP block
    order object
    Order details for the IP block
    ownership string
    Ownership of the IP block. One of: EQUINIX, CUSTOMER
    prefix string
    The assigned IP prefix (e.g. 192.0.2.0/24)
    prefix_length number
    Prefix length of the IP block (e.g. 24 for a /24 block)
    project object
    Project associated with the IP block
    state string
    Provisioning state of the IP block
    type string
    Type of the IP block product
    uuid string
    Equinix-assigned unique identifier for the IP block
    account GetIpBlocksDataAccount
    Account associated with the IP block
    assets List<GetIpBlocksDataAsset>
    List of assets (connections or services) using this IP block
    change GetIpBlocksDataChange
    Current state of the latest change on the IP block
    changeLog GetIpBlocksDataChangeLog
    Audit log of changes to the IP block
    href String
    Equinix auto generated URI to the IP block resource
    location GetIpBlocksDataLocation
    Location of the IP block
    order GetIpBlocksDataOrder
    Order details for the IP block
    ownership String
    Ownership of the IP block. One of: EQUINIX, CUSTOMER
    prefix String
    The assigned IP prefix (e.g. 192.0.2.0/24)
    prefixLength Integer
    Prefix length of the IP block (e.g. 24 for a /24 block)
    project GetIpBlocksDataProject
    Project associated with the IP block
    state String
    Provisioning state of the IP block
    type String
    Type of the IP block product
    uuid String
    Equinix-assigned unique identifier for the IP block
    account GetIpBlocksDataAccount
    Account associated with the IP block
    assets GetIpBlocksDataAsset[]
    List of assets (connections or services) using this IP block
    change GetIpBlocksDataChange
    Current state of the latest change on the IP block
    changeLog GetIpBlocksDataChangeLog
    Audit log of changes to the IP block
    href string
    Equinix auto generated URI to the IP block resource
    location GetIpBlocksDataLocation
    Location of the IP block
    order GetIpBlocksDataOrder
    Order details for the IP block
    ownership string
    Ownership of the IP block. One of: EQUINIX, CUSTOMER
    prefix string
    The assigned IP prefix (e.g. 192.0.2.0/24)
    prefixLength number
    Prefix length of the IP block (e.g. 24 for a /24 block)
    project GetIpBlocksDataProject
    Project associated with the IP block
    state string
    Provisioning state of the IP block
    type string
    Type of the IP block product
    uuid string
    Equinix-assigned unique identifier for the IP block
    account GetIpBlocksDataAccount
    Account associated with the IP block
    assets Sequence[GetIpBlocksDataAsset]
    List of assets (connections or services) using this IP block
    change GetIpBlocksDataChange
    Current state of the latest change on the IP block
    change_log GetIpBlocksDataChangeLog
    Audit log of changes to the IP block
    href str
    Equinix auto generated URI to the IP block resource
    location GetIpBlocksDataLocation
    Location of the IP block
    order GetIpBlocksDataOrder
    Order details for the IP block
    ownership str
    Ownership of the IP block. One of: EQUINIX, CUSTOMER
    prefix str
    The assigned IP prefix (e.g. 192.0.2.0/24)
    prefix_length int
    Prefix length of the IP block (e.g. 24 for a /24 block)
    project GetIpBlocksDataProject
    Project associated with the IP block
    state str
    Provisioning state of the IP block
    type str
    Type of the IP block product
    uuid str
    Equinix-assigned unique identifier for the IP block
    account Property Map
    Account associated with the IP block
    assets List<Property Map>
    List of assets (connections or services) using this IP block
    change Property Map
    Current state of the latest change on the IP block
    changeLog Property Map
    Audit log of changes to the IP block
    href String
    Equinix auto generated URI to the IP block resource
    location Property Map
    Location of the IP block
    order Property Map
    Order details for the IP block
    ownership String
    Ownership of the IP block. One of: EQUINIX, CUSTOMER
    prefix String
    The assigned IP prefix (e.g. 192.0.2.0/24)
    prefixLength Number
    Prefix length of the IP block (e.g. 24 for a /24 block)
    project Property Map
    Project associated with the IP block
    state String
    Provisioning state of the IP block
    type String
    Type of the IP block product
    uuid String
    Equinix-assigned unique identifier for the IP block

    GetIpBlocksDataAccount

    AccountNumber string
    Account number
    AccountNumber string
    Account number
    account_number string
    Account number
    accountNumber String
    Account number
    accountNumber string
    Account number
    account_number str
    Account number
    accountNumber String
    Account number

    GetIpBlocksDataAsset

    Href string
    URI to the asset resource
    Type string
    Type of the asset
    Uuid string
    Unique identifier of the asset
    Href string
    URI to the asset resource
    Type string
    Type of the asset
    Uuid string
    Unique identifier of the asset
    href string
    URI to the asset resource
    type string
    Type of the asset
    uuid string
    Unique identifier of the asset
    href String
    URI to the asset resource
    type String
    Type of the asset
    uuid String
    Unique identifier of the asset
    href string
    URI to the asset resource
    type string
    Type of the asset
    uuid string
    Unique identifier of the asset
    href str
    URI to the asset resource
    type str
    Type of the asset
    uuid str
    Unique identifier of the asset
    href String
    URI to the asset resource
    type String
    Type of the asset
    uuid String
    Unique identifier of the asset

    GetIpBlocksDataChange

    Href string
    URI to the change resource
    Href string
    URI to the change resource
    href string
    URI to the change resource
    href String
    URI to the change resource
    href string
    URI to the change resource
    href str
    URI to the change resource
    href String
    URI to the change resource

    GetIpBlocksDataChangeLog

    CreatedDateTime string
    Creation time of the IP block
    DeletedDateTime string
    Deletion time of the IP block
    UpdatedDateTime string
    Last update time of the IP block
    CreatedDateTime string
    Creation time of the IP block
    DeletedDateTime string
    Deletion time of the IP block
    UpdatedDateTime string
    Last update time of the IP block
    created_date_time string
    Creation time of the IP block
    deleted_date_time string
    Deletion time of the IP block
    updated_date_time string
    Last update time of the IP block
    createdDateTime String
    Creation time of the IP block
    deletedDateTime String
    Deletion time of the IP block
    updatedDateTime String
    Last update time of the IP block
    createdDateTime string
    Creation time of the IP block
    deletedDateTime string
    Deletion time of the IP block
    updatedDateTime string
    Last update time of the IP block
    created_date_time str
    Creation time of the IP block
    deleted_date_time str
    Deletion time of the IP block
    updated_date_time str
    Last update time of the IP block
    createdDateTime String
    Creation time of the IP block
    deletedDateTime String
    Deletion time of the IP block
    updatedDateTime String
    Last update time of the IP block

    GetIpBlocksDataLocation

    MetroCode string
    Two-letter metro code
    MetroHref string
    URI to the metro resource
    MetroCode string
    Two-letter metro code
    MetroHref string
    URI to the metro resource
    metro_code string
    Two-letter metro code
    metro_href string
    URI to the metro resource
    metroCode String
    Two-letter metro code
    metroHref String
    URI to the metro resource
    metroCode string
    Two-letter metro code
    metroHref string
    URI to the metro resource
    metro_code str
    Two-letter metro code
    metro_href str
    URI to the metro resource
    metroCode String
    Two-letter metro code
    metroHref String
    URI to the metro resource

    GetIpBlocksDataOrder

    Href string
    URI to the order resource
    OrderNumber string
    Order number
    Href string
    URI to the order resource
    OrderNumber string
    Order number
    href string
    URI to the order resource
    order_number string
    Order number
    href String
    URI to the order resource
    orderNumber String
    Order number
    href string
    URI to the order resource
    orderNumber string
    Order number
    href str
    URI to the order resource
    order_number str
    Order number
    href String
    URI to the order resource
    orderNumber String
    Order number

    GetIpBlocksDataProject

    Href string
    URI to the project resource
    ProjectId string
    Equinix subscriber-assigned project ID
    Href string
    URI to the project resource
    ProjectId string
    Equinix subscriber-assigned project ID
    href string
    URI to the project resource
    project_id string
    Equinix subscriber-assigned project ID
    href String
    URI to the project resource
    projectId String
    Equinix subscriber-assigned project ID
    href string
    URI to the project resource
    projectId string
    Equinix subscriber-assigned project ID
    href str
    URI to the project resource
    project_id str
    Equinix subscriber-assigned project ID
    href String
    URI to the project resource
    projectId String
    Equinix subscriber-assigned project ID

    GetIpBlocksFilter

    Operator string
    Operator to use on your filtered field with the values given. One of: [=, !=, >, >=, <, <=, IN, NOT IN, LIKE, NOT LIKE, IS NOT NULL, IS NULL]
    Property string
    Field name to use on filters
    Values List<string>
    The values that you want to apply the property+operator combination to in order to filter your data search
    Operator string
    Operator to use on your filtered field with the values given. One of: [=, !=, >, >=, <, <=, IN, NOT IN, LIKE, NOT LIKE, IS NOT NULL, IS NULL]
    Property string
    Field name to use on filters
    Values []string
    The values that you want to apply the property+operator combination to in order to filter your data search
    operator string
    Operator to use on your filtered field with the values given. One of: [=, !=, >, >=, <, <=, IN, NOT IN, LIKE, NOT LIKE, IS NOT NULL, IS NULL]
    property string
    Field name to use on filters
    values list(string)
    The values that you want to apply the property+operator combination to in order to filter your data search
    operator String
    Operator to use on your filtered field with the values given. One of: [=, !=, >, >=, <, <=, IN, NOT IN, LIKE, NOT LIKE, IS NOT NULL, IS NULL]
    property String
    Field name to use on filters
    values List<String>
    The values that you want to apply the property+operator combination to in order to filter your data search
    operator string
    Operator to use on your filtered field with the values given. One of: [=, !=, >, >=, <, <=, IN, NOT IN, LIKE, NOT LIKE, IS NOT NULL, IS NULL]
    property string
    Field name to use on filters
    values string[]
    The values that you want to apply the property+operator combination to in order to filter your data search
    operator str
    Operator to use on your filtered field with the values given. One of: [=, !=, >, >=, <, <=, IN, NOT IN, LIKE, NOT LIKE, IS NOT NULL, IS NULL]
    property str
    Field name to use on filters
    values Sequence[str]
    The values that you want to apply the property+operator combination to in order to filter your data search
    operator String
    Operator to use on your filtered field with the values given. One of: [=, !=, >, >=, <, <=, IN, NOT IN, LIKE, NOT LIKE, IS NOT NULL, IS NULL]
    property String
    Field name to use on filters
    values List<String>
    The values that you want to apply the property+operator combination to in order to filter your data search

    GetIpBlocksPagination

    Limit int
    Maximum number of search results returned per page. Number must be between 1 and 100, and the default is 20
    Next string
    The URL relative to the next item in the response
    Offset int
    Index of the first item returned in the response. The default is 0
    Previous string
    The URL relative to the previous item in the response
    Total int
    The total number of IP blocks available to the user making the request
    Limit int
    Maximum number of search results returned per page. Number must be between 1 and 100, and the default is 20
    Next string
    The URL relative to the next item in the response
    Offset int
    Index of the first item returned in the response. The default is 0
    Previous string
    The URL relative to the previous item in the response
    Total int
    The total number of IP blocks available to the user making the request
    limit number
    Maximum number of search results returned per page. Number must be between 1 and 100, and the default is 20
    next string
    The URL relative to the next item in the response
    offset number
    Index of the first item returned in the response. The default is 0
    previous string
    The URL relative to the previous item in the response
    total number
    The total number of IP blocks available to the user making the request
    limit Integer
    Maximum number of search results returned per page. Number must be between 1 and 100, and the default is 20
    next String
    The URL relative to the next item in the response
    offset Integer
    Index of the first item returned in the response. The default is 0
    previous String
    The URL relative to the previous item in the response
    total Integer
    The total number of IP blocks available to the user making the request
    limit number
    Maximum number of search results returned per page. Number must be between 1 and 100, and the default is 20
    next string
    The URL relative to the next item in the response
    offset number
    Index of the first item returned in the response. The default is 0
    previous string
    The URL relative to the previous item in the response
    total number
    The total number of IP blocks available to the user making the request
    limit int
    Maximum number of search results returned per page. Number must be between 1 and 100, and the default is 20
    next str
    The URL relative to the next item in the response
    offset int
    Index of the first item returned in the response. The default is 0
    previous str
    The URL relative to the previous item in the response
    total int
    The total number of IP blocks available to the user making the request
    limit Number
    Maximum number of search results returned per page. Number must be between 1 and 100, and the default is 20
    next String
    The URL relative to the next item in the response
    offset Number
    Index of the first item returned in the response. The default is 0
    previous String
    The URL relative to the previous item in the response
    total Number
    The total number of IP blocks available to the user making the request

    GetIpBlocksSort

    Direction string
    The sorting direction. Can be one of: [DESC, ASC], Defaults to DESC
    Property string
    The property name to use in sorting. One of "/uuid" "/state" "/prefixLength" "/changeLog/createdDateTime" "/changeLog/updatedDateTime". Defaults to "/changeLog/updatedDateTime"
    Direction string
    The sorting direction. Can be one of: [DESC, ASC], Defaults to DESC
    Property string
    The property name to use in sorting. One of "/uuid" "/state" "/prefixLength" "/changeLog/createdDateTime" "/changeLog/updatedDateTime". Defaults to "/changeLog/updatedDateTime"
    direction string
    The sorting direction. Can be one of: [DESC, ASC], Defaults to DESC
    property string
    The property name to use in sorting. One of "/uuid" "/state" "/prefixLength" "/changeLog/createdDateTime" "/changeLog/updatedDateTime". Defaults to "/changeLog/updatedDateTime"
    direction String
    The sorting direction. Can be one of: [DESC, ASC], Defaults to DESC
    property String
    The property name to use in sorting. One of "/uuid" "/state" "/prefixLength" "/changeLog/createdDateTime" "/changeLog/updatedDateTime". Defaults to "/changeLog/updatedDateTime"
    direction string
    The sorting direction. Can be one of: [DESC, ASC], Defaults to DESC
    property string
    The property name to use in sorting. One of "/uuid" "/state" "/prefixLength" "/changeLog/createdDateTime" "/changeLog/updatedDateTime". Defaults to "/changeLog/updatedDateTime"
    direction str
    The sorting direction. Can be one of: [DESC, ASC], Defaults to DESC
    property str
    The property name to use in sorting. One of "/uuid" "/state" "/prefixLength" "/changeLog/createdDateTime" "/changeLog/updatedDateTime". Defaults to "/changeLog/updatedDateTime"
    direction String
    The sorting direction. Can be one of: [DESC, ASC], Defaults to DESC
    property String
    The property name to use in sorting. One of "/uuid" "/state" "/prefixLength" "/changeLog/createdDateTime" "/changeLog/updatedDateTime". Defaults to "/changeLog/updatedDateTime"

    Package Details

    Repository
    equinix equinix/pulumi-equinix
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the equinix Terraform Provider.
    equinix logo Equinix
    Viewing docs for Equinix v0.34.0
    published on Tuesday, Nov 3, 2026 by Equinix

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial